Spaces:
Sleeping
Sleeping
Update tasks/text.py
Browse files- tasks/text.py +1 -1
tasks/text.py
CHANGED
@@ -75,7 +75,7 @@ async def evaluate_text(request: TextEvaluationRequest):
|
|
75 |
model = CovidTwitterBertClassifier(8)
|
76 |
|
77 |
model.to(device)
|
78 |
-
model.load_state_dict(torch.load('
|
79 |
model.eval()
|
80 |
|
81 |
|
|
|
75 |
model = CovidTwitterBertClassifier(8)
|
76 |
|
77 |
model.to(device)
|
78 |
+
model.load_state_dict(torch.load('ypesk/ct_baseline/CTBert_128_e15_0.692.pth'))
|
79 |
model.eval()
|
80 |
|
81 |
|