Makima57 commited on
Commit
f5c3a62
1 Parent(s): 2050f60

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(model_id)
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