Felladrin eliebak HF staff commited on
Commit
710c673
0 Parent(s):

Duplicate from HuggingFaceTB/smollm-135M-instruct-v0.2-Q8_0-GGUF

Browse files

Co-authored-by: Elie Bakouch <[email protected]>

.gitattributes ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ smollm-135m-instruct-add-basics-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: HuggingFaceTB/SmolLM-135M-Instruct
3
+ datasets:
4
+ - Magpie-Align/Magpie-Pro-300K-Filtered
5
+ - bigcode/self-oss-instruct-sc2-exec-filter-50k
6
+ - teknium/OpenHermes-2.5
7
+ - HuggingFaceTB/everyday-conversations-llama3.1-2k
8
+ - HuggingFaceTB/instruct-data-basics-H4
9
+ license: apache-2.0
10
+ tags:
11
+ - alignment-handbook
12
+ - trl
13
+ - sft
14
+ - generated_from_trainer
15
+ - llama-cpp
16
+ - gguf-my-repo
17
+ model-index:
18
+ - name: smollm-135M-instruct-add-basics
19
+ results: []
20
+ ---
21
+
22
+ # smollm-135M-instruct-add-basics-Q8_0-GGUF
23
+ This model was converted to GGUF format from [`HuggingFaceTB/SmolLM-135M-Instruct`](https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
24
+ Refer to the [original model card](https://huggingface.co/HuggingFaceTB/SmolLM-135M-Instruct) for more details on the model.
25
+
26
+ ## Use with llama.cpp
27
+ Install llama.cpp through brew (works on Mac and Linux)
28
+
29
+ ```bash
30
+ brew install llama.cpp
31
+
32
+ ```
33
+ Invoke the llama.cpp server or the CLI.
34
+
35
+ ### CLI:
36
+ ```bash
37
+ llama-cli --hf-repo HuggingFaceTB/smollm-135M-instruct-add-basics-Q8_0-GGUF --hf-file smollm-135m-instruct-add-basics-q8_0.gguf -p "The meaning to life and the universe is"
38
+ ```
39
+
40
+ ### Server:
41
+ ```bash
42
+ llama-server --hf-repo HuggingFaceTB/smollm-135M-instruct-add-basics-Q8_0-GGUF --hf-file smollm-135m-instruct-add-basics-q8_0.gguf -c 2048
43
+ ```
44
+
45
+ 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.
46
+
47
+ Step 1: Clone llama.cpp from GitHub.
48
+ ```
49
+ git clone https://github.com/ggerganov/llama.cpp
50
+ ```
51
+
52
+ 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).
53
+ ```
54
+ cd llama.cpp && LLAMA_CURL=1 make
55
+ ```
56
+
57
+ Step 3: Run inference through the main binary.
58
+ ```
59
+ ./llama-cli --hf-repo HuggingFaceTB/smollm-135M-instruct-add-basics-Q8_0-GGUF --hf-file smollm-135m-instruct-add-basics-q8_0.gguf -p "The meaning to life and the universe is"
60
+ ```
61
+ or
62
+ ```
63
+ ./llama-server --hf-repo HuggingFaceTB/smollm-135M-instruct-add-basics-Q8_0-GGUF --hf-file smollm-135m-instruct-add-basics-q8_0.gguf -c 2048
64
+ ```
smollm-135m-instruct-add-basics-q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a98d3857b95b96c156d954780d28f39dcb35b642e72892ee08ddff70719e6220
3
+ size 144811552