test2023h5 commited on
Commit
69ee59a
1 Parent(s): 1cbceb6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -12,7 +12,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
12
 
13
  # 加载预训练模型
14
  #model_name = "Qwen/Qwen2-0.5B"
15
- model_name = "Qwen/Qwen2-0.5B-Instruct-GPTQ-Int4"
16
  #model_name = "../models/qwen/Qwen2-0.5B"
17
  base_model = AutoModelForCausalLM.from_pretrained(model_name)
18
 
 
12
 
13
  # 加载预训练模型
14
  #model_name = "Qwen/Qwen2-0.5B"
15
+ model_name = "Qwen/Qwen2-0.5B-Instruct-AWQ"
16
  #model_name = "../models/qwen/Qwen2-0.5B"
17
  base_model = AutoModelForCausalLM.from_pretrained(model_name)
18