Do0rMaMu commited on
Commit
151b91e
·
verified ·
1 Parent(s): 43b08d3

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -5,6 +5,7 @@ from pydantic import BaseModel
5
  # Model loading
6
  llm = AutoModelForCausalLM.from_pretrained(
7
  "Meta-Llama-3-8B-Instruct.Q4_K_M.gguf",
 
8
  max_new_tokens=1096,
9
  threads=3,
10
  )
 
5
  # Model loading
6
  llm = AutoModelForCausalLM.from_pretrained(
7
  "Meta-Llama-3-8B-Instruct.Q4_K_M.gguf",
8
+ model_type='llama',
9
  max_new_tokens=1096,
10
  threads=3,
11
  )