Upload README.md
Browse files
README.md
CHANGED
@@ -213,7 +213,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
|
213 |
from ctransformers import AutoModelForCausalLM
|
214 |
|
215 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
216 |
-
llm = AutoModelForCausalLM.from_pretrained("
|
217 |
|
218 |
print(llm("AI is going to"))
|
219 |
```
|
|
|
213 |
from ctransformers import AutoModelForCausalLM
|
214 |
|
215 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
216 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/OpenBuddy-Llama2-70b-v10.1-GGUF", model_file="openbuddy-llama2-70b-v10.1.q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
217 |
|
218 |
print(llm("AI is going to"))
|
219 |
```
|