Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +217 -0
- Sailor-0.5B-Q2_K.gguf +3 -0
- Sailor-0.5B-Q3_K_L.gguf +3 -0
- Sailor-0.5B-Q3_K_M.gguf +3 -0
- Sailor-0.5B-Q3_K_S.gguf +3 -0
- Sailor-0.5B-Q4_0.gguf +3 -0
- Sailor-0.5B-Q4_K_M.gguf +3 -0
- Sailor-0.5B-Q4_K_S.gguf +3 -0
- Sailor-0.5B-Q5_0.gguf +3 -0
- Sailor-0.5B-Q5_K_M.gguf +3 -0
- Sailor-0.5B-Q5_K_S.gguf +3 -0
- Sailor-0.5B-Q6_K.gguf +3 -0
- Sailor-0.5B-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 |
+
Sailor-0.5B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Sailor-0.5B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Sailor-0.5B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Sailor-0.5B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Sailor-0.5B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Sailor-0.5B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Sailor-0.5B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Sail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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- zh
|
5 |
+
- id
|
6 |
+
- th
|
7 |
+
- vi
|
8 |
+
- ms
|
9 |
+
- lo
|
10 |
+
datasets:
|
11 |
+
- cerebras/SlimPajama-627B
|
12 |
+
- Skywork/SkyPile-150B
|
13 |
+
- allenai/MADLAD-400
|
14 |
+
- cc100
|
15 |
+
tags:
|
16 |
+
- multilingual
|
17 |
+
- sea
|
18 |
+
- sailor
|
19 |
+
- TensorBlock
|
20 |
+
- GGUF
|
21 |
+
license: apache-2.0
|
22 |
+
base_model: sail/Sailor-0.5B
|
23 |
+
inference: false
|
24 |
+
model-index:
|
25 |
+
- name: Sailor-0.5B
|
26 |
+
results:
|
27 |
+
- task:
|
28 |
+
type: text-generation
|
29 |
+
dataset:
|
30 |
+
name: XQuAD-Thai
|
31 |
+
type: XQuAD-Thai
|
32 |
+
metrics:
|
33 |
+
- type: EM (3-Shot)
|
34 |
+
value: 15.84
|
35 |
+
name: EM (3-Shot)
|
36 |
+
- type: F1 (3-Shot)
|
37 |
+
value: 27.58
|
38 |
+
name: F1 (3-Shot)
|
39 |
+
- task:
|
40 |
+
type: text-generation
|
41 |
+
dataset:
|
42 |
+
name: TyDiQA-Indonesian
|
43 |
+
type: TyDiQA-Indonesian
|
44 |
+
metrics:
|
45 |
+
- type: EM (3-Shot)
|
46 |
+
value: 30.44
|
47 |
+
name: EM (3-Shot)
|
48 |
+
- type: F1 (3-Shot)
|
49 |
+
value: 54.74
|
50 |
+
name: F1 (3-Shot)
|
51 |
+
- task:
|
52 |
+
type: text-generation
|
53 |
+
dataset:
|
54 |
+
name: XQuAD-Vietnamese
|
55 |
+
type: XQuAD-Vietnamese
|
56 |
+
metrics:
|
57 |
+
- type: EM (3-Shot)
|
58 |
+
value: 21.13
|
59 |
+
name: EM (3-Shot)
|
60 |
+
- type: F1 (3-Shot)
|
61 |
+
value: 40.57
|
62 |
+
name: F1 (3-Shot)
|
63 |
+
- task:
|
64 |
+
type: text-generation
|
65 |
+
dataset:
|
66 |
+
name: XCOPA-Thai
|
67 |
+
type: XCOPA-Thai
|
68 |
+
metrics:
|
69 |
+
- type: EM (3-Shot)
|
70 |
+
value: 51.0
|
71 |
+
name: EM (3-Shot)
|
72 |
+
- task:
|
73 |
+
type: text-generation
|
74 |
+
dataset:
|
75 |
+
name: XCOPA-Indonesian
|
76 |
+
type: XCOPA-Indonesian
|
77 |
+
metrics:
|
78 |
+
- type: EM (3-Shot)
|
79 |
+
value: 58.2
|
80 |
+
name: EM (3-Shot)
|
81 |
+
- task:
|
82 |
+
type: text-generation
|
83 |
+
dataset:
|
84 |
+
name: XCOPA-Vietnamese
|
85 |
+
type: XCOPA-Vietnamese
|
86 |
+
metrics:
|
87 |
+
- type: EM (3-Shot)
|
88 |
+
value: 58.0
|
89 |
+
name: EM (3-Shot)
|
90 |
+
- task:
|
91 |
+
type: text-generation
|
92 |
+
dataset:
|
93 |
+
name: M3Exam-Thai
|
94 |
+
type: M3Exam-Thai
|
95 |
+
metrics:
|
96 |
+
- type: EM (3-Shot)
|
97 |
+
value: 24.41
|
98 |
+
name: EM (3-Shot)
|
99 |
+
- task:
|
100 |
+
type: text-generation
|
101 |
+
dataset:
|
102 |
+
name: M3Exam-Indonesian
|
103 |
+
type: M3Exam-Indonesian
|
104 |
+
metrics:
|
105 |
+
- type: EM (3-Shot)
|
106 |
+
value: 26.15
|
107 |
+
name: EM (3-Shot)
|
108 |
+
- task:
|
109 |
+
type: text-generation
|
110 |
+
dataset:
|
111 |
+
name: M3Exam-Vietnamese
|
112 |
+
type: M3Exam-Vietnamese
|
113 |
+
metrics:
|
114 |
+
- type: EM (3-Shot)
|
115 |
+
value: 30.91
|
116 |
+
name: EM (3-Shot)
|
117 |
+
- task:
|
118 |
+
type: text-generation
|
119 |
+
dataset:
|
120 |
+
name: BELEBELE-Thai
|
121 |
+
type: BELEBELE-Thai
|
122 |
+
metrics:
|
123 |
+
- type: EM (3-Shot)
|
124 |
+
value: 32.22
|
125 |
+
name: EM (3-Shot)
|
126 |
+
- task:
|
127 |
+
type: text-generation
|
128 |
+
dataset:
|
129 |
+
name: BELEBELE-Indonesian
|
130 |
+
type: BELEBELE-Indonesian
|
131 |
+
metrics:
|
132 |
+
- type: EM (3-Shot)
|
133 |
+
value: 30.89
|
134 |
+
name: EM (3-Shot)
|
135 |
+
- task:
|
136 |
+
type: text-generation
|
137 |
+
dataset:
|
138 |
+
name: BELEBELE-Vietnamese
|
139 |
+
type: BELEBELE-Vietnamese
|
140 |
+
metrics:
|
141 |
+
- type: EM (3-Shot)
|
142 |
+
value: 32.33
|
143 |
+
name: EM (3-Shot)
|
144 |
+
---
|
145 |
+
|
146 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
147 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
148 |
+
</div>
|
149 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
150 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
151 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
152 |
+
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>
|
153 |
+
</p>
|
154 |
+
</div>
|
155 |
+
</div>
|
156 |
+
|
157 |
+
## sail/Sailor-0.5B - GGUF
|
158 |
+
|
159 |
+
This repo contains GGUF format model files for [sail/Sailor-0.5B](https://huggingface.co/sail/Sailor-0.5B).
|
160 |
+
|
161 |
+
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).
|
162 |
+
|
163 |
+
<div style="text-align: left; margin: 20px 0;">
|
164 |
+
<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;">
|
165 |
+
Run them on the TensorBlock client using your local machine ↗
|
166 |
+
</a>
|
167 |
+
</div>
|
168 |
+
|
169 |
+
## Prompt template
|
170 |
+
|
171 |
+
```
|
172 |
+
<|im_start|>system
|
173 |
+
{system_prompt}<|im_end|>
|
174 |
+
<|im_start|>user
|
175 |
+
{prompt}<|im_end|>
|
176 |
+
<|im_start|>assistant
|
177 |
+
```
|
178 |
+
|
179 |
+
## Model file specification
|
180 |
+
|
181 |
+
| Filename | Quant type | File Size | Description |
|
182 |
+
| -------- | ---------- | --------- | ----------- |
|
183 |
+
| [Sailor-0.5B-Q2_K.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q2_K.gguf) | Q2_K | 0.278 GB | smallest, significant quality loss - not recommended for most purposes |
|
184 |
+
| [Sailor-0.5B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q3_K_S.gguf) | Q3_K_S | 0.310 GB | very small, high quality loss |
|
185 |
+
| [Sailor-0.5B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q3_K_M.gguf) | Q3_K_M | 0.326 GB | very small, high quality loss |
|
186 |
+
| [Sailor-0.5B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q3_K_L.gguf) | Q3_K_L | 0.339 GB | small, substantial quality loss |
|
187 |
+
| [Sailor-0.5B-Q4_0.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q4_0.gguf) | Q4_0 | 0.368 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
188 |
+
| [Sailor-0.5B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q4_K_S.gguf) | Q4_K_S | 0.369 GB | small, greater quality loss |
|
189 |
+
| [Sailor-0.5B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q4_K_M.gguf) | Q4_K_M | 0.379 GB | medium, balanced quality - recommended |
|
190 |
+
| [Sailor-0.5B-Q5_0.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q5_0.gguf) | Q5_0 | 0.422 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
191 |
+
| [Sailor-0.5B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q5_K_S.gguf) | Q5_K_S | 0.422 GB | large, low quality loss - recommended |
|
192 |
+
| [Sailor-0.5B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q5_K_M.gguf) | Q5_K_M | 0.428 GB | large, very low quality loss - recommended |
|
193 |
+
| [Sailor-0.5B-Q6_K.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q6_K.gguf) | Q6_K | 0.479 GB | very large, extremely low quality loss |
|
194 |
+
| [Sailor-0.5B-Q8_0.gguf](https://huggingface.co/tensorblock/Sailor-0.5B-GGUF/blob/main/Sailor-0.5B-Q8_0.gguf) | Q8_0 | 0.619 GB | very large, extremely low quality loss - not recommended |
|
195 |
+
|
196 |
+
|
197 |
+
## Downloading instruction
|
198 |
+
|
199 |
+
### Command line
|
200 |
+
|
201 |
+
Firstly, install Huggingface Client
|
202 |
+
|
203 |
+
```shell
|
204 |
+
pip install -U "huggingface_hub[cli]"
|
205 |
+
```
|
206 |
+
|
207 |
+
Then, downoad the individual model file the a local directory
|
208 |
+
|
209 |
+
```shell
|
210 |
+
huggingface-cli download tensorblock/Sailor-0.5B-GGUF --include "Sailor-0.5B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
211 |
+
```
|
212 |
+
|
213 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
214 |
+
|
215 |
+
```shell
|
216 |
+
huggingface-cli download tensorblock/Sailor-0.5B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
217 |
+
```
|
Sailor-0.5B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:652c9e80265fef94d5a864f0cfb3d3f1d37133483a5b6c1dfae2dedf67be5626
|
3 |
+
size 298413632
|
Sailor-0.5B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86c09733115957595f14f35f61cc8858a95033e7244bc4a3a7f88ad8b1eda7f0
|
3 |
+
size 364202560
|
Sailor-0.5B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a96c751cc2912ec862d0b0b7656cbb148a00cbbf6ea6e68a2a5c63435d4bbe20
|
3 |
+
size 349882944
|
Sailor-0.5B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77ffe12d476fd8a88068f592bd7ccbb5751383e2af042140195b0019bab65ed2
|
3 |
+
size 333384256
|
Sailor-0.5B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cc7662be07effe67f1450059ca4808e2540bcada45774d099a2e90d80671195
|
3 |
+
size 394991168
|
Sailor-0.5B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aae90d417ddd9494d9fbbea4f47170633ca291316bbb3cad05a3824ce5260f75
|
3 |
+
size 407156288
|
Sailor-0.5B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fbb69d49567d517fb76ffd95a8fb54268f2fe57057464139153d47358b5c05b
|
3 |
+
size 396596800
|
Sailor-0.5B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84531199b7c35014ddae6e73b49f881649653337765cf7f09426253e7accb2c1
|
3 |
+
size 452974144
|
Sailor-0.5B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6228004aaf47b57a3448124684e8371e6b1ebf782f462f4d7856818d619362a1
|
3 |
+
size 459241024
|
Sailor-0.5B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:20e739f6b0011796d3353283d4f41e87392771c688cee390a0f62824be6f7a56
|
3 |
+
size 452974144
|
Sailor-0.5B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adae6de19b82ab60090296390fbdcb79fa3d72dedd79274d8ba24c5119e458f4
|
3 |
+
size 514581056
|
Sailor-0.5B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:556f506212c7a04e5cbb2a86f01ef9fee65ae0cd5a997905316ec08d518e0338
|
3 |
+
size 664603200
|