Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
# 模型和分词器的名称
|
5 |
-
model_name = "Qwen/Qwen2.5-
|
6 |
|
7 |
# 加载模型和分词器
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
3 |
|
4 |
# 模型和分词器的名称
|
5 |
+
model_name = "Qwen/Qwen2.5-1.5B-Instruct"
|
6 |
|
7 |
# 加载模型和分词器
|
8 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|