Spaces:
Sleeping
Sleeping
Update tasks/text.py
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
@@ -88,7 +88,7 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
88 |
|
89 |
tokenizer = AutoTokenizer.from_pretrained('digitalepidemiologylab/covid-twitter-bert')
|
90 |
|
91 |
-
test_texts = [t['quote'] for t in
|
92 |
|
93 |
MAX_LEN = 256 #1024 # < m some tweets will be truncated
|
94 |
|
|
|
88 |
|
89 |
tokenizer = AutoTokenizer.from_pretrained('digitalepidemiologylab/covid-twitter-bert')
|
90 |
|
91 |
+
test_texts = [t['quote'] for t in test_dataset]
|
92 |
|
93 |
MAX_LEN = 256 #1024 # < m some tweets will be truncated
|
94 |
|