Spaces:
Runtime error
Runtime error
littlebird13
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ if not torch.cuda.is_available():
|
|
69 |
|
70 |
|
71 |
if torch.cuda.is_available():
|
72 |
-
model_id = "
|
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
|