krupakar-reddy commited on
Commit
b7d45e3
·
verified ·
1 Parent(s): 070d3e0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -6,6 +6,7 @@ from pydantic import BaseModel
6
  llm = AutoModelForCausalLM.from_pretrained("mistral-7b-instruct-v0.2.Q4_K_M.gguf",
7
  model_type='mistral',
8
  max_new_tokens = 2048,
 
9
  threads = 3,
10
  )
11
 
 
6
  llm = AutoModelForCausalLM.from_pretrained("mistral-7b-instruct-v0.2.Q4_K_M.gguf",
7
  model_type='mistral',
8
  max_new_tokens = 2048,
9
+ max_context_length = 1024,
10
  threads = 3,
11
  )
12