Spaces:
Runtime error
Runtime error
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)
|