cdcvd commited on
Commit
1440e91
1 Parent(s): 158022c

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +1 -1
models.py CHANGED
@@ -93,7 +93,7 @@ import torch
93
  def evaluate_with_qwen(resume_text, job_description):
94
  # بارگذاری مدل و توکنایزر
95
  model = AutoModelForCausalLM.from_pretrained(
96
- "Qwen/Qwen2-72B-Instruct",
97
  torch_dtype="auto",
98
  device_map="auto"
99
  ).to("cuda" if torch.cuda.is_available() else "cpu")
 
93
  def evaluate_with_qwen(resume_text, job_description):
94
  # بارگذاری مدل و توکنایزر
95
  model = AutoModelForCausalLM.from_pretrained(
96
+ "Qwen/Qwen2-1.5B-Instruct",
97
  torch_dtype="auto",
98
  device_map="auto"
99
  ).to("cuda" if torch.cuda.is_available() else "cpu")