Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import io
|
|
| 7 |
|
| 8 |
# Initialize the Qwen model and tokenizer
|
| 9 |
model_name = "Qwen/Qwen2.5-Coder-7B-Instruct"
|
|
|
|
| 10 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
|
| 11 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 12 |
|
|
|
|
| 7 |
|
| 8 |
# Initialize the Qwen model and tokenizer
|
| 9 |
model_name = "Qwen/Qwen2.5-Coder-7B-Instruct"
|
| 10 |
+
model_name = "Qwen/Qwen2.5-Coder-32B-Instruct"
|
| 11 |
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")
|
| 12 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 13 |
|