AlexHung29629 commited on
Commit
725724b
·
verified ·
1 Parent(s): 713bc6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ CHAT_TEMPLATE="""{%- set default_system_message = "A user will ask you to solve
46
  if torch.cuda.is_available():
47
  model_id = "mistralai/Mistral-Small-24B-Instruct-2501"
48
  model = AutoModelForCausalLM.from_pretrained("AlexHung29629/fix_magistra4b", torch_dtype=torch.bfloat16, device_map="auto")
49
- tokenizer = AutoTokenizer.from_pretrained("AlexHung29629/fix_magistra4")
50
 
51
 
52
  @spaces.GPU
 
46
  if torch.cuda.is_available():
47
  model_id = "mistralai/Mistral-Small-24B-Instruct-2501"
48
  model = AutoModelForCausalLM.from_pretrained("AlexHung29629/fix_magistra4b", torch_dtype=torch.bfloat16, device_map="auto")
49
+ tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-Small-24B-Instruct-2501")
50
 
51
 
52
  @spaces.GPU