anasmkh commited on
Commit
c4c7ec5
·
verified ·
1 Parent(s): 06e8b05

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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 = "facebook/bart-base"
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)