han7ter commited on
Commit
13b9d86
·
1 Parent(s): 419a888

too much roooooooows

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ model_name = "cointegrated/rubert-tiny2"
15
  # Login using e.g. `huggingface-cli login` to access this dataset
16
  splits = {'train': 'train.json', 'test': 'test.json'}
17
  df = pd.read_json("hf://datasets/Den4ikAI/gibberish_dataset/" + splits["train"])
18
- df.head(500)
19
 
20
  # Конвертируем датафрейм в Dataset
21
  train, test = train_test_split(df, test_size=0.2)
 
15
  # Login using e.g. `huggingface-cli login` to access this dataset
16
  splits = {'train': 'train.json', 'test': 'test.json'}
17
  df = pd.read_json("hf://datasets/Den4ikAI/gibberish_dataset/" + splits["train"])
18
+ df = df.head(500)
19
 
20
  # Конвертируем датафрейм в Dataset
21
  train, test = train_test_split(df, test_size=0.2)