Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import torch
|
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
-
model_id = "
|
| 8 |
|
| 9 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
|
| 7 |
+
model_id = "unsloth/mistral-7b-v0.2-bnb-4bit"
|
| 8 |
|
| 9 |
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(
|