hArshi07 commited on
Commit
a7be9c7
·
verified ·
1 Parent(s): 6e46dee

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -4
main.py CHANGED
@@ -9,10 +9,11 @@ max_new_tokens = 1096,
9
  threads = 3,
10
  )
11
 
12
- llm = AutoModelForCausalLM.from_pretrained("TheBloke/CodeLlama-7B-Instruct-GGUF",
13
- model_file="codellama-7b-instruct.q4_K_M.gguf",
14
- model_type="codellama",
15
- gpu_layers=0)
 
16
 
17
 
18
 
 
9
  threads = 3,
10
  )
11
 
12
+ llm = AutoModelForCausalLM.from_pretrained("codellama-7b-instruct.q4_K_M.gguf",
13
+ model_type="llama",
14
+ max_new_tokens = 1096,
15
+ threads = 3,
16
+ )
17
 
18
 
19