coozyme commited on
Commit
c809fce
·
1 Parent(s): e4b1117

change model mistralai/Mistral-Nemo-Instruct-2407

Browse files
Files changed (2) hide show
  1. README.md +6 -0
  2. app.py +2 -1
README.md CHANGED
@@ -12,3 +12,9 @@ short_description: Personal Assistant Chatbot
12
  ---
13
 
14
  Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
 
 
 
 
 
 
 
12
  ---
13
 
14
  Check out the configuration reference at <https://huggingface.co/docs/hub/spaces-config-reference>
15
+
16
+ # How To Run
17
+
18
+ ```
19
+ streamlit run app.py
20
+ ```
app.py CHANGED
@@ -4,7 +4,8 @@ import streamlit as st
4
  from langchain_core.prompts import PromptTemplate
5
  from langchain_core.output_parsers import StrOutputParser
6
 
7
- model_id="Qwen/Qwen2.5-Coder-32B-Instruct"
 
8
 
9
  def get_llm_hf_inference(model_id=model_id, max_new_tokens=2580, temperature=0.1):
10
  """
 
4
  from langchain_core.prompts import PromptTemplate
5
  from langchain_core.output_parsers import StrOutputParser
6
 
7
+ # model_id="Qwen/Qwen2.5-Coder-32 B-Instruct"
8
+ model_id="mistralai/Mistral-Nemo-Instruct-2407"
9
 
10
  def get_llm_hf_inference(model_id=model_id, max_new_tokens=2580, temperature=0.1):
11
  """