Spaces:
Runtime error
Runtime error
fix error
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ from keras import backend as K
|
|
12 |
import pandas as pd
|
13 |
from transformers import TFAutoModel, AutoTokenizer
|
14 |
from sklearn.model_selection import train_test_split
|
|
|
15 |
|
16 |
# load the tokenizer and transformer model
|
17 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-base",max_length=60) #xlm-roberta-base bert-base-multilingual-cased
|
|
|
12 |
import pandas as pd
|
13 |
from transformers import TFAutoModel, AutoTokenizer
|
14 |
from sklearn.model_selection import train_test_split
|
15 |
+
import json
|
16 |
|
17 |
# load the tokenizer and transformer model
|
18 |
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-base",max_length=60) #xlm-roberta-base bert-base-multilingual-cased
|