Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +147 -0
- Sailor2-1B-Q2_K.gguf +3 -0
- Sailor2-1B-Q3_K_L.gguf +3 -0
- Sailor2-1B-Q3_K_M.gguf +3 -0
- Sailor2-1B-Q3_K_S.gguf +3 -0
- Sailor2-1B-Q4_0.gguf +3 -0
- Sailor2-1B-Q4_K_M.gguf +3 -0
- Sailor2-1B-Q4_K_S.gguf +3 -0
- Sailor2-1B-Q5_0.gguf +3 -0
- Sailor2-1B-Q5_K_M.gguf +3 -0
- Sailor2-1B-Q5_K_S.gguf +3 -0
- Sailor2-1B-Q6_K.gguf +3 -0
- Sailor2-1B-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 |
+
Sailor2-1B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Sailor2-1B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Sailor2-1B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Sailor2-1B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Sailor2-1B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Sailor2-1B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Sailor2-1B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Sailor2-1B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Sailor2-1B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Sailor2-1B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Sailor2-1B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Sailor2-1B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
- zh
|
5 |
+
- id
|
6 |
+
- th
|
7 |
+
- vi
|
8 |
+
- ms
|
9 |
+
- lo
|
10 |
+
- my
|
11 |
+
- jv
|
12 |
+
- km
|
13 |
+
- su
|
14 |
+
- tl
|
15 |
+
tags:
|
16 |
+
- multilingual
|
17 |
+
- sea
|
18 |
+
- sailor
|
19 |
+
- TensorBlock
|
20 |
+
- GGUF
|
21 |
+
widget:
|
22 |
+
- text: 如何制作烤鱼?
|
23 |
+
example_title: Chinese
|
24 |
+
- text: How to bake fish?
|
25 |
+
example_title: English
|
26 |
+
- text: Bagaimana cara memanggang ikan?
|
27 |
+
example_title: Malay
|
28 |
+
- text: วิธีย่างปลา?
|
29 |
+
example_title: Thai
|
30 |
+
- text: Bagaimana membuat bakaran ikan?
|
31 |
+
example_title: Indonesian
|
32 |
+
- text: Làm thế nào để nướng cá?
|
33 |
+
example_title: Vietnamese
|
34 |
+
license: apache-2.0
|
35 |
+
base_model: sail/Sailor2-1B
|
36 |
+
library_name: transformers
|
37 |
+
pipeline_tag: text-generation
|
38 |
+
---
|
39 |
+
|
40 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
41 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
42 |
+
</div>
|
43 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
44 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
45 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
46 |
+
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>
|
47 |
+
</p>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
## sail/Sailor2-1B - GGUF
|
52 |
+
|
53 |
+
This repo contains GGUF format model files for [sail/Sailor2-1B](https://huggingface.co/sail/Sailor2-1B).
|
54 |
+
|
55 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b5165](https://github.com/ggml-org/llama.cpp/commit/1d735c0b4fa0551c51c2f4ac888dd9a01f447985).
|
56 |
+
|
57 |
+
## Our projects
|
58 |
+
<table border="1" cellspacing="0" cellpadding="10">
|
59 |
+
<tr>
|
60 |
+
<th style="font-size: 25px;">Awesome MCP Servers</th>
|
61 |
+
<th style="font-size: 25px;">TensorBlock Studio</th>
|
62 |
+
</tr>
|
63 |
+
<tr>
|
64 |
+
<th><img src="https://imgur.com/2Xov7B7.jpeg" alt="Project A" width="450"/></th>
|
65 |
+
<th><img src="https://imgur.com/pJcmF5u.jpeg" alt="Project B" width="450"/></th>
|
66 |
+
</tr>
|
67 |
+
<tr>
|
68 |
+
<th>A comprehensive collection of Model Context Protocol (MCP) servers.</th>
|
69 |
+
<th>A lightweight, open, and extensible multi-LLM interaction studio.</th>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<th>
|
73 |
+
<a href="https://github.com/TensorBlock/awesome-mcp-servers" target="_blank" style="
|
74 |
+
display: inline-block;
|
75 |
+
padding: 8px 16px;
|
76 |
+
background-color: #FF7F50;
|
77 |
+
color: white;
|
78 |
+
text-decoration: none;
|
79 |
+
border-radius: 6px;
|
80 |
+
font-weight: bold;
|
81 |
+
font-family: sans-serif;
|
82 |
+
">👀 See what we built 👀</a>
|
83 |
+
</th>
|
84 |
+
<th>
|
85 |
+
<a href="https://github.com/TensorBlock/TensorBlock-Studio" target="_blank" style="
|
86 |
+
display: inline-block;
|
87 |
+
padding: 8px 16px;
|
88 |
+
background-color: #FF7F50;
|
89 |
+
color: white;
|
90 |
+
text-decoration: none;
|
91 |
+
border-radius: 6px;
|
92 |
+
font-weight: bold;
|
93 |
+
font-family: sans-serif;
|
94 |
+
">👀 See what we built 👀</a>
|
95 |
+
</th>
|
96 |
+
</tr>
|
97 |
+
</table>
|
98 |
+
|
99 |
+
## Prompt template
|
100 |
+
|
101 |
+
```
|
102 |
+
<|im_start|>system
|
103 |
+
{system_prompt}<|im_end|>
|
104 |
+
<|im_start|>user
|
105 |
+
{prompt}<|im_end|>
|
106 |
+
<|im_start|>assistant
|
107 |
+
```
|
108 |
+
|
109 |
+
## Model file specification
|
110 |
+
|
111 |
+
| Filename | Quant type | File Size | Description |
|
112 |
+
| -------- | ---------- | --------- | ----------- |
|
113 |
+
| [Sailor2-1B-Q2_K.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q2_K.gguf) | Q2_K | 0.603 GB | smallest, significant quality loss - not recommended for most purposes |
|
114 |
+
| [Sailor2-1B-Q3_K_S.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q3_K_S.gguf) | Q3_K_S | 0.603 GB | very small, high quality loss |
|
115 |
+
| [Sailor2-1B-Q3_K_M.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q3_K_M.gguf) | Q3_K_M | 0.637 GB | very small, high quality loss |
|
116 |
+
| [Sailor2-1B-Q3_K_L.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q3_K_L.gguf) | Q3_K_L | 0.665 GB | small, substantial quality loss |
|
117 |
+
| [Sailor2-1B-Q4_0.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q4_0.gguf) | Q4_0 | 0.630 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
118 |
+
| [Sailor2-1B-Q4_K_S.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q4_K_S.gguf) | Q4_K_S | 0.714 GB | small, greater quality loss |
|
119 |
+
| [Sailor2-1B-Q4_K_M.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q4_K_M.gguf) | Q4_K_M | 0.739 GB | medium, balanced quality - recommended |
|
120 |
+
| [Sailor2-1B-Q5_0.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q5_0.gguf) | Q5_0 | 0.737 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
121 |
+
| [Sailor2-1B-Q5_K_S.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q5_K_S.gguf) | Q5_K_S | 0.777 GB | large, low quality loss - recommended |
|
122 |
+
| [Sailor2-1B-Q5_K_M.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q5_K_M.gguf) | Q5_K_M | 0.792 GB | large, very low quality loss - recommended |
|
123 |
+
| [Sailor2-1B-Q6_K.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q6_K.gguf) | Q6_K | 1.006 GB | very large, extremely low quality loss |
|
124 |
+
| [Sailor2-1B-Q8_0.gguf](https://huggingface.co/tensorblock/sail_Sailor2-1B-GGUF/blob/main/Sailor2-1B-Q8_0.gguf) | Q8_0 | 1.056 GB | very large, extremely low quality loss - not recommended |
|
125 |
+
|
126 |
+
|
127 |
+
## Downloading instruction
|
128 |
+
|
129 |
+
### Command line
|
130 |
+
|
131 |
+
Firstly, install Huggingface Client
|
132 |
+
|
133 |
+
```shell
|
134 |
+
pip install -U "huggingface_hub[cli]"
|
135 |
+
```
|
136 |
+
|
137 |
+
Then, downoad the individual model file the a local directory
|
138 |
+
|
139 |
+
```shell
|
140 |
+
huggingface-cli download tensorblock/sail_Sailor2-1B-GGUF --include "Sailor2-1B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
141 |
+
```
|
142 |
+
|
143 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
144 |
+
|
145 |
+
```shell
|
146 |
+
huggingface-cli download tensorblock/sail_Sailor2-1B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
147 |
+
```
|
Sailor2-1B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0ed9248b07c13563bd4e86a6a16a31a970845296857ce324bad17b6a79c7d05
|
3 |
+
size 603212160
|
Sailor2-1B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3107cba85a7cb2047f29f7e428403de2316e0dd5b7ae3f63639d0898ee2f8287
|
3 |
+
size 664713600
|
Sailor2-1B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0827217fd99164e99f138f96d675b5c73633d65a7afb5d67361a6e1c4a660745
|
3 |
+
size 637460864
|
Sailor2-1B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e29fc6d5a1b24ce455e81ab62492917edd6d3888b61c6685a30cd76ee7c682ac
|
3 |
+
size 602524032
|
Sailor2-1B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c62a30b7fdcc5476b30aa55b23b2d907549650442ca09c10e6302f0ea3e5fe1d
|
3 |
+
size 630307200
|
Sailor2-1B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6635d965310a629f441d5fd173be5d8dcee809a1ee654455f76836e3cdf16ea1
|
3 |
+
size 738630016
|
Sailor2-1B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:919792cf7a4e996f84f007bdc0c473488e4abdd93b64f4bfa02edf713cc12c79
|
3 |
+
size 713929088
|
Sailor2-1B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3782ffe3f2c7081ac68b71b2d0db2db754aa55ae7cea45e049974d91cc8a83da
|
3 |
+
size 736780672
|
Sailor2-1B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d4ac722e2803c55761bb04d081d3459bc0d807db0b720bea056ba7fbdf01b444
|
3 |
+
size 791694720
|
Sailor2-1B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:71635eb1cfc74e0b386da10724e5e4b0bfd64476396ac1626f25296dc01a8f84
|
3 |
+
size 776942976
|
Sailor2-1B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7d4ec27079595f2b54f6493d5381ac68c0756b56f256a4e49ad969689244714
|
3 |
+
size 1005537664
|
Sailor2-1B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:621eebc964334f1f1bbe1a0b0ab450ad706e389ceedb12a1fe35b06d417b14e9
|
3 |
+
size 1056201088
|