Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import io
|
|
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 |
|
|
|
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 |
|