Upload folder using huggingface_hub
Browse files- .gitattributes +8 -0
- README.md +2 -51
- model.shard-00001-of-00008.gguf +3 -0
- model.shard-00002-of-00008.gguf +3 -0
- model.shard-00003-of-00008.gguf +3 -0
- model.shard-00004-of-00008.gguf +3 -0
- model.shard-00005-of-00008.gguf +3 -0
- model.shard-00006-of-00008.gguf +3 -0
- model.shard-00007-of-00008.gguf +3 -0
- model.shard-00008-of-00008.gguf +3 -0
.gitattributes
CHANGED
@@ -34,3 +34,11 @@ 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-360m-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-360m-instruct-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
model.shard-00001-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
model.shard-00002-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
model.shard-00003-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
model.shard-00004-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
model.shard-00005-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
model.shard-00006-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
model.shard-00007-of-00008.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
model.shard-00008-of-00008.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-360M-Instruct
|
10 |
---
|
11 |
|
12 |
-
|
13 |
-
This model was converted to GGUF format from [`HuggingFaceTB/SmolLM2-360M-Instruct`](https://huggingface.co/HuggingFaceTB/SmolLM2-360M-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-360M-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-360M-Instruct-Q8_0-GGUF --hf-file smollm2-360m-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-360M-Instruct-Q8_0-GGUF --hf-file smollm2-360m-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-360M-Instruct-Q8_0-GGUF --hf-file smollm2-360m-instruct-q8_0.gguf -p "The meaning to life and the universe is"
|
50 |
-
```
|
51 |
-
or
|
52 |
-
```
|
53 |
-
./llama-server --hf-repo Felladrin/SmolLM2-360M-Instruct-Q8_0-GGUF --hf-file smollm2-360m-instruct-q8_0.gguf -c 2048
|
54 |
-
```
|
|
|
1 |
---
|
2 |
+
base_model: Felladrin/gguf-Q8_0-SmolLM2-360M-Instruct
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
4 |
|
5 |
+
Sharded GGUF version of [Felladrin/gguf-Q8_0-SmolLM2-360M-Instruct](https://huggingface.co/Felladrin/gguf-Q8_0-SmolLM2-360M-Instruct).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
model.shard-00001-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1c4c8baacb12cea2fa4afa0f0e00a53a2383c8e585323a2d39bd6092f16d61f4
|
3 |
+
size 51908576
|
model.shard-00002-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d77a57b36ebc5b675901cacc1007f68a26788666a6a61383f1a7bb9647db74cf
|
3 |
+
size 50955584
|
model.shard-00003-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2231fa3a3275b248833110fe9e03ec4375d4325dfa99c9fe953d65958a92230
|
3 |
+
size 50959488
|
model.shard-00004-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d5f51b8eb11361fb83d720f6cb81c520c6583b90847c2a1224ab72aefd9dc002
|
3 |
+
size 49650048
|
model.shard-00005-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18842e0ea9f571bee0b9f5e25f516dd334c059b8b1559858950ffed51aeebad5
|
3 |
+
size 49653952
|
model.shard-00006-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:315be026ed3edf7f9a8ed29e77554b6de8b13cf3beca9e94f915ccea4c419c5c
|
3 |
+
size 49653952
|
model.shard-00007-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7059be352336827cbf31160dfad808065ff74243e746ecd33c5dc06ce49f7972
|
3 |
+
size 50955584
|
model.shard-00008-of-00008.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6aa9862eb27de6abf63ae594bc7d5dae86c92685a2543b168c6a0ab6f59495f
|
3 |
+
size 32668768
|