AlexHung29629 commited on
Commit
12d6d46
·
verified ·
1 Parent(s): 3dbfa68

Update app.py

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