Spaces:
Running
Running
Commit
•
54eab3d
1
Parent(s):
2e9a321
Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,8 @@ output_mode = output_modes[task_name] # output type
|
|
50 |
label_list = processor.get_labels()
|
51 |
num_labels = len(label_list)
|
52 |
|
53 |
-
output_dir = f'./
|
54 |
-
data_dir = f'./
|
55 |
|
56 |
config_class, model_class, tokenizer_class = MODEL_CLASSES[model]
|
57 |
tokenizer = tokenizer_class.from_pretrained(output_dir, do_lower_case=True)
|
|
|
50 |
label_list = processor.get_labels()
|
51 |
num_labels = len(label_list)
|
52 |
|
53 |
+
output_dir = f'./outputs/train/{model}/{dataset}'
|
54 |
+
data_dir = f'./glue_data/{dataset}'
|
55 |
|
56 |
config_class, model_class, tokenizer_class = MODEL_CLASSES[model]
|
57 |
tokenizer = tokenizer_class.from_pretrained(output_dir, do_lower_case=True)
|