Spaces:
Runtime error
Runtime error
quantamentalfinance
commited on
Commit
•
1a4d59d
1
Parent(s):
140e718
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,6 @@ chroma_db = Chroma(persist_directory='chromadb_earnings_transcripts_extracted/ch
|
|
41 |
# Load the huggingface inference endpoint of an LLM model
|
42 |
# Name of the LLM model we are using, feel free to try others!
|
43 |
model = "mistralai/Mistral-7B-Instruct-v0.1"
|
44 |
-
hf_client = InferenceClient(model_id=model)
|
45 |
|
46 |
# This is an inference endpoint API from huggingface, the model is not run locally, it is run on huggingface
|
47 |
hf_llm = HuggingFaceHub(repo_id=model,model_kwargs={'temperature':0.5,"max_new_tokens":200})
|
|
|
41 |
# Load the huggingface inference endpoint of an LLM model
|
42 |
# Name of the LLM model we are using, feel free to try others!
|
43 |
model = "mistralai/Mistral-7B-Instruct-v0.1"
|
|
|
44 |
|
45 |
# This is an inference endpoint API from huggingface, the model is not run locally, it is run on huggingface
|
46 |
hf_llm = HuggingFaceHub(repo_id=model,model_kwargs={'temperature':0.5,"max_new_tokens":200})
|