morriszms commited on
Commit
a953612
1 Parent(s): c91ece7

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-1.8B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Sailor-1.8B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Sailor-1.8B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Sailor-1.8B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Sailor-1.8B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Sailor-1.8B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Sailor-1.8B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Sailor-1.8B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Sailor-1.8B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Sailor-1.8B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Sailor-1.8B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Sailor-1.8B-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-1.8B
23
+ inference: false
24
+ model-index:
25
+ - name: Sailor-1.8B
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: 32.72
35
+ name: EM (3-Shot)
36
+ - type: F1 (3-Shot)
37
+ value: 48.66
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: 40.88
47
+ name: EM (3-Shot)
48
+ - type: F1 (3-Shot)
49
+ value: 65.37
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: 34.22
59
+ name: EM (3-Shot)
60
+ - type: F1 (3-Shot)
61
+ value: 53.35
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.8
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: 64.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: 63.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: 25.38
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: 28.3
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: 34.71
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: 34.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: 34.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: 35.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-1.8B - GGUF
158
+
159
+ This repo contains GGUF format model files for [sail/Sailor-1.8B](https://huggingface.co/sail/Sailor-1.8B).
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-1.8B-Q2_K.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q2_K.gguf) | Q2_K | 0.847 GB | smallest, significant quality loss - not recommended for most purposes |
184
+ | [Sailor-1.8B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q3_K_S.gguf) | Q3_K_S | 0.954 GB | very small, high quality loss |
185
+ | [Sailor-1.8B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q3_K_M.gguf) | Q3_K_M | 1.016 GB | very small, high quality loss |
186
+ | [Sailor-1.8B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q3_K_L.gguf) | Q3_K_L | 1.056 GB | small, substantial quality loss |
187
+ | [Sailor-1.8B-Q4_0.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q4_0.gguf) | Q4_0 | 1.120 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
188
+ | [Sailor-1.8B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q4_K_S.gguf) | Q4_K_S | 1.158 GB | small, greater quality loss |
189
+ | [Sailor-1.8B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q4_K_M.gguf) | Q4_K_M | 1.218 GB | medium, balanced quality - recommended |
190
+ | [Sailor-1.8B-Q5_0.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q5_0.gguf) | Q5_0 | 1.311 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
191
+ | [Sailor-1.8B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q5_K_S.gguf) | Q5_K_S | 1.328 GB | large, low quality loss - recommended |
192
+ | [Sailor-1.8B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q5_K_M.gguf) | Q5_K_M | 1.377 GB | large, very low quality loss - recommended |
193
+ | [Sailor-1.8B-Q6_K.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q6_K.gguf) | Q6_K | 1.579 GB | very large, extremely low quality loss |
194
+ | [Sailor-1.8B-Q8_0.gguf](https://huggingface.co/tensorblock/Sailor-1.8B-GGUF/blob/main/Sailor-1.8B-Q8_0.gguf) | Q8_0 | 1.958 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-1.8B-GGUF --include "Sailor-1.8B-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-1.8B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
217
+ ```
Sailor-1.8B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54bf7b6068bee4971121e96ff2687b6ff31e3a12d7f0d4b86f5dc5937ab51ddc
3
+ size 846570656
Sailor-1.8B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e82266f3052bd44ec4c093635bfa88da59b7713542450b36decdd05ce814722e
3
+ size 1056201888
Sailor-1.8B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf3fa81ff3f51289074be3dd92801574f2dec74ed5979374941e3b4f2f399c60
3
+ size 1015880864
Sailor-1.8B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3a69ae623e800dd337f88c2f10d7247f5215a47db3257c3320800a6b81ca529
3
+ size 953572512
Sailor-1.8B-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:904950e31a64552bfb264bb1a10beceb9cddc06ad69c363dd7a95faf725fbaa7
3
+ size 1120236704
Sailor-1.8B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aee1703e65ede523b6ebee06d79150a5a463d2b0a27572dc340cd4d36216c775
3
+ size 1217754272
Sailor-1.8B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1cf16210572f71f0b7ebf1744ccc24256796d8eab1920c8712b70dbe46cbf43
3
+ size 1158263968
Sailor-1.8B-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09f9df98dc31cd01bb0925c911d4dd6d5a219a6957fbb952e8b58c3b8184a378
3
+ size 1310913696
Sailor-1.8B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b15c3f42db3e47b86fb5b6846a351eb70d6f3c6307002c12c049393f6bff355
3
+ size 1376777376
Sailor-1.8B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a42d2cdf15050d1683db5e7cbb15c30e28cb6eca1e568854e6b3a8b970f554c
3
+ size 1327821984
Sailor-1.8B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7724e55040dced535cf20e354e149ab619cbfc0f48c3ba951163e3b283667bd
3
+ size 1579027616
Sailor-1.8B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57df5a62eb6752b1bdd118e17edfc50284e447cc29110c4386b747db286d45dd
3
+ size 1958304928