Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import spaces
|
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
5 |
|
6 |
|
7 |
-
model_name = "TheBloke/OpenHermes-2.5-Mistral-7B-
|
8 |
token = os.environ['hf_token']
|
9 |
|
10 |
pipe = pipeline("text-generation", model=model_name, device="cuda")
|
|
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
5 |
|
6 |
|
7 |
+
model_name = "TheBloke/OpenHermes-2.5-Mistral-7B-GPTQ"
|
8 |
token = os.environ['hf_token']
|
9 |
|
10 |
pipe = pipeline("text-generation", model=model_name, device="cuda")
|