ypesk commited on
Commit
278fbfb
·
verified ·
1 Parent(s): 784881e

Update tasks/text.py

Browse files
Files changed (1) hide show
  1. 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 data_test]
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