srcrszhu commited on
Commit
3b2ddba
1 Parent(s): 49d1c29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-7B-Instruct"
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)