dnzblgn commited on
Commit
5657823
·
verified ·
1 Parent(s): 8b39d97

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ def initialize_chatbot(vector_db, embeddings):
165
  - Do NOT attempt to answer from general knowledge."""
166
 
167
  llm = HuggingFaceEndpoint(
168
- repo_id="openai-community/gpt2",
169
  huggingfacehub_api_token=os.environ.get("HUGGINGFACE_API_TOKEN"),
170
  temperature=0.1,
171
  max_new_tokens=400,
 
165
  - Do NOT attempt to answer from general knowledge."""
166
 
167
  llm = HuggingFaceEndpoint(
168
+ repo_id="mistralai/Mistral-7B-Instruct-v0.3",
169
  huggingfacehub_api_token=os.environ.get("HUGGINGFACE_API_TOKEN"),
170
  temperature=0.1,
171
  max_new_tokens=400,