zehaoj commited on
Commit
741723a
·
verified ·
1 Parent(s): 5890331

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -3,7 +3,7 @@ from fastapi import FastAPI, Form
3
  from pydantic import BaseModel
4
 
5
  #Model loading
6
- llm = AutoModelForCausalLM.from_pretrained("TheBloke/Toppy-M-7B-GGUF", model_file="toppy-m-7b.Q2_K.gguf",
7
  model_type='mistral',
8
  max_new_tokens = 1096,
9
  threads = 3,
 
3
  from pydantic import BaseModel
4
 
5
  #Model loading
6
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/Toppy-M-7B-GGUF", model_file="toppy-m-7b.Q5_K_S.gguf",
7
  model_type='mistral',
8
  max_new_tokens = 1096,
9
  threads = 3,