morriszms commited on
Commit
7ef9008
·
verified ·
1 Parent(s): 099915f

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-7B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ Sailor-7B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ Sailor-7B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ Sailor-7B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ Sailor-7B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ Sailor-7B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ Sailor-7B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ Sailor-7B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ Sailor-7B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ Sailor-7B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ Sailor-7B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ Sailor-7B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-7B
23
+ model-index:
24
+ - name: Sailor-7B
25
+ results:
26
+ - task:
27
+ type: text-generation
28
+ dataset:
29
+ name: XQuAD-Thai
30
+ type: XQuAD-Thai
31
+ metrics:
32
+ - type: EM (3-Shot)
33
+ value: 57.88
34
+ name: EM (3-Shot)
35
+ - type: F1 (3-Shot)
36
+ value: 71.06
37
+ name: F1 (3-Shot)
38
+ - task:
39
+ type: text-generation
40
+ dataset:
41
+ name: TyDiQA-Indonesian
42
+ type: TyDiQA-Indonesian
43
+ metrics:
44
+ - type: EM (3-Shot)
45
+ value: 60.53
46
+ name: EM (3-Shot)
47
+ - type: F1 (3-Shot)
48
+ value: 75.42
49
+ name: F1 (3-Shot)
50
+ - task:
51
+ type: text-generation
52
+ dataset:
53
+ name: XQuAD-Vietnamese
54
+ type: XQuAD-Vietnamese
55
+ metrics:
56
+ - type: EM (3-Shot)
57
+ value: 53.81
58
+ name: EM (3-Shot)
59
+ - type: F1 (3-Shot)
60
+ value: 74.62
61
+ name: F1 (3-Shot)
62
+ - task:
63
+ type: text-generation
64
+ dataset:
65
+ name: XCOPA-Thai
66
+ type: XCOPA-Thai
67
+ metrics:
68
+ - type: EM (3-Shot)
69
+ value: 59.0
70
+ name: EM (3-Shot)
71
+ - task:
72
+ type: text-generation
73
+ dataset:
74
+ name: XCOPA-Indonesian
75
+ type: XCOPA-Indonesian
76
+ metrics:
77
+ - type: EM (3-Shot)
78
+ value: 72.2
79
+ name: EM (3-Shot)
80
+ - task:
81
+ type: text-generation
82
+ dataset:
83
+ name: XCOPA-Vietnamese
84
+ type: XCOPA-Vietnamese
85
+ metrics:
86
+ - type: EM (3-Shot)
87
+ value: 72.2
88
+ name: EM (3-Shot)
89
+ - task:
90
+ type: text-generation
91
+ dataset:
92
+ name: M3Exam-Thai
93
+ type: M3Exam-Thai
94
+ metrics:
95
+ - type: EM (3-Shot)
96
+ value: 30.0
97
+ name: EM (3-Shot)
98
+ - task:
99
+ type: text-generation
100
+ dataset:
101
+ name: M3Exam-Indonesian
102
+ type: M3Exam-Indonesian
103
+ metrics:
104
+ - type: EM (3-Shot)
105
+ value: 32.88
106
+ name: EM (3-Shot)
107
+ - task:
108
+ type: text-generation
109
+ dataset:
110
+ name: M3Exam-Vietnamese
111
+ type: M3Exam-Vietnamese
112
+ metrics:
113
+ - type: EM (3-Shot)
114
+ value: 44.1
115
+ name: EM (3-Shot)
116
+ - task:
117
+ type: text-generation
118
+ dataset:
119
+ name: BELEBELE-Thai
120
+ type: BELEBELE-Thai
121
+ metrics:
122
+ - type: EM (3-Shot)
123
+ value: 41.56
124
+ name: EM (3-Shot)
125
+ - task:
126
+ type: text-generation
127
+ dataset:
128
+ name: BELEBELE-Indonesian
129
+ type: BELEBELE-Indonesian
130
+ metrics:
131
+ - type: EM (3-Shot)
132
+ value: 44.33
133
+ name: EM (3-Shot)
134
+ - task:
135
+ type: text-generation
136
+ dataset:
137
+ name: BELEBELE-Vietnamese
138
+ type: BELEBELE-Vietnamese
139
+ metrics:
140
+ - type: EM (3-Shot)
141
+ value: 45.33
142
+ name: EM (3-Shot)
143
+ ---
144
+
145
+ <div style="width: auto; margin-left: auto; margin-right: auto">
146
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
147
+ </div>
148
+ <div style="display: flex; justify-content: space-between; width: 100%;">
149
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
150
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
151
+ 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>
152
+ </p>
153
+ </div>
154
+ </div>
155
+
156
+ ## sail/Sailor-7B - GGUF
157
+
158
+ This repo contains GGUF format model files for [sail/Sailor-7B](https://huggingface.co/sail/Sailor-7B).
159
+
160
+ 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).
161
+
162
+ <div style="text-align: left; margin: 20px 0;">
163
+ <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;">
164
+ Run them on the TensorBlock client using your local machine ↗
165
+ </a>
166
+ </div>
167
+
168
+ ## Prompt template
169
+
170
+ ```
171
+ <|im_start|>system
172
+ {system_prompt}<|im_end|>
173
+ <|im_start|>user
174
+ {prompt}<|im_end|>
175
+ <|im_start|>assistant
176
+ ```
177
+
178
+ ## Model file specification
179
+
180
+ | Filename | Quant type | File Size | Description |
181
+ | -------- | ---------- | --------- | ----------- |
182
+ | [Sailor-7B-Q2_K.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q2_K.gguf) | Q2_K | 3.104 GB | smallest, significant quality loss - not recommended for most purposes |
183
+ | [Sailor-7B-Q3_K_S.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q3_K_S.gguf) | Q3_K_S | 3.569 GB | very small, high quality loss |
184
+ | [Sailor-7B-Q3_K_M.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q3_K_M.gguf) | Q3_K_M | 3.919 GB | very small, high quality loss |
185
+ | [Sailor-7B-Q3_K_L.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q3_K_L.gguf) | Q3_K_L | 4.218 GB | small, substantial quality loss |
186
+ | [Sailor-7B-Q4_0.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q4_0.gguf) | Q4_0 | 4.512 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
187
+ | [Sailor-7B-Q4_K_S.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q4_K_S.gguf) | Q4_K_S | 4.543 GB | small, greater quality loss |
188
+ | [Sailor-7B-Q4_K_M.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q4_K_M.gguf) | Q4_K_M | 4.767 GB | medium, balanced quality - recommended |
189
+ | [Sailor-7B-Q5_0.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q5_0.gguf) | Q5_0 | 5.399 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
190
+ | [Sailor-7B-Q5_K_S.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q5_K_S.gguf) | Q5_K_S | 5.399 GB | large, low quality loss - recommended |
191
+ | [Sailor-7B-Q5_K_M.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q5_K_M.gguf) | Q5_K_M | 5.531 GB | large, very low quality loss - recommended |
192
+ | [Sailor-7B-Q6_K.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q6_K.gguf) | Q6_K | 6.342 GB | very large, extremely low quality loss |
193
+ | [Sailor-7B-Q8_0.gguf](https://huggingface.co/tensorblock/Sailor-7B-GGUF/blob/main/Sailor-7B-Q8_0.gguf) | Q8_0 | 8.212 GB | very large, extremely low quality loss - not recommended |
194
+
195
+
196
+ ## Downloading instruction
197
+
198
+ ### Command line
199
+
200
+ Firstly, install Huggingface Client
201
+
202
+ ```shell
203
+ pip install -U "huggingface_hub[cli]"
204
+ ```
205
+
206
+ Then, downoad the individual model file the a local directory
207
+
208
+ ```shell
209
+ huggingface-cli download tensorblock/Sailor-7B-GGUF --include "Sailor-7B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
210
+ ```
211
+
212
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
213
+
214
+ ```shell
215
+ huggingface-cli download tensorblock/Sailor-7B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
216
+ ```
Sailor-7B-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:915ed31e5d43dfe29b8e3f3eb6055000141b1785167f24bbb0b845eef4da9688
3
+ size 3103826432
Sailor-7B-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4876d1859d5c5a19814f8db1084e72eac6f9c1256c020d392c4f1f2aeb5bc95
3
+ size 4217967104
Sailor-7B-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2aff10fda5b314017199bf4a699a4093b89b05ea50134cc266c28bed060a3d3b
3
+ size 3918860800
Sailor-7B-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f79df606d0fd8f6f6b8105bd7f30094cfd3b3124f4709662edbd5ec0a261c8fb
3
+ size 3569160704
Sailor-7B-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f27b03babe739cfcaecae8980e62d16443317f607f054ea8c8fe75a4c9954fa2
3
+ size 4511908352
Sailor-7B-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1337ff48a21434c6e6e2cbabb24406a5c0d9c3b9d175ad981741467e15a74f1f
3
+ size 4767105536
Sailor-7B-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e374d5e17e0708b16967e34dee2d4bc1b3f0a3dbaaebc8ded3d666225c5446ca
3
+ size 4542841344
Sailor-7B-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9130b026bc52d5cdfe53f1ccd9f7a59394c6afa1d14260172dcadbf242ad9fe
3
+ size 5399200256
Sailor-7B-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:142df9b4faaf6981405578ab1c3710572dd74be183ef3272f5c4334827892bad
3
+ size 5530665472
Sailor-7B-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad00d2b990fd572827dd4c6d9c841b5d5f026fadb44498c5c303bd697e189ac1
3
+ size 5399200256
Sailor-7B-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc1caaa1eff39c955e96f3ffd92cd291e36e6d74270f27518469cc15997ad0d6
3
+ size 6341947904
Sailor-7B-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b212976638cd4909ff6b674f2fa82490a84eed35572cc39a73c3d53067471fd
3
+ size 8211796480