Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM, TextIteratorStream
|
|
| 5 |
|
| 6 |
MODEL_ID = "NoesisLab/Spartacus-1B-Instruct"
|
| 7 |
|
| 8 |
-
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True
|
| 9 |
-
force_download=True # This forces a fresh copy of the code)
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(
|
| 11 |
"NoesisLab/Spartacus-1B-Instruct",
|
| 12 |
trust_remote_code=True,
|
|
|
|
| 5 |
|
| 6 |
MODEL_ID = "NoesisLab/Spartacus-1B-Instruct"
|
| 7 |
|
| 8 |
+
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
|
|
|
|
| 9 |
model = AutoModelForCausalLM.from_pretrained(
|
| 10 |
"NoesisLab/Spartacus-1B-Instruct",
|
| 11 |
trust_remote_code=True,
|