Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
3 |
import torch
|
4 |
|
5 |
# Загрузка модели и токенизатора
|
6 |
-
model_name = "Qwen/Qwen2.5-Coder-
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
8 |
model = AutoModelForCausalLM.from_pretrained(
|
9 |
model_name,
|
|
|
3 |
import torch
|
4 |
|
5 |
# Загрузка модели и токенизатора
|
6 |
+
model_name = "Qwen/Qwen2.5-Coder-1.5B-Instruct"
|
7 |
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
|
8 |
model = AutoModelForCausalLM.from_pretrained(
|
9 |
model_name,
|