Hisab Cloud commited on
Commit
6d28a50
·
1 Parent(s): 0dd56ba

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,9 +69,9 @@ def create_conversational_chain(vector_store):
69
  #model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
70
  llm = Replicate(
71
  streaming = True,
72
- model = "meta/llama-2-70b-chat:02e509c789964a7ea8736978a43525956ef40397be9033abf9fd2badfe68c9e3",
73
  callbacks=[StreamingStdOutCallbackHandler()],
74
- input = {"temperature": 0.5, "max_length" :2000,"top_p":1})
75
  # llm = GooglePalm(
76
  # streaming = True,
77
  # model = "models/text-bison-001", # "google/flan-t5-large"
 
69
  #model_type="llama", config={'max_new_tokens': 500, 'temperature': 0.01})
70
  llm = Replicate(
71
  streaming = True,
72
+ model = "meta/llama-2-70b:a52e56fee2269a78c9279800ec88898cecb6c8f1df22a6483132bea266648f00",
73
  callbacks=[StreamingStdOutCallbackHandler()],
74
+ input = {"temperature": 0.75, "max_length" :500,"top_p":1})
75
  # llm = GooglePalm(
76
  # streaming = True,
77
  # model = "models/text-bison-001", # "google/flan-t5-large"