Gokulavelan commited on
Commit
089d8a1
·
1 Parent(s): 38d9b9a

model change

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
 
5
  app = FastAPI()
6
 
7
- model_name = "mistralai/Mistral-7B-Instruct-v0.1" # Change to your model
8
  model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16)
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10
 
 
4
 
5
  app = FastAPI()
6
 
7
+ model_name = "unsloth/Qwen2.5-7B-bnb-4bit" # Change to your model
8
  model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16)
9
  tokenizer = AutoTokenizer.from_pretrained(model_name)
10