morriszms commited on
Commit
426e140
1 Parent(s): d07d5d2

Upload folder using huggingface_hub

Browse files
.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-4B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Sailor-4B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Sailor-4B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Sailor-4B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Sailor-4B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Sailor-4B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Sailor-4B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Sailor-4B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Sailor-4B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Sailor-4B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Sailor-4B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Sailor-4B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,217 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-4B
23
+ inference: false
24
+ model-index:
25
+ - name: Sailor-4B
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: 46.82
35
+ name: EM (3-Shot)
36
+ - type: F1 (3-Shot)
37
+ value: 63.34
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: 53.98
47
+ name: EM (3-Shot)
48
+ - type: F1 (3-Shot)
49
+ value: 73.48
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: 47.65
59
+ name: EM (3-Shot)
60
+ - type: F1 (3-Shot)
61
+ value: 67.09
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: 53.4
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: 69.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: 68.2
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: 27.88
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: 31.27
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: 40.69
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: 36.11
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: 41.33
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: 38.89
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-4B - GGUF
158
+
159
+ This repo contains GGUF format model files for [sail/Sailor-4B](https://huggingface.co/sail/Sailor-4B).
160
+
161
+ The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4242](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-4B-Q2_K.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q2_K.gguf) | Q2_K | 1.621 GB | smallest, significant quality loss - not recommended for most purposes |
184
+ | [Sailor-4B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q3_K_S.gguf) | Q3_K_S | 1.857 GB | very small, high quality loss |
185
+ | [Sailor-4B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q3_K_M.gguf) | Q3_K_M | 2.027 GB | very small, high quality loss |
186
+ | [Sailor-4B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q3_K_L.gguf) | Q3_K_L | 2.175 GB | small, substantial quality loss |
187
+ | [Sailor-4B-Q4_0.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q4_0.gguf) | Q4_0 | 2.330 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
188
+ | [Sailor-4B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q4_K_S.gguf) | Q4_K_S | 2.344 GB | small, greater quality loss |
189
+ | [Sailor-4B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q4_K_M.gguf) | Q4_K_M | 2.455 GB | medium, balanced quality - recommended |
190
+ | [Sailor-4B-Q5_0.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q5_0.gguf) | Q5_0 | 2.775 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
191
+ | [Sailor-4B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q5_K_S.gguf) | Q5_K_S | 2.775 GB | large, low quality loss - recommended |
192
+ | [Sailor-4B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q5_K_M.gguf) | Q5_K_M | 2.840 GB | large, very low quality loss - recommended |
193
+ | [Sailor-4B-Q6_K.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q6_K.gguf) | Q6_K | 3.248 GB | very large, extremely low quality loss |
194
+ | [Sailor-4B-Q8_0.gguf](https://huggingface.co/tensorblock/Sailor-4B-GGUF/blob/main/Sailor-4B-Q8_0.gguf) | Q8_0 | 4.205 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-4B-GGUF --include "Sailor-4B-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-4B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
217
+ ```
Sailor-4B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cd005efcc6933939608f551e1c731b87180fb2f51e1afb65758dbdc2dcd6f58
3
+ size 1620633984
Sailor-4B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2551516b2b7bcae9a813e2dbe8cbc57b3d0138f2c2bf19faf3e278deb40a1f1
3
+ size 2174799744
Sailor-4B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7ac1c47b0e51977bfc69001712487360e22e546c218f0e0f78646b76f7da632
3
+ size 2026852224
Sailor-4B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:802db9b46a5cde6e53b3cd88f83d9eb6db20935eb46b0d7739b8ff0e11e4f8b6
3
+ size 1857154944
Sailor-4B-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a69071f2e25f7383205396b5c4b253a0afc0adb7a30ca429bbb6e81ffd4eed
3
+ size 2330086784
Sailor-4B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8373c2dabd1bcbf7ce762f456ff4a952f98da486329a247779cfbd4f48312dfc
3
+ size 2455117184
Sailor-4B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5df58898346482577bae4cbc1f1d84c548f4e9c1f108731533a03f40811863e3
3
+ size 2344422784
Sailor-4B-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:562854e22b1fd5e509c1dfa1c5fc925151c6b996d0e538f91cbfd0d7ef4d7193
3
+ size 2775199104
Sailor-4B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9410892cc4cb46db9645a03e036b532b09048be2b9b4eb2a548eb42b6b3f2f28
3
+ size 2839608704
Sailor-4B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e773c4431125062b24ef45a8a41ea287b5dd87041adb4a9291bbe31de29d0f1
3
+ size 2775199104
Sailor-4B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c4ea14af9c612d05689f939feefb87fef5407998b7346de478027d10ce58ec5
3
+ size 3248130944
Sailor-4B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14969cb9cbc4c6e431b334e701f09d291026f9d1db395d6f08f41b55941a86c3
3
+ size 4204736384