morriszms commited on
Commit
a1233e2
·
verified ·
1 Parent(s): e49d78d

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
+ chinese-text-correction-7b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
37
+ chinese-text-correction-7b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
38
+ chinese-text-correction-7b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
39
+ chinese-text-correction-7b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
40
+ chinese-text-correction-7b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
41
+ chinese-text-correction-7b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
42
+ chinese-text-correction-7b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
43
+ chinese-text-correction-7b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
44
+ chinese-text-correction-7b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
45
+ chinese-text-correction-7b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
46
+ chinese-text-correction-7b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
47
+ chinese-text-correction-7b-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: shibing624/chinese-text-correction-7b
4
+ license: apache-2.0
5
+ datasets:
6
+ - shibing624/chinese_text_correction
7
+ language:
8
+ - zh
9
+ metrics:
10
+ - f1
11
+ tags:
12
+ - text-generation-inference
13
+ - TensorBlock
14
+ - GGUF
15
+ widget:
16
+ - text: '文本纠错:
17
+
18
+ 少先队员因该为老人让坐。'
19
+ ---
20
+
21
+ <div style="width: auto; margin-left: auto; margin-right: auto">
22
+ <img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
23
+ </div>
24
+ <div style="display: flex; justify-content: space-between; width: 100%;">
25
+ <div style="display: flex; flex-direction: column; align-items: flex-start;">
26
+ <p style="margin-top: 0.5em; margin-bottom: 0em;">
27
+ 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>
28
+ </p>
29
+ </div>
30
+ </div>
31
+
32
+ ## shibing624/chinese-text-correction-7b - GGUF
33
+
34
+ This repo contains GGUF format model files for [shibing624/chinese-text-correction-7b](https://huggingface.co/shibing624/chinese-text-correction-7b).
35
+
36
+ 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).
37
+
38
+ <div style="text-align: left; margin: 20px 0;">
39
+ <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;">
40
+ Run them on the TensorBlock client using your local machine ↗
41
+ </a>
42
+ </div>
43
+
44
+ ## Prompt template
45
+
46
+ ```
47
+ <|im_start|>system
48
+ {system_prompt}<|im_end|>
49
+ <|im_start|>user
50
+ {prompt}<|im_end|>
51
+ <|im_start|>assistant
52
+ ```
53
+
54
+ ## Model file specification
55
+
56
+ | Filename | Quant type | File Size | Description |
57
+ | -------- | ---------- | --------- | ----------- |
58
+ | [chinese-text-correction-7b-Q2_K.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q2_K.gguf) | Q2_K | 3.016 GB | smallest, significant quality loss - not recommended for most purposes |
59
+ | [chinese-text-correction-7b-Q3_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q3_K_S.gguf) | Q3_K_S | 3.492 GB | very small, high quality loss |
60
+ | [chinese-text-correction-7b-Q3_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q3_K_M.gguf) | Q3_K_M | 3.808 GB | very small, high quality loss |
61
+ | [chinese-text-correction-7b-Q3_K_L.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q3_K_L.gguf) | Q3_K_L | 4.088 GB | small, substantial quality loss |
62
+ | [chinese-text-correction-7b-Q4_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q4_0.gguf) | Q4_0 | 4.431 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
63
+ | [chinese-text-correction-7b-Q4_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q4_K_S.gguf) | Q4_K_S | 4.458 GB | small, greater quality loss |
64
+ | [chinese-text-correction-7b-Q4_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q4_K_M.gguf) | Q4_K_M | 4.683 GB | medium, balanced quality - recommended |
65
+ | [chinese-text-correction-7b-Q5_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q5_0.gguf) | Q5_0 | 5.315 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
66
+ | [chinese-text-correction-7b-Q5_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q5_K_S.gguf) | Q5_K_S | 5.315 GB | large, low quality loss - recommended |
67
+ | [chinese-text-correction-7b-Q5_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q5_K_M.gguf) | Q5_K_M | 5.445 GB | large, very low quality loss - recommended |
68
+ | [chinese-text-correction-7b-Q6_K.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q6_K.gguf) | Q6_K | 6.254 GB | very large, extremely low quality loss |
69
+ | [chinese-text-correction-7b-Q8_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-7b-GGUF/blob/main/chinese-text-correction-7b-Q8_0.gguf) | Q8_0 | 8.099 GB | very large, extremely low quality loss - not recommended |
70
+
71
+
72
+ ## Downloading instruction
73
+
74
+ ### Command line
75
+
76
+ Firstly, install Huggingface Client
77
+
78
+ ```shell
79
+ pip install -U "huggingface_hub[cli]"
80
+ ```
81
+
82
+ Then, downoad the individual model file the a local directory
83
+
84
+ ```shell
85
+ huggingface-cli download tensorblock/chinese-text-correction-7b-GGUF --include "chinese-text-correction-7b-Q2_K.gguf" --local-dir MY_LOCAL_DIR
86
+ ```
87
+
88
+ If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
89
+
90
+ ```shell
91
+ huggingface-cli download tensorblock/chinese-text-correction-7b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
92
+ ```
chinese-text-correction-7b-Q2_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0aa82b567eceda8f18878c86e2941efd87da0520414f24ff76710596f231469
3
+ size 3015940544
chinese-text-correction-7b-Q3_K_L.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ace690fe8e91751b5463107617689a02729cc1ef4e16d1389a1240014afd762
3
+ size 4088459712
chinese-text-correction-7b-Q3_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4007bd1943c48c28245aed1737c5f21caa977f91aef93287c400048b0b8afdf9
3
+ size 3808391616
chinese-text-correction-7b-Q3_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd8bb3d4835698902fff9b94044e6f0fa8c37b3f9d87975cd30f13bc918b58bc
3
+ size 3492368832
chinese-text-correction-7b-Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93f689cb0179fcbec52b39f5f466cf03ddad5c1b8b5a6ec65baee4768ff991b7
3
+ size 4431391168
chinese-text-correction-7b-Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e7e93f25b3c9c358ee50adab28f196c9382c2103b145b5d7315beaeb18d8e76
3
+ size 4683073984
chinese-text-correction-7b-Q4_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:807ffd2829dcc9c544bb62d9c7c268a60389dc161dffd790b8632b33c64ffbc6
3
+ size 4457769408
chinese-text-correction-7b-Q5_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b27d820388019bbed4c9471c6a3d8fdead7ea9b35119307d0ff943af74fd64e
3
+ size 5315176896
chinese-text-correction-7b-Q5_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac16b635bb73738145d2da96b33223213eb893d289b8f96773e0845ae6eda61a
3
+ size 5444831680
chinese-text-correction-7b-Q5_K_S.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:783afafa464f907de3aeec16f77ee289e8020935b59d048a6f3f100c0d565dfe
3
+ size 5315176896
chinese-text-correction-7b-Q6_K.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e457ed814bd712fb0773a64ab1fc221ea90249f609acc0210d7777d37fcb642
3
+ size 6254199232
chinese-text-correction-7b-Q8_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ed4a44dbaf3ccc24a7b52d3a5c99503bcc42f63a7a34688a065fc484da948fe
3
+ size 8098525632