Spaces:
Runtime error
Runtime error
too much roooooooows
Browse files
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)
|