Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- MiniCPM-2B-sft-fp32-Q2_K.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q3_K_L.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q3_K_M.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q3_K_S.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q4_0.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q4_K_M.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q4_K_S.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q5_0.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q5_K_M.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q5_K_S.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q6_K.gguf +3 -0
- MiniCPM-2B-sft-fp32-Q8_0.gguf +3 -0
- README.md +84 -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 |
+
MiniCPM-2B-sft-fp32-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
MiniCPM-2B-sft-fp32-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
MiniCPM-2B-sft-fp32-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
MiniCPM-2B-sft-fp32-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
MiniCPM-2B-sft-fp32-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
MiniCPM-2B-sft-fp32-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
MiniCPM-2B-sft-fp32-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
MiniCPM-2B-sft-fp32-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
MiniCPM-2B-sft-fp32-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
MiniCPM-2B-sft-fp32-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
MiniCPM-2B-sft-fp32-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
MiniCPM-2B-sft-fp32-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
MiniCPM-2B-sft-fp32-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11b19688ae92181074ba4d10452a65e552feb508a8a3a9601d17fb8bf1f2279d
|
3 |
+
size 1204392992
|
MiniCPM-2B-sft-fp32-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:32b3755c383bedb76120d46ac62a579583641083a6e03d2680de1f2c6d0a0612
|
3 |
+
size 1564369952
|
MiniCPM-2B-sft-fp32-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c08fd7ad72fda38da9c85fbc095dfa651d3fc1a8f84df69171344a2885f0c1a5
|
3 |
+
size 1481094176
|
MiniCPM-2B-sft-fp32-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0505320ff4f0ec342dc28b703a900ab8234eaa551de257c6d8ef2b57e5f8fd21
|
3 |
+
size 1355351072
|
MiniCPM-2B-sft-fp32-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4de7b05886fbbd9f075048cdbf638f027ec9b6d1f6b5dc979b9438ee6fe2e6ab
|
3 |
+
size 1609159712
|
MiniCPM-2B-sft-fp32-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:87b3b415bca49881b6c9b4539dd94a4a9b98cc8ef01101de45adbafb0de0cac1
|
3 |
+
size 1802419232
|
MiniCPM-2B-sft-fp32-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fcb21d7022efe744f58a995517737cf8dc533843e8136db0a5a15a883ee8ccc
|
3 |
+
size 1682316320
|
MiniCPM-2B-sft-fp32-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed8e961188e45ae829231eaf27f1fbd38151578d5a9d59f934ecc07fb394bf43
|
3 |
+
size 1914393632
|
MiniCPM-2B-sft-fp32-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f0839b8b0eda2079bf76e14bebe36381b8a32b04c74b52a6493a67e84bb91098
|
3 |
+
size 2044615712
|
MiniCPM-2B-sft-fp32-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bcb92658e62858c3b65ceefe8e0495896f7c557a0d4852adc9a9bb53d314ca08
|
3 |
+
size 1947571232
|
MiniCPM-2B-sft-fp32-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24089c4179617735760a8271d6ccce42c672ab90c71cbf95618e8c88b49dac36
|
3 |
+
size 2367267872
|
MiniCPM-2B-sft-fp32-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18404e283b6b3852367340922c28ab7c6ffb74cfc33386cbd1c5d5d31ac1a91a
|
3 |
+
size 2898591552
|
README.md
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: other
|
3 |
+
license_name: gml
|
4 |
+
license_link: https://github.com/OpenBMB/General-Model-License/blob/main/%E9%80%9A%E7%94%A8%E6%A8%A1%E5%9E%8B%E8%AE%B8%E5%8F%AF%E5%8D%8F%E8%AE%AE-%E6%9D%A5%E6%BA%90%E8%AF%B4%E6%98%8E-%E5%AE%A3%E4%BC%A0%E9%99%90%E5%88%B6-%E5%95%86%E4%B8%9A%E6%8E%88%E6%9D%83.md
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
- zh
|
8 |
+
tags:
|
9 |
+
- MiniCPM
|
10 |
+
- ModelBest
|
11 |
+
- THUNLP
|
12 |
+
- TensorBlock
|
13 |
+
- GGUF
|
14 |
+
base_model: openbmb/MiniCPM-2B-sft-fp32
|
15 |
+
---
|
16 |
+
|
17 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
18 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
19 |
+
</div>
|
20 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
21 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
22 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
23 |
+
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>
|
24 |
+
</p>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
## openbmb/MiniCPM-2B-sft-fp32 - GGUF
|
29 |
+
|
30 |
+
This repo contains GGUF format model files for [openbmb/MiniCPM-2B-sft-fp32](https://huggingface.co/openbmb/MiniCPM-2B-sft-fp32).
|
31 |
+
|
32 |
+
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).
|
33 |
+
|
34 |
+
<div style="text-align: left; margin: 20px 0;">
|
35 |
+
<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;">
|
36 |
+
Run them on the TensorBlock client using your local machine ↗
|
37 |
+
</a>
|
38 |
+
</div>
|
39 |
+
|
40 |
+
## Prompt template
|
41 |
+
|
42 |
+
```
|
43 |
+
{system_prompt}<用户>{prompt}<AI>
|
44 |
+
```
|
45 |
+
|
46 |
+
## Model file specification
|
47 |
+
|
48 |
+
| Filename | Quant type | File Size | Description |
|
49 |
+
| -------- | ---------- | --------- | ----------- |
|
50 |
+
| [MiniCPM-2B-sft-fp32-Q2_K.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q2_K.gguf) | Q2_K | 1.204 GB | smallest, significant quality loss - not recommended for most purposes |
|
51 |
+
| [MiniCPM-2B-sft-fp32-Q3_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q3_K_S.gguf) | Q3_K_S | 1.355 GB | very small, high quality loss |
|
52 |
+
| [MiniCPM-2B-sft-fp32-Q3_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q3_K_M.gguf) | Q3_K_M | 1.481 GB | very small, high quality loss |
|
53 |
+
| [MiniCPM-2B-sft-fp32-Q3_K_L.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q3_K_L.gguf) | Q3_K_L | 1.564 GB | small, substantial quality loss |
|
54 |
+
| [MiniCPM-2B-sft-fp32-Q4_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q4_0.gguf) | Q4_0 | 1.609 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
55 |
+
| [MiniCPM-2B-sft-fp32-Q4_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q4_K_S.gguf) | Q4_K_S | 1.682 GB | small, greater quality loss |
|
56 |
+
| [MiniCPM-2B-sft-fp32-Q4_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q4_K_M.gguf) | Q4_K_M | 1.802 GB | medium, balanced quality - recommended |
|
57 |
+
| [MiniCPM-2B-sft-fp32-Q5_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q5_0.gguf) | Q5_0 | 1.914 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
58 |
+
| [MiniCPM-2B-sft-fp32-Q5_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q5_K_S.gguf) | Q5_K_S | 1.948 GB | large, low quality loss - recommended |
|
59 |
+
| [MiniCPM-2B-sft-fp32-Q5_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q5_K_M.gguf) | Q5_K_M | 2.045 GB | large, very low quality loss - recommended |
|
60 |
+
| [MiniCPM-2B-sft-fp32-Q6_K.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q6_K.gguf) | Q6_K | 2.367 GB | very large, extremely low quality loss |
|
61 |
+
| [MiniCPM-2B-sft-fp32-Q8_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-sft-fp32-GGUF/blob/main/MiniCPM-2B-sft-fp32-Q8_0.gguf) | Q8_0 | 2.899 GB | very large, extremely low quality loss - not recommended |
|
62 |
+
|
63 |
+
|
64 |
+
## Downloading instruction
|
65 |
+
|
66 |
+
### Command line
|
67 |
+
|
68 |
+
Firstly, install Huggingface Client
|
69 |
+
|
70 |
+
```shell
|
71 |
+
pip install -U "huggingface_hub[cli]"
|
72 |
+
```
|
73 |
+
|
74 |
+
Then, downoad the individual model file the a local directory
|
75 |
+
|
76 |
+
```shell
|
77 |
+
huggingface-cli download tensorblock/MiniCPM-2B-sft-fp32-GGUF --include "MiniCPM-2B-sft-fp32-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
78 |
+
```
|
79 |
+
|
80 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
81 |
+
|
82 |
+
```shell
|
83 |
+
huggingface-cli download tensorblock/MiniCPM-2B-sft-fp32-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
84 |
+
```
|