Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- README.md +92 -0
- chinese-text-correction-1.5b-Q2_K.gguf +3 -0
- chinese-text-correction-1.5b-Q3_K_L.gguf +3 -0
- chinese-text-correction-1.5b-Q3_K_M.gguf +3 -0
- chinese-text-correction-1.5b-Q3_K_S.gguf +3 -0
- chinese-text-correction-1.5b-Q4_0.gguf +3 -0
- chinese-text-correction-1.5b-Q4_K_M.gguf +3 -0
- chinese-text-correction-1.5b-Q4_K_S.gguf +3 -0
- chinese-text-correction-1.5b-Q5_0.gguf +3 -0
- chinese-text-correction-1.5b-Q5_K_M.gguf +3 -0
- chinese-text-correction-1.5b-Q5_K_S.gguf +3 -0
- chinese-text-correction-1.5b-Q6_K.gguf +3 -0
- chinese-text-correction-1.5b-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 |
+
chinese-text-correction-1.5b-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
chinese-text-correction-1.5b-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
chinese-text-correction-1.5b-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
chinese-text-correction-1.5b-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
chinese-text-correction-1.5b-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
chinese-text-correction-1.5b-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
chinese-text-correction-1.5b-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
chinese-text-correction-1.5b-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
chinese-text-correction-1.5b-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
chinese-text-correction-1.5b-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
chinese-text-correction-1.5b-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
chinese-text-correction-1.5b-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-1.5b
|
| 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-1.5b - GGUF
|
| 33 |
+
|
| 34 |
+
This repo contains GGUF format model files for [shibing624/chinese-text-correction-1.5b](https://huggingface.co/shibing624/chinese-text-correction-1.5b).
|
| 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-1.5b-Q2_K.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q2_K.gguf) | Q2_K | 0.676 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 59 |
+
| [chinese-text-correction-1.5b-Q3_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q3_K_S.gguf) | Q3_K_S | 0.761 GB | very small, high quality loss |
|
| 60 |
+
| [chinese-text-correction-1.5b-Q3_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q3_K_M.gguf) | Q3_K_M | 0.824 GB | very small, high quality loss |
|
| 61 |
+
| [chinese-text-correction-1.5b-Q3_K_L.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q3_K_L.gguf) | Q3_K_L | 0.880 GB | small, substantial quality loss |
|
| 62 |
+
| [chinese-text-correction-1.5b-Q4_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q4_0.gguf) | Q4_0 | 0.935 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 63 |
+
| [chinese-text-correction-1.5b-Q4_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q4_K_S.gguf) | Q4_K_S | 0.940 GB | small, greater quality loss |
|
| 64 |
+
| [chinese-text-correction-1.5b-Q4_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q4_K_M.gguf) | Q4_K_M | 0.986 GB | medium, balanced quality - recommended |
|
| 65 |
+
| [chinese-text-correction-1.5b-Q5_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q5_0.gguf) | Q5_0 | 1.099 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 66 |
+
| [chinese-text-correction-1.5b-Q5_K_S.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q5_K_S.gguf) | Q5_K_S | 1.099 GB | large, low quality loss - recommended |
|
| 67 |
+
| [chinese-text-correction-1.5b-Q5_K_M.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q5_K_M.gguf) | Q5_K_M | 1.125 GB | large, very low quality loss - recommended |
|
| 68 |
+
| [chinese-text-correction-1.5b-Q6_K.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q6_K.gguf) | Q6_K | 1.273 GB | very large, extremely low quality loss |
|
| 69 |
+
| [chinese-text-correction-1.5b-Q8_0.gguf](https://huggingface.co/tensorblock/chinese-text-correction-1.5b-GGUF/blob/main/chinese-text-correction-1.5b-Q8_0.gguf) | Q8_0 | 1.647 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-1.5b-GGUF --include "chinese-text-correction-1.5b-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-1.5b-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 92 |
+
```
|
chinese-text-correction-1.5b-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f9789c94a6cd35c6bf8b6a49229b36b5a748ade9efabc4c1a79ad1d8825fd96
|
| 3 |
+
size 676304928
|
chinese-text-correction-1.5b-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bb57e26270b8f31d519baf3abab1af77cebc01354b001adc02287276fcd0e356
|
| 3 |
+
size 880162848
|
chinese-text-correction-1.5b-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:321a9b0452c3e1ee543ac08018869c2da2af56dda8f29229bcc80138e2babf1c
|
| 3 |
+
size 824178720
|
chinese-text-correction-1.5b-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0edfc5908be3fffee9a9a3fe604f248d7513db8faba601703399e730c1d4e2c1
|
| 3 |
+
size 760944672
|
chinese-text-correction-1.5b-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:574042085b838d8d18133cf19b8af44f443e2e088923058d37ebcd563184cc73
|
| 3 |
+
size 934955040
|
chinese-text-correction-1.5b-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4db8a370afcc22d4c3b837caa46bd9f0db594448ab9774fb178e2686065fbea
|
| 3 |
+
size 986048544
|
chinese-text-correction-1.5b-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e25b719991385091f7a14a382df0fb4010fd19abd86f2fb8c88c28fe4e93bd40
|
| 3 |
+
size 940312608
|
chinese-text-correction-1.5b-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f2346a514b20be67f8dca286abfc89fa92db63b85d4416d2595f854b11c77aca
|
| 3 |
+
size 1098729504
|
chinese-text-correction-1.5b-Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04682b788660e4858b65ed10618570a8218f60cf1716b0c30af684516b47e7d7
|
| 3 |
+
size 1125050400
|
chinese-text-correction-1.5b-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4b0689ced21b99dac5c2bcf321fe467f5373dab6ceb62e40d7641563f5ad714
|
| 3 |
+
size 1098729504
|
chinese-text-correction-1.5b-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a60344014345f1e9e7dfae45155462eed42039686edb5f17d648e7838c90877
|
| 3 |
+
size 1272739872
|
chinese-text-correction-1.5b-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d0388ea6b22d3eb02cd7ff6199a3fd8a5f7937c79724bbde3d42876f3cee0d9
|
| 3 |
+
size 1646573088
|