Aabbhishekk commited on
Commit
ec2d501
·
1 Parent(s): 111602a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ from langchain import HuggingFaceHub, PromptTemplate, LLMChain
12
  repo_id = "mistralai/Mistral-7B-v0.1"
13
  llm = HuggingFaceHub(huggingfacehub_api_token=huggingfacehub_api_token,
14
  repo_id=repo_id,
15
- model_kwargs={"temperature":0.2, "max_new_tokens":200)
16
 
17
  template = """
18
  You are an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
 
12
  repo_id = "mistralai/Mistral-7B-v0.1"
13
  llm = HuggingFaceHub(huggingfacehub_api_token=huggingfacehub_api_token,
14
  repo_id=repo_id,
15
+ model_kwargs={"temperature":0.2, "max_new_tokens":200})
16
 
17
  template = """
18
  You are an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.