dnzblgn commited on
Commit
ab3973b
·
verified ·
1 Parent(s): adcc3ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def initialize_chatbot(vector_db, embeddings):
103
  - Do NOT attempt to answer from general knowledge."""
104
 
105
  llm = HuggingFaceEndpoint(
106
- repo_id="openai-community/gpt2",
107
  huggingfacehub_api_token=os.environ.get("HUGGINGFACE_API_TOKEN"),
108
  temperature=0.1,
109
  max_new_tokens=400,
 
103
  - Do NOT attempt to answer from general knowledge."""
104
 
105
  llm = HuggingFaceEndpoint(
106
+ repo_id="mistralai/Mistral-7B-Instruct-v0.3",
107
  huggingfacehub_api_token=os.environ.get("HUGGINGFACE_API_TOKEN"),
108
  temperature=0.1,
109
  max_new_tokens=400,