TheBloke commited on
Commit
da8cdf0
1 Parent(s): 86fb42e

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -168,7 +168,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
168
  from ctransformers import AutoModelForCausalLM
169
 
170
  # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
171
- llm = AutoModelForCausalLM.from_pretrained("None", model_file="codellama-34b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
172
 
173
  print(llm("AI is going to"))
174
  ```
 
168
  from ctransformers import AutoModelForCausalLM
169
 
170
  # Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
171
+ llm = AutoModelForCausalLM.from_pretrained("TheBloke/CodeLlama-34B-GGUF", model_file="codellama-34b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
172
 
173
  print(llm("AI is going to"))
174
  ```