TheBloke commited on
Commit
08f4e73
1 Parent(s): 3c36d0c

Upload README.md

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