Upload README.md with huggingface_hub
Browse files
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mistralai/Mistral-Small-3.1-24B-Instruct-2503
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
- fr
|
6 |
+
- de
|
7 |
+
- es
|
8 |
+
- pt
|
9 |
+
- it
|
10 |
+
- ja
|
11 |
+
- ko
|
12 |
+
- ru
|
13 |
+
- zh
|
14 |
+
- ar
|
15 |
+
- fa
|
16 |
+
- id
|
17 |
+
- ms
|
18 |
+
- ne
|
19 |
+
- pl
|
20 |
+
- ro
|
21 |
+
- sr
|
22 |
+
- sv
|
23 |
+
- tr
|
24 |
+
- uk
|
25 |
+
- vi
|
26 |
+
- hi
|
27 |
+
- bn
|
28 |
+
library_name: vllm
|
29 |
+
license: apache-2.0
|
30 |
+
tags:
|
31 |
+
- llama-cpp
|
32 |
+
- gguf-my-repo
|
33 |
+
inference: false
|
34 |
+
extra_gated_description: If you want to learn more about how we process your personal
|
35 |
+
data, please read our <a href="https://mistral.ai/terms/">Privacy Policy</a>.
|
36 |
+
---
|
37 |
+
|
38 |
+
# fernandoruiz/Mistral-Small-3.1-24B-Instruct-2503-Q4_0-GGUF
|
39 |
+
This model was converted to GGUF format from [`mistralai/Mistral-Small-3.1-24B-Instruct-2503`](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
40 |
+
Refer to the [original model card](https://huggingface.co/mistralai/Mistral-Small-3.1-24B-Instruct-2503) for more details on the model.
|
41 |
+
|
42 |
+
## Use with llama.cpp
|
43 |
+
Install llama.cpp through brew (works on Mac and Linux)
|
44 |
+
|
45 |
+
```bash
|
46 |
+
brew install llama.cpp
|
47 |
+
|
48 |
+
```
|
49 |
+
Invoke the llama.cpp server or the CLI.
|
50 |
+
|
51 |
+
### CLI:
|
52 |
+
```bash
|
53 |
+
llama-cli --hf-repo fernandoruiz/Mistral-Small-3.1-24B-Instruct-2503-Q4_0-GGUF --hf-file mistral-small-3.1-24b-instruct-2503-q4_0.gguf -p "The meaning to life and the universe is"
|
54 |
+
```
|
55 |
+
|
56 |
+
### Server:
|
57 |
+
```bash
|
58 |
+
llama-server --hf-repo fernandoruiz/Mistral-Small-3.1-24B-Instruct-2503-Q4_0-GGUF --hf-file mistral-small-3.1-24b-instruct-2503-q4_0.gguf -c 2048
|
59 |
+
```
|
60 |
+
|
61 |
+
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.
|
62 |
+
|
63 |
+
Step 1: Clone llama.cpp from GitHub.
|
64 |
+
```
|
65 |
+
git clone https://github.com/ggerganov/llama.cpp
|
66 |
+
```
|
67 |
+
|
68 |
+
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).
|
69 |
+
```
|
70 |
+
cd llama.cpp && LLAMA_CURL=1 make
|
71 |
+
```
|
72 |
+
|
73 |
+
Step 3: Run inference through the main binary.
|
74 |
+
```
|
75 |
+
./llama-cli --hf-repo fernandoruiz/Mistral-Small-3.1-24B-Instruct-2503-Q4_0-GGUF --hf-file mistral-small-3.1-24b-instruct-2503-q4_0.gguf -p "The meaning to life and the universe is"
|
76 |
+
```
|
77 |
+
or
|
78 |
+
```
|
79 |
+
./llama-server --hf-repo fernandoruiz/Mistral-Small-3.1-24B-Instruct-2503-Q4_0-GGUF --hf-file mistral-small-3.1-24b-instruct-2503-q4_0.gguf -c 2048
|
80 |
+
```
|