nicholasKluge
commited on
Commit
•
24d747c
1
Parent(s):
2892ac1
Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,7 @@ from sklearn.feature_extraction.text import TfidfVectorizer
|
|
8 |
from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModelForSequenceClassification
|
9 |
|
10 |
# download the instruct-aira-dataset
|
11 |
-
|
12 |
-
dataset = load_dataset("parquet", data_files="instruct-aira-dataset.parquet")
|
13 |
|
14 |
# convert the dataset to a pandas dataframe
|
15 |
df = dataset['train'].to_pandas()
|
|
|
8 |
from transformers import AutoTokenizer, AutoModelForCausalLM, AutoModelForSequenceClassification
|
9 |
|
10 |
# download the instruct-aira-dataset
|
11 |
+
dataset = load_dataset("nicholasKluge/instruct-aira-dataset", split='portuguese')
|
|
|
12 |
|
13 |
# convert the dataset to a pandas dataframe
|
14 |
df = dataset['train'].to_pandas()
|