Upload README.md
Browse files
README.md
CHANGED
@@ -203,7 +203,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
|
203 |
from ctransformers import AutoModelForCausalLM
|
204 |
|
205 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
206 |
-
llm = AutoModelForCausalLM.from_pretrained("TheBloke/HermesLimaRP-L2-7B-
|
207 |
|
208 |
print(llm("AI is going to"))
|
209 |
```
|
|
|
203 |
from ctransformers import AutoModelForCausalLM
|
204 |
|
205 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
206 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/HermesLimaRP-L2-7B-GGUF", model_file="hermeslimarp-l2-7b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
207 |
|
208 |
print(llm("AI is going to"))
|
209 |
```
|