Upload README.md
Browse files
README.md
CHANGED
@@ -171,7 +171,7 @@ CT_METAL=1 pip install ctransformers>=0.2.24 --no-binary ctransformers
|
|
171 |
from ctransformers import AutoModelForCausalLM
|
172 |
|
173 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
174 |
-
llm = AutoModelForCausalLM.from_pretrained("TheBloke/MythoLogic-L2-13B-
|
175 |
|
176 |
print(llm("AI is going to"))
|
177 |
```
|
|
|
171 |
from ctransformers import AutoModelForCausalLM
|
172 |
|
173 |
# Set gpu_layers to the number of layers to offload to GPU. Set to 0 if no GPU acceleration is available on your system.
|
174 |
+
llm = AutoModelForCausalLM.from_pretrained("TheBloke/MythoLogic-L2-13B-GGUF", model_file="mythologic-l2-13b.q4_K_M.gguf", model_type="llama", gpu_layers=50)
|
175 |
|
176 |
print(llm("AI is going to"))
|
177 |
```
|