harsh-manvar commited on
Commit
50eb2a4
·
verified ·
1 Parent(s): 7fb3374

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
3
  from vllm import SamplingParams, LLM
4
 
5
  # Load the model and tokenizer from Hugging Face
 
6
  tokenizer = AutoTokenizer.from_pretrained(model_name)
7
  engine = LLM(model="Qwen/Qwen2-7B")
8
 
 
3
  from vllm import SamplingParams, LLM
4
 
5
  # Load the model and tokenizer from Hugging Face
6
+ model_name = "Qwen/Qwen2-7B"
7
  tokenizer = AutoTokenizer.from_pretrained(model_name)
8
  engine = LLM(model="Qwen/Qwen2-7B")
9