kartikeyarana commited on
Commit
088e5aa
·
verified ·
1 Parent(s): 3118064

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -59,12 +59,12 @@ def main():
59
  docsearch = FAISS.from_documents(text_chunks, embeddings)
60
  docsearch.save_local(DB_FAISS_PATH)
61
 
62
- #llm = CTransformers(model="meta-llama/Llama-2-7b-chat-hf",
63
- # model_type="llama",
64
- # max_new_tokens=512,
65
- # temperature=0.1)
66
 
67
- llm = CTransformers(model="NexaAIDev/Octopus-v2")
68
 
69
  qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
70
 
 
59
  docsearch = FAISS.from_documents(text_chunks, embeddings)
60
  docsearch.save_local(DB_FAISS_PATH)
61
 
62
+ llm = CTransformers(model="meta-llama/Llama-2-7b-chat-hf",
63
+ model_type="llama",
64
+ max_new_tokens=512,
65
+ temperature=0.1)
66
 
67
+ #llm = CTransformers(model="NexaAIDev/Octopus-v2")
68
 
69
  qa = ConversationalRetrievalChain.from_llm(llm, retriever=docsearch.as_retriever())
70