DeepVen commited on
Commit
500fc64
·
1 Parent(s): 484a648

Upload Index.py

Browse files
Files changed (1) hide show
  1. Index.py +2 -1
Index.py CHANGED
@@ -239,7 +239,8 @@ def rag(domain: str, question: str):
239
  #extractor = Extractor(embeddings, "google/flan-t5-base")
240
  #extractor = Extractor(embeddings, "TheBloke/Llama-2-7B-GGUF")
241
  print("before calling extractor")
242
- extractor = Extractor(embeddings, "distilbert-base-cased-distilled-squad")
 
243
  # llm = HuggingFaceHub(
244
  # repo_id="google/flan-t5-xxl",
245
  # model_kwargs={"temperature": 1, "max_length": 1000000},
 
239
  #extractor = Extractor(embeddings, "google/flan-t5-base")
240
  #extractor = Extractor(embeddings, "TheBloke/Llama-2-7B-GGUF")
241
  print("before calling extractor")
242
+ #extractor = Extractor(embeddings, "distilbert-base-cased-distilled-squad")
243
+ extractor = Extractor(embeddings, "google/flan-t5-base")
244
  # llm = HuggingFaceHub(
245
  # repo_id="google/flan-t5-xxl",
246
  # model_kwargs={"temperature": 1, "max_length": 1000000},