earlsab
commited on
Commit
路
2d6f3d7
1
Parent(s):
cd1f8e3
Add path
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -11,7 +11,7 @@ class EndpointHandler():
|
|
| 11 |
|
| 12 |
|
| 13 |
# Load the fine-tuned model
|
| 14 |
-
self.date_model_path = "
|
| 15 |
self.date_tokenizer = AutoTokenizer.from_pretrained(self.date_model_path)
|
| 16 |
self.date_model = AutoModelForQuestionAnswering.from_pretrained(self.date_model_path)
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
# Load the fine-tuned model
|
| 14 |
+
self.date_model_path = path + "/deberta-qa-finetuned"
|
| 15 |
self.date_tokenizer = AutoTokenizer.from_pretrained(self.date_model_path)
|
| 16 |
self.date_model = AutoModelForQuestionAnswering.from_pretrained(self.date_model_path)
|
| 17 |
|