Create .gguf
Browse files
.gguf
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from llama_cpp import Llama
|
| 2 |
+
from huggingface_hub import hf_hub_download
|
| 3 |
+
|
| 4 |
+
model_path = hf_hub_download(
|
| 5 |
+
repo_id="mradermacher/Mythos-nano-i1-GGUF",
|
| 6 |
+
filename="Mythos-nano-i1.Q4_K_M.gguf" # exact filename required
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
llm = Llama(model_path=model_path)
|