amiguel commited on
Commit
16ad5dc
·
verified ·
1 Parent(s): 598bdcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ if "messages" not in st.session_state or clear_chat:
36
  # --- Load LLM ---
37
  @st.cache_resource
38
  def load_model():
39
- model_id = "amiguel/GM_Qwen1.8B_Finetune""
40
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=HF_TOKEN)
41
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
42
  return tokenizer, model
 
36
  # --- Load LLM ---
37
  @st.cache_resource
38
  def load_model():
39
+ model_id = "amiguel/GM_Qwen1.8B_Finetune"
40
  tokenizer = AutoTokenizer.from_pretrained(model_id, token=HF_TOKEN)
41
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto", token=HF_TOKEN)
42
  return tokenizer, model