Spaces:
Running
on
Zero
Running
on
Zero
Zenithwang
commited on
Commit
•
5c0a46c
1
Parent(s):
d2f4114
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, StoppingCriteria,
|
|
5 |
from threading import Thread
|
6 |
import traceback
|
7 |
|
8 |
-
model_path = 'infly/OpenCoder-
|
9 |
|
10 |
# Loading the tokenizer and model from Hugging Face's model hub.
|
11 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
|
|
5 |
from threading import Thread
|
6 |
import traceback
|
7 |
|
8 |
+
model_path = 'infly/OpenCoder-1.5B-Instruct'
|
9 |
|
10 |
# Loading the tokenizer and model from Hugging Face's model hub.
|
11 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|