Triangle104 commited on
Commit
fa910d0
·
verified ·
1 Parent(s): 5d6a925

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +79 -0
README.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/Magistral-Small-2506
3
+ license: apache-2.0
4
+ pipeline_tag: text2text-generation
5
+ tags:
6
+ - mistral
7
+ - unsloth
8
+ - llama-cpp
9
+ - gguf-my-repo
10
+ language:
11
+ - en
12
+ - fr
13
+ - de
14
+ - es
15
+ - pt
16
+ - it
17
+ - ja
18
+ - ko
19
+ - ru
20
+ - zh
21
+ - ar
22
+ - fa
23
+ - id
24
+ - ms
25
+ - ne
26
+ - pl
27
+ - ro
28
+ - sr
29
+ - sv
30
+ - tr
31
+ - uk
32
+ - vi
33
+ - hi
34
+ - bn
35
+ ---
36
+
37
+ # Triangle104/Magistral-Small-2506-Q3_K_S-GGUF
38
+ This model was converted to GGUF format from [`unsloth/Magistral-Small-2506`](https://huggingface.co/unsloth/Magistral-Small-2506) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
39
+ Refer to the [original model card](https://huggingface.co/unsloth/Magistral-Small-2506) for more details on the model.
40
+
41
+ ## Use with llama.cpp
42
+ Install llama.cpp through brew (works on Mac and Linux)
43
+
44
+ ```bash
45
+ brew install llama.cpp
46
+
47
+ ```
48
+ Invoke the llama.cpp server or the CLI.
49
+
50
+ ### CLI:
51
+ ```bash
52
+ llama-cli --hf-repo Triangle104/Magistral-Small-2506-Q3_K_S-GGUF --hf-file magistral-small-2506-q3_k_s.gguf -p "The meaning to life and the universe is"
53
+ ```
54
+
55
+ ### Server:
56
+ ```bash
57
+ llama-server --hf-repo Triangle104/Magistral-Small-2506-Q3_K_S-GGUF --hf-file magistral-small-2506-q3_k_s.gguf -c 2048
58
+ ```
59
+
60
+ Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo as well.
61
+
62
+ Step 1: Clone llama.cpp from GitHub.
63
+ ```
64
+ git clone https://github.com/ggerganov/llama.cpp
65
+ ```
66
+
67
+ Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for ex: LLAMA_CUDA=1 for Nvidia GPUs on Linux).
68
+ ```
69
+ cd llama.cpp && LLAMA_CURL=1 make
70
+ ```
71
+
72
+ Step 3: Run inference through the main binary.
73
+ ```
74
+ ./llama-cli --hf-repo Triangle104/Magistral-Small-2506-Q3_K_S-GGUF --hf-file magistral-small-2506-q3_k_s.gguf -p "The meaning to life and the universe is"
75
+ ```
76
+ or
77
+ ```
78
+ ./llama-server --hf-repo Triangle104/Magistral-Small-2506-Q3_K_S-GGUF --hf-file magistral-small-2506-q3_k_s.gguf -c 2048
79
+ ```