Spaces:
Runtime error
Runtime error
falcon
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from botocore.client import Config
|
|
7 |
import zipfile
|
8 |
|
9 |
from langchain.llms import HuggingFaceHub
|
10 |
-
model_id = HuggingFaceHub(repo_id="
|
11 |
|
12 |
from langchain.embeddings import HuggingFaceHubEmbeddings
|
13 |
embeddings = HuggingFaceHubEmbeddings()
|
|
|
7 |
import zipfile
|
8 |
|
9 |
from langchain.llms import HuggingFaceHub
|
10 |
+
model_id = HuggingFaceHub(repo_id="tiiuae/falcon-7b-instruct", model_kwargs={"temperature":0.1, "max_new_tokens":1024})
|
11 |
|
12 |
from langchain.embeddings import HuggingFaceHubEmbeddings
|
13 |
embeddings = HuggingFaceHubEmbeddings()
|