Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +87 -0
- SmolLM2-135M-Instruct-Q2_K.gguf +3 -0
- SmolLM2-135M-Instruct-Q3_K_L.gguf +3 -0
- SmolLM2-135M-Instruct-Q3_K_M.gguf +3 -0
- SmolLM2-135M-Instruct-Q3_K_S.gguf +3 -0
- SmolLM2-135M-Instruct-Q4_0.gguf +3 -0
- SmolLM2-135M-Instruct-Q4_K_M.gguf +3 -0
- SmolLM2-135M-Instruct-Q4_K_S.gguf +3 -0
- SmolLM2-135M-Instruct-Q5_0.gguf +3 -0
- SmolLM2-135M-Instruct-Q5_K_M.gguf +3 -0
- SmolLM2-135M-Instruct-Q5_K_S.gguf +3 -0
- SmolLM2-135M-Instruct-Q6_K.gguf +3 -0
- SmolLM2-135M-Instruct-Q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
SmolLM2-135M-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
SmolLM2-135M-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
SmolLM2-135M-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
SmolLM2-135M-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
SmolLM2-135M-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
SmolLM2-135M-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
SmolLM2-135M-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
SmolLM2-135M-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
SmolLM2-135M-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
SmolLM2-135M-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
SmolLM2-135M-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
SmolLM2-135M-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- safetensors
|
| 9 |
+
- onnx
|
| 10 |
+
- transformers.js
|
| 11 |
+
- TensorBlock
|
| 12 |
+
- GGUF
|
| 13 |
+
base_model: HuggingFaceTB/SmolLM2-135M-Instruct
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 17 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 18 |
+
</div>
|
| 19 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 20 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 21 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 22 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 23 |
+
</p>
|
| 24 |
+
</div>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
## HuggingFaceTB/SmolLM2-135M-Instruct - GGUF
|
| 28 |
+
|
| 29 |
+
This repo contains GGUF format model files for [HuggingFaceTB/SmolLM2-135M-Instruct](https://huggingface.co/HuggingFaceTB/SmolLM2-135M-Instruct).
|
| 30 |
+
|
| 31 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 32 |
+
|
| 33 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 34 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 35 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 36 |
+
</a>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
## Prompt template
|
| 40 |
+
|
| 41 |
+
```
|
| 42 |
+
<|im_start|>system
|
| 43 |
+
{system_prompt}<|im_end|>
|
| 44 |
+
<|im_start|>user
|
| 45 |
+
{prompt}<|im_end|>
|
| 46 |
+
<|im_start|>assistant
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Model file specification
|
| 50 |
+
|
| 51 |
+
| Filename | Quant type | File Size | Description |
|
| 52 |
+
| -------- | ---------- | --------- | ----------- |
|
| 53 |
+
| [SmolLM2-135M-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q2_K.gguf) | Q2_K | 0.088 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 54 |
+
| [SmolLM2-135M-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q3_K_S.gguf) | Q3_K_S | 0.088 GB | very small, high quality loss |
|
| 55 |
+
| [SmolLM2-135M-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q3_K_M.gguf) | Q3_K_M | 0.094 GB | very small, high quality loss |
|
| 56 |
+
| [SmolLM2-135M-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q3_K_L.gguf) | Q3_K_L | 0.098 GB | small, substantial quality loss |
|
| 57 |
+
| [SmolLM2-135M-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q4_0.gguf) | Q4_0 | 0.092 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 58 |
+
| [SmolLM2-135M-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q4_K_S.gguf) | Q4_K_S | 0.102 GB | small, greater quality loss |
|
| 59 |
+
| [SmolLM2-135M-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q4_K_M.gguf) | Q4_K_M | 0.105 GB | medium, balanced quality - recommended |
|
| 60 |
+
| [SmolLM2-135M-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q5_0.gguf) | Q5_0 | 0.105 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 61 |
+
| [SmolLM2-135M-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q5_K_S.gguf) | Q5_K_S | 0.110 GB | large, low quality loss - recommended |
|
| 62 |
+
| [SmolLM2-135M-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q5_K_M.gguf) | Q5_K_M | 0.112 GB | large, very low quality loss - recommended |
|
| 63 |
+
| [SmolLM2-135M-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q6_K.gguf) | Q6_K | 0.138 GB | very large, extremely low quality loss |
|
| 64 |
+
| [SmolLM2-135M-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/SmolLM2-135M-Instruct-GGUF/blob/main/SmolLM2-135M-Instruct-Q8_0.gguf) | Q8_0 | 0.145 GB | very large, extremely low quality loss - not recommended |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Downloading instruction
|
| 68 |
+
|
| 69 |
+
### Command line
|
| 70 |
+
|
| 71 |
+
Firstly, install Huggingface Client
|
| 72 |
+
|
| 73 |
+
```shell
|
| 74 |
+
pip install -U "huggingface_hub[cli]"
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Then, downoad the individual model file the a local directory
|
| 78 |
+
|
| 79 |
+
```shell
|
| 80 |
+
huggingface-cli download tensorblock/SmolLM2-135M-Instruct-GGUF --include "SmolLM2-135M-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 84 |
+
|
| 85 |
+
```shell
|
| 86 |
+
huggingface-cli download tensorblock/SmolLM2-135M-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 87 |
+
```
|
SmolLM2-135M-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7ef35ffb61c7ad8680be32552ffcb43baa3c4b59724936dd17ebd06eba41e1f
|
| 3 |
+
size 88202144
|
SmolLM2-135M-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5178ce58468247aea50c16879f4978fb2836170c7e81eac6255355d2e090ce7
|
| 3 |
+
size 97533344
|
SmolLM2-135M-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:efc9898eef3e7571a2e1d71dcb26f38c57dbac6beba52c7fa4128efbc0798393
|
| 3 |
+
size 93510560
|
SmolLM2-135M-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6ceb704ef5973c5c6d3cf32f6be6a0285b16e1b16ddbd7054610c47bd47dd72
|
| 3 |
+
size 88202144
|
SmolLM2-135M-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6154a5e93fe0e7c64b2ca48089f40fa1d755f4e6310089f48c8a7adeaabc94dc
|
| 3 |
+
size 91727264
|
SmolLM2-135M-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c59053718380427d8125b646b226d1dc5c1837b5ae7ca1f7c8e3acb15dcc5d98
|
| 3 |
+
size 105454496
|
SmolLM2-135M-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64fb31e4101c396339f12167832aee54fb75e33815e1595f8aef485fc7cfdc4b
|
| 3 |
+
size 102039968
|
SmolLM2-135M-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cb02519d5022261a2c3050c56e6cf84bc94e48fe91524772b4fb0d1a2eef5e3
|
| 3 |
+
size 104998304
|
SmolLM2-135M-Instruct-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7691b5c98f7f165c6c92ff4659dcca3e90bdf55581df60866543fddb66589dd1
|
| 3 |
+
size 112103840
|
SmolLM2-135M-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a0fcb31d997d4b9a59cea48b7016ac3e5053c1a9ed80acd141412adfd3ddeeee
|
| 3 |
+
size 109974944
|
SmolLM2-135M-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:327eace3d0286329e6de8133eaff1225e576f8a0fbe5d844c34438686cb4c02d
|
| 3 |
+
size 138383264
|
SmolLM2-135M-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:44907029bd9e355417140fc218fc3c8fdef1b3f2cdc33db3320bc86286c56d35
|
| 3 |
+
size 144811424
|