Spaces:
Runtime error
Runtime error
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from transformers import AutoModel, AutoTokenizer
|
|
7 |
# Load the model and tokenizer from Hugging Face
|
8 |
model_id = "Makima57/deepseek-math-Numina"
|
9 |
model = AutoModel.from_pretrained(model_id)
|
10 |
-
tokenizer = AutoTokenizer.from_pretrained(
|
11 |
model_path = model_id
|
12 |
generator = ctranslate2.Generator(model_path, device="cpu", compute_type="int8")
|
13 |
|
|
|
7 |
# Load the model and tokenizer from Hugging Face
|
8 |
model_id = "Makima57/deepseek-math-Numina"
|
9 |
model = AutoModel.from_pretrained(model_id)
|
10 |
+
tokenizer = AutoTokenizer.from_pretrained("AI-MO/NuminaMath-7B-TIR")
|
11 |
model_path = model_id
|
12 |
generator = ctranslate2.Generator(model_path, device="cpu", compute_type="int8")
|
13 |
|