Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,9 @@
|
|
6 |
#####################################
|
7 |
|
8 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
9 |
-
from langchain.llms import HuggingFaceHub
|
|
|
|
|
10 |
model_name = "bn22/Mistral-7B-Instruct-v0.1-sharded"
|
11 |
|
12 |
###### other models:
|
|
|
6 |
#####################################
|
7 |
|
8 |
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
|
9 |
+
#from langchain.llms import HuggingFaceHub
|
10 |
+
from langchain_community.llms import HuggingFaceHub
|
11 |
+
|
12 |
model_name = "bn22/Mistral-7B-Instruct-v0.1-sharded"
|
13 |
|
14 |
###### other models:
|