Upload folder using huggingface_hub
Browse files- .gitattributes +5 -0
- README.md +2 -51
- model.shard-00001-of-00005.gguf +3 -0
- model.shard-00002-of-00005.gguf +3 -0
- model.shard-00003-of-00005.gguf +3 -0
- model.shard-00004-of-00005.gguf +3 -0
- model.shard-00005-of-00005.gguf +3 -0
.gitattributes
CHANGED
@@ -34,3 +34,8 @@ saved_model/**/* 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 |
smollm2-135m-instruct-q8_0.gguf 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 |
smollm2-135m-instruct-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
model.shard-00001-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
model.shard-00002-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
model.shard-00003-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
model.shard-00004-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
model.shard-00005-of-00005.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,54 +1,5 @@
|
|
1 |
---
|
2 |
-
|
3 |
-
license: apache-2.0
|
4 |
-
language:
|
5 |
-
- en
|
6 |
-
tags:
|
7 |
-
- llama-cpp
|
8 |
-
- gguf-my-repo
|
9 |
-
base_model: HuggingFaceTB/SmolLM2-135M-Instruct
|
10 |
---
|
11 |
|
12 |
-
|
13 |
-
This model was converted to GGUF format from [`HuggingFaceTB/SmolLM2-135M-Instruct`](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) using llama.cpp via the ggml.ai's [GGUF-my-repo](https://huggingface.co/spaces/ggml-org/gguf-my-repo) space.
|
14 |
-
Refer to the [original model card](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct) for more details on the model.
|
15 |
-
|
16 |
-
## Use with llama.cpp
|
17 |
-
Install llama.cpp through brew (works on Mac and Linux)
|
18 |
-
|
19 |
-
```bash
|
20 |
-
brew install llama.cpp
|
21 |
-
|
22 |
-
```
|
23 |
-
Invoke the llama.cpp server or the CLI.
|
24 |
-
|
25 |
-
### CLI:
|
26 |
-
```bash
|
27 |
-
llama-cli --hf-repo Felladrin/SmolLM2-135M-Instruct-Q8_0-GGUF --hf-file smollm2-135m-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
28 |
-
```
|
29 |
-
|
30 |
-
### Server:
|
31 |
-
```bash
|
32 |
-
llama-server --hf-repo Felladrin/SmolLM2-135M-Instruct-Q8_0-GGUF --hf-file smollm2-135m-instruct-q8_0.gguf -c 2048
|
33 |
-
```
|
34 |
-
|
35 |
-
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.
|
36 |
-
|
37 |
-
Step 1: Clone llama.cpp from GitHub.
|
38 |
-
```
|
39 |
-
git clone https://github.com/ggerganov/llama.cpp
|
40 |
-
```
|
41 |
-
|
42 |
-
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).
|
43 |
-
```
|
44 |
-
cd llama.cpp && LLAMA_CURL=1 make
|
45 |
-
```
|
46 |
-
|
47 |
-
Step 3: Run inference through the main binary.
|
48 |
-
```
|
49 |
-
./llama-cli --hf-repo Felladrin/SmolLM2-135M-Instruct-Q8_0-GGUF --hf-file smollm2-135m-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
50 |
-
```
|
51 |
-
or
|
52 |
-
```
|
53 |
-
./llama-server --hf-repo Felladrin/SmolLM2-135M-Instruct-Q8_0-GGUF --hf-file smollm2-135m-instruct-q8_0.gguf -c 2048
|
54 |
-
```
|
|
|
1 |
---
|
2 |
+
base_model: Felladrin/gguf-Q8_0-SmolLM2-135M-Instruct
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
|
5 |
+
Sharded GGUF version of [Felladrin/gguf-Q8_0-SmolLM2-135M-Instruct](https://huggingface.co/Felladrin/gguf-Q8_0-SmolLM2-135M-Instruct).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.shard-00001-of-00005.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a93c5b233dc17dfc3d91b077e56688317eac8444719de14ad93b27695be7ad0
|
3 |
+
size 31853056
|
model.shard-00002-of-00005.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c982390f4c0a068155555b306e015110dda03696db11a3da669661ab30a8ff47
|
3 |
+
size 30122304
|
model.shard-00003-of-00005.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:66e351a50bd1f4ea3500cccab9a68728cb7296eecaab933a9579147cc4d17c12
|
3 |
+
size 30122304
|
model.shard-00004-of-00005.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d9e1fb424e697a23b7f9114d2ef04188fc4e0968612089aae987e93ca36a0b38
|
3 |
+
size 30122304
|
model.shard-00005-of-00005.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:12f25def4fb233029823f53639b12fb038f7533bb13818d949712f2c78939df6
|
3 |
+
size 22591712
|