minhdang commited on
Commit
c54ea3c
1 Parent(s): a8ffc22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,9 +34,9 @@ if not torch.cuda.is_available():
34
 
35
 
36
  if torch.cuda.is_available():
37
- model_id = "AI-MO/NuminaMath-7B-TIR"
38
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
39
- tokenizer = AutoTokenizer.from_pretrained(model_id)
40
  tokenizer.use_default_system_prompt = False
41
 
42
 
 
34
 
35
 
36
  if torch.cuda.is_available():
37
+ model_id = "internlm/internlm2-step-prover"
38
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
39
+ tokenizer = AutoTokenizer.from_pretrained(model_id,trust_remote_code=True)
40
  tokenizer.use_default_system_prompt = False
41
 
42