Spaces:
Running
Running
Commit
·
56cb4fc
1
Parent(s):
352ac27
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,9 @@ import pandas as pd
|
|
6 |
from tqdm import tqdm
|
7 |
|
8 |
from transformers import AutoTokenizer, AutoConfig, AutoModel, AutoModelForSequenceClassification
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
description_sentence = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotion in a sentence."
|
|
|
6 |
from tqdm import tqdm
|
7 |
|
8 |
from transformers import AutoTokenizer, AutoConfig, AutoModel, AutoModelForSequenceClassification
|
9 |
+
from transformers import TrainingArguments, Trainer
|
10 |
+
|
11 |
+
from datasets import load_dataset
|
12 |
|
13 |
|
14 |
description_sentence = "<h3>Demo EmotioNL</h3>\nThis demo allows you to analyse the emotion in a sentence."
|