Manglik-R Chandrasrishti commited on
Commit
2004747
·
verified ·
1 Parent(s): 067a3d4

Update app.py (#2)

Browse files

- Update app.py (995695fcdf569c5a5c813fb0952231753fcc92f1)


Co-authored-by: Srishti Chandra <Chandrasrishti@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def pdf_changes(pdf_doc):
33
 
34
  llm = Replicate(
35
  model="a16z-infra/llama13b-v2-chat:df7690f1994d94e96ad9d568eac121aecf50684a0b0963b25a41cc40061269e5",
36
- input={"temperature": 0.2, "max_length": 3000, "length_penalty":1.5, "num_beams":3}
37
  )
38
  global qa
39
  qa = ConversationalRetrievalChain.from_llm(
 
33
 
34
  llm = Replicate(
35
  model="a16z-infra/llama13b-v2-chat:df7690f1994d94e96ad9d568eac121aecf50684a0b0963b25a41cc40061269e5",
36
+ input={"temperature": 0.2, "max_length": 3000, "length_penalty":0.5, "num_beams":3}
37
  )
38
  global qa
39
  qa = ConversationalRetrievalChain.from_llm(