Spaces:
Runtime error
Runtime error
Update app.py
Browse files6 unmodified lines7891011126 unmodified lines# Initialize the Qwen model and tokenizermodel_name = "Qwen/Qwen2.5-Coder-7B-Instruct"model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")tokenizer = AutoTokenizer.from_pretrained(model_name)6 unmodified lines789101112136 unmodified lines# Initialize the Qwen model and tokenizermodel_name = "Qwen/Qwen2.5-Coder-7B-Instruct"model_name = "Qwen/Qwen2.5-Coder-32B-Instruct"model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto", device_map="auto")tokenizer = AutoTokenizer.from_pretrained(model_name)
app.py+1