AbdurRehman313
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from transformers import BartForConditionalGeneration, BartTokenizer
|
4 |
|
5 |
# Load the model and tokenizer
|
6 |
-
model_repo_path = '
|
7 |
model = BartForConditionalGeneration.from_pretrained(model_repo_path)
|
8 |
tokenizer = BartTokenizer.from_pretrained(model_repo_path)
|
9 |
|
|
|
3 |
from transformers import BartForConditionalGeneration, BartTokenizer
|
4 |
|
5 |
# Load the model and tokenizer
|
6 |
+
model_repo_path = 'AbdurRehman313/hotpotQA_BART_Finetuned_E5'
|
7 |
model = BartForConditionalGeneration.from_pretrained(model_repo_path)
|
8 |
tokenizer = BartTokenizer.from_pretrained(model_repo_path)
|
9 |
|