littlebird13 commited on
Commit
c8daf5a
·
verified ·
1 Parent(s): 0a35a9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ if not torch.cuda.is_available():
69
 
70
 
71
  if torch.cuda.is_available():
72
- model_id = "qwen/Qwen1.5-1.8B-Chat"
73
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
74
  tokenizer = AutoTokenizer.from_pretrained(model_id)
75
  tokenizer.use_default_system_prompt = False
 
69
 
70
 
71
  if torch.cuda.is_available():
72
+ model_id = "Qwen/Qwen1.5-14B-Chat"
73
  model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.float16, device_map="auto")
74
  tokenizer = AutoTokenizer.from_pretrained(model_id)
75
  tokenizer.use_default_system_prompt = False