Update main.py
Browse files
main.py
CHANGED
@@ -26,7 +26,7 @@ huggingface_embeddings = HuggingFaceBgeEmbeddings(
|
|
26 |
vector = FAISS.from_documents(documents, huggingface_embeddings)
|
27 |
retriever = vector.as_retriever()
|
28 |
|
29 |
-
model_name = "
|
30 |
# model_name = "distilbert/distilbert-base-uncased"
|
31 |
|
32 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
26 |
vector = FAISS.from_documents(documents, huggingface_embeddings)
|
27 |
retriever = vector.as_retriever()
|
28 |
|
29 |
+
model_name = "aware-ai/bart-squadv2"
|
30 |
# model_name = "distilbert/distilbert-base-uncased"
|
31 |
|
32 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|