morriszms commited on
Commit
e1f1044
1 Parent(s): 274b332

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
+ MiniCPM-2B-128k-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ MiniCPM-2B-128k-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ MiniCPM-2B-128k-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ MiniCPM-2B-128k-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ MiniCPM-2B-128k-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ MiniCPM-2B-128k-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ MiniCPM-2B-128k-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ MiniCPM-2B-128k-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ MiniCPM-2B-128k-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ MiniCPM-2B-128k-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ MiniCPM-2B-128k-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ MiniCPM-2B-128k-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
MiniCPM-2B-128k-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e4e20b70ecfd950761fb70cdda855eecb740c1ea41f8f613b7fc08090164681
3
+ size 1297212896
MiniCPM-2B-128k-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e4b2215a4337d59d079171f94dfd864dc480df8513ce39009c186ae13602dd4
3
+ size 1685915712
MiniCPM-2B-128k-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72c75b2506fe98da3c5d04634fa2e4c057fcebea3883f97a721e24c18a657964
3
+ size 1602639936
MiniCPM-2B-128k-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd6c4ab428c4886a78de4fd2f0ed3f404afdd89529c660c8f5178388c728dc38
3
+ size 1476896832
MiniCPM-2B-128k-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:690c979b172263c89cd2787b38585d7786e30531a761f8bee059f7eabb308a4f
3
+ size 1768270016
MiniCPM-2B-128k-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c142ebcf37224806cc76f8da0898f3c98a6af041917c9ddb1c03d7076d9d564e
3
+ size 1961529536
MiniCPM-2B-128k-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ec40f1a8d3735b9cd4610f77d25d2fdaf9fcc9bb292668352f7a3e4c98ed52f
3
+ size 1841426624
MiniCPM-2B-128k-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7648d5b5629cc6717d3904ee97e43e29465c22a928eaf154e0da3468e16c8343
3
+ size 2108858816
MiniCPM-2B-128k-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42376aa3e032264346113b4053e34edf9216636e5ff27c6c85694dd50575d897
3
+ size 2239080896
MiniCPM-2B-128k-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3206b1c6ff89ef9012e98e4fae2b9d9cdb865c6324f57d881b7215e8eee71c5d
3
+ size 2142036416
MiniCPM-2B-128k-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca1bcb7760806ab282b5c8a1fea6e610efff983ff399239296773d786ab052aa
3
+ size 2599297632
MiniCPM-2B-128k-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4640b0dff0ccde2afd11872e0b5be9079d65590d14bd8aa0442ffad100a5de5e
3
+ size 3199125280
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets:
3
+ - stingning/ultrachat
4
+ language:
5
+ - zh
6
+ - en
7
+ library_name: transformers
8
+ pipeline_tag: text-generation
9
+ tags:
10
+ - MiniCPM
11
+ - ModelBest
12
+ - THUNLP
13
+ - conversational
14
+ - custom_code
15
+ - TensorBlock
16
+ - GGUF
17
+ base_model: openbmb/MiniCPM-2B-128k
18
+ ---
19
+
20
+ <div style="width: auto; margin-left: auto; margin-right: auto">
21
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
22
+ </div>
23
+ <div style="display: flex; justify-content: space-between; width: 100%;">
24
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
25
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
26
+ 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>
27
+ </p>
28
+ </div>
29
+ </div>
30
+
31
+ ## openbmb/MiniCPM-2B-128k - GGUF
32
+
33
+ This repo contains GGUF format model files for [openbmb/MiniCPM-2B-128k](https://huggingface.co/openbmb/MiniCPM-2B-128k).
34
+
35
+ 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).
36
+
37
+ <div style="text-align: left; margin: 20px 0;">
38
+ <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;">
39
+ Run them on the TensorBlock client using your local machine ↗
40
+ </a>
41
+ </div>
42
+
43
+ ## Prompt template
44
+
45
+ ```
46
+ <|im_start|>system
47
+ {system_prompt}<|im_end|>
48
+ <|im_start|>user
49
+ {prompt}<|im_end|>
50
+ <|im_start|>assistant
51
+ ```
52
+
53
+ ## Model file specification
54
+
55
+ | Filename | Quant type | File Size | Description |
56
+ | -------- | ---------- | --------- | ----------- |
57
+ | [MiniCPM-2B-128k-Q2_K.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q2_K.gguf) | Q2_K | 1.297 GB | smallest, significant quality loss - not recommended for most purposes |
58
+ | [MiniCPM-2B-128k-Q3_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q3_K_S.gguf) | Q3_K_S | 1.477 GB | very small, high quality loss |
59
+ | [MiniCPM-2B-128k-Q3_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q3_K_M.gguf) | Q3_K_M | 1.603 GB | very small, high quality loss |
60
+ | [MiniCPM-2B-128k-Q3_K_L.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q3_K_L.gguf) | Q3_K_L | 1.686 GB | small, substantial quality loss |
61
+ | [MiniCPM-2B-128k-Q4_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q4_0.gguf) | Q4_0 | 1.768 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
62
+ | [MiniCPM-2B-128k-Q4_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q4_K_S.gguf) | Q4_K_S | 1.841 GB | small, greater quality loss |
63
+ | [MiniCPM-2B-128k-Q4_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q4_K_M.gguf) | Q4_K_M | 1.962 GB | medium, balanced quality - recommended |
64
+ | [MiniCPM-2B-128k-Q5_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q5_0.gguf) | Q5_0 | 2.109 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
65
+ | [MiniCPM-2B-128k-Q5_K_S.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q5_K_S.gguf) | Q5_K_S | 2.142 GB | large, low quality loss - recommended |
66
+ | [MiniCPM-2B-128k-Q5_K_M.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q5_K_M.gguf) | Q5_K_M | 2.239 GB | large, very low quality loss - recommended |
67
+ | [MiniCPM-2B-128k-Q6_K.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q6_K.gguf) | Q6_K | 2.599 GB | very large, extremely low quality loss |
68
+ | [MiniCPM-2B-128k-Q8_0.gguf](https://huggingface.co/tensorblock/MiniCPM-2B-128k-GGUF/blob/main/MiniCPM-2B-128k-Q8_0.gguf) | Q8_0 | 3.199 GB | very large, extremely low quality loss - not recommended |
69
+
70
+
71
+ ## Downloading instruction
72
+
73
+ ### Command line
74
+
75
+ Firstly, install Huggingface Client
76
+
77
+ ```shell
78
+ pip install -U "huggingface_hub[cli]"
79
+ ```
80
+
81
+ Then, downoad the individual model file the a local directory
82
+
83
+ ```shell
84
+ huggingface-cli download tensorblock/MiniCPM-2B-128k-GGUF --include "MiniCPM-2B-128k-Q2_K.gguf" --local-dir MY_LOCAL_DIR
85
+ ```
86
+
87
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
88
+
89
+ ```shell
90
+ huggingface-cli download tensorblock/MiniCPM-2B-128k-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
91
+ ```