Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- MiniCPM3-4B-Q2_K.gguf +3 -0
- MiniCPM3-4B-Q3_K_L.gguf +3 -0
- MiniCPM3-4B-Q3_K_M.gguf +3 -0
- MiniCPM3-4B-Q3_K_S.gguf +3 -0
- MiniCPM3-4B-Q4_0.gguf +3 -0
- MiniCPM3-4B-Q4_K_M.gguf +3 -0
- MiniCPM3-4B-Q4_K_S.gguf +3 -0
- MiniCPM3-4B-Q5_0.gguf +3 -0
- MiniCPM3-4B-Q5_K_M.gguf +3 -0
- MiniCPM3-4B-Q5_K_S.gguf +3 -0
- MiniCPM3-4B-Q6_K.gguf +3 -0
- MiniCPM3-4B-Q8_0.gguf +3 -0
- README.md +85 -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 |
+
MiniCPM3-4B-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
MiniCPM3-4B-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
MiniCPM3-4B-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
MiniCPM3-4B-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
MiniCPM3-4B-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
MiniCPM3-4B-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
MiniCPM3-4B-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
MiniCPM3-4B-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
MiniCPM3-4B-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
MiniCPM3-4B-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
MiniCPM3-4B-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
MiniCPM3-4B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
MiniCPM3-4B-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfa728c555c6b9ec77f30b2f5e549f3566004fbdbfa174946585a96586e2e5a0
|
3 |
+
size 1576858368
|
MiniCPM3-4B-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:72d636cd6af8656b1119dfdf73c31b193b645cc9bff10a468192f1725aae7087
|
3 |
+
size 2193683968
|
MiniCPM3-4B-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bed761aa3cbe804f8f3e17443dda53f10da3e907fedc664cbf41f715f00b7ee6
|
3 |
+
size 2022061568
|
MiniCPM3-4B-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:77a8f38c27b902c2f23edad72719f8bcfd1714f560fa21e959ae7c4dd7857287
|
3 |
+
size 1827040768
|
MiniCPM3-4B-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e6cc3714407deec3772c92c5923101667b969c764fa475fe450c48e0f954ae30
|
3 |
+
size 2343079168
|
MiniCPM3-4B-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b41585e395bb79cb4270601cdbd4c6a6d26e53d0fcacfd9cd4cb34aff900c4b
|
3 |
+
size 2469799168
|
MiniCPM3-4B-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5aa96b6ddce15211e37d2b75d52632314ca5367772a4e1ed944b4f4cc4f5b840
|
3 |
+
size 2357415168
|
MiniCPM3-4B-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a0d31ba7408158d440e8050ef66b5e0ce018fa121ab038e4f9c0378946dd37d8
|
3 |
+
size 2828762368
|
MiniCPM3-4B-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90c52151a0e2a50ff1c57c96e94fd69eea1f94d3a768993b6c40311ed9f284ce
|
3 |
+
size 2894042368
|
MiniCPM3-4B-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1647a93df366979305aa694f7163f2d1ef7bb06072ba413de30d8f8c671264cb
|
3 |
+
size 2828762368
|
MiniCPM3-4B-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37f46797c32ccf67b8e87d948af26d1ceda176c4bdead36f54273d45677a1521
|
3 |
+
size 3344800768
|
MiniCPM3-4B-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46b1c81f6e3919d6db1395b2c968b21e19e87f51a22c5105218258d2061af794
|
3 |
+
size 4331349728
|
README.md
ADDED
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- zh
|
5 |
+
- en
|
6 |
+
pipeline_tag: text-generation
|
7 |
+
library_name: transformers
|
8 |
+
tags:
|
9 |
+
- TensorBlock
|
10 |
+
- GGUF
|
11 |
+
base_model: openbmb/MiniCPM3-4B
|
12 |
+
---
|
13 |
+
|
14 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
15 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
16 |
+
</div>
|
17 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
18 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
19 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
20 |
+
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>
|
21 |
+
</p>
|
22 |
+
</div>
|
23 |
+
</div>
|
24 |
+
|
25 |
+
## openbmb/MiniCPM3-4B - GGUF
|
26 |
+
|
27 |
+
This repo contains GGUF format model files for [openbmb/MiniCPM3-4B](https://huggingface.co/openbmb/MiniCPM3-4B).
|
28 |
+
|
29 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
30 |
+
|
31 |
+
<div style="text-align: left; margin: 20px 0;">
|
32 |
+
<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;">
|
33 |
+
Run them on the TensorBlock client using your local machine ↗
|
34 |
+
</a>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
## Prompt template
|
38 |
+
|
39 |
+
```
|
40 |
+
<|im_start|>system
|
41 |
+
{system_prompt}<|im_end|>
|
42 |
+
<|im_start|>user
|
43 |
+
{prompt}<|im_end|>
|
44 |
+
<|im_start|>assistant
|
45 |
+
```
|
46 |
+
|
47 |
+
## Model file specification
|
48 |
+
|
49 |
+
| Filename | Quant type | File Size | Description |
|
50 |
+
| -------- | ---------- | --------- | ----------- |
|
51 |
+
| [MiniCPM3-4B-Q2_K.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q2_K.gguf) | Q2_K | 1.577 GB | smallest, significant quality loss - not recommended for most purposes |
|
52 |
+
| [MiniCPM3-4B-Q3_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_S.gguf) | Q3_K_S | 1.827 GB | very small, high quality loss |
|
53 |
+
| [MiniCPM3-4B-Q3_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_M.gguf) | Q3_K_M | 2.022 GB | very small, high quality loss |
|
54 |
+
| [MiniCPM3-4B-Q3_K_L.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q3_K_L.gguf) | Q3_K_L | 2.194 GB | small, substantial quality loss |
|
55 |
+
| [MiniCPM3-4B-Q4_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_0.gguf) | Q4_0 | 2.343 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
56 |
+
| [MiniCPM3-4B-Q4_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_K_S.gguf) | Q4_K_S | 2.357 GB | small, greater quality loss |
|
57 |
+
| [MiniCPM3-4B-Q4_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q4_K_M.gguf) | Q4_K_M | 2.470 GB | medium, balanced quality - recommended |
|
58 |
+
| [MiniCPM3-4B-Q5_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_0.gguf) | Q5_0 | 2.829 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
59 |
+
| [MiniCPM3-4B-Q5_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_K_S.gguf) | Q5_K_S | 2.829 GB | large, low quality loss - recommended |
|
60 |
+
| [MiniCPM3-4B-Q5_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q5_K_M.gguf) | Q5_K_M | 2.894 GB | large, very low quality loss - recommended |
|
61 |
+
| [MiniCPM3-4B-Q6_K.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q6_K.gguf) | Q6_K | 3.345 GB | very large, extremely low quality loss |
|
62 |
+
| [MiniCPM3-4B-Q8_0.gguf](https://huggingface.co/tensorblock/MiniCPM3-4B-GGUF/blob/main/MiniCPM3-4B-Q8_0.gguf) | Q8_0 | 4.331 GB | very large, extremely low quality loss - not recommended |
|
63 |
+
|
64 |
+
|
65 |
+
## Downloading instruction
|
66 |
+
|
67 |
+
### Command line
|
68 |
+
|
69 |
+
Firstly, install Huggingface Client
|
70 |
+
|
71 |
+
```shell
|
72 |
+
pip install -U "huggingface_hub[cli]"
|
73 |
+
```
|
74 |
+
|
75 |
+
Then, downoad the individual model file the a local directory
|
76 |
+
|
77 |
+
```shell
|
78 |
+
huggingface-cli download tensorblock/MiniCPM3-4B-GGUF --include "MiniCPM3-4B-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
79 |
+
```
|
80 |
+
|
81 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
82 |
+
|
83 |
+
```shell
|
84 |
+
huggingface-cli download tensorblock/MiniCPM3-4B-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
85 |
+
```
|