Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Llama3-Chinese-8B-Instruct-Q2_K.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q3_K_L.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q3_K_M.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q3_K_S.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q4_0.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q4_K_M.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q4_K_S.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q5_0.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q5_K_M.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q5_K_S.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q6_K.gguf +3 -0
- Llama3-Chinese-8B-Instruct-Q8_0.gguf +3 -0
- README.md +76 -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 |
+
Llama3-Chinese-8B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
37 |
+
Llama3-Chinese-8B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
38 |
+
Llama3-Chinese-8B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
39 |
+
Llama3-Chinese-8B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
40 |
+
Llama3-Chinese-8B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
41 |
+
Llama3-Chinese-8B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
42 |
+
Llama3-Chinese-8B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
43 |
+
Llama3-Chinese-8B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
44 |
+
Llama3-Chinese-8B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
45 |
+
Llama3-Chinese-8B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
46 |
+
Llama3-Chinese-8B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
47 |
+
Llama3-Chinese-8B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
Llama3-Chinese-8B-Instruct-Q2_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8d426b0e81c528e3bb03688d31eb1848f799e1f34ca278c061be65245fd0485f
|
3 |
+
size 3179131424
|
Llama3-Chinese-8B-Instruct-Q3_K_L.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3856ee85b8c696ecf08bf54e6b8ba210cfbd52e8a9437576d1086008bcde51c7
|
3 |
+
size 4321956384
|
Llama3-Chinese-8B-Instruct-Q3_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1a6e21e9119e4c5226f9813459fbd233c1962fb9b0194b5a709559132f594e20
|
3 |
+
size 4018917920
|
Llama3-Chinese-8B-Instruct-Q3_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbfd59b0312b119c62602c9b8a80fb56d81f034e296ddea00f64724e885e4c57
|
3 |
+
size 3664499232
|
Llama3-Chinese-8B-Instruct-Q4_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ca8df3f69d9f9f6ad168bc1530a6ca9f13c5a4dfbb44f67f6e58822c6e7bae5
|
3 |
+
size 4661211680
|
Llama3-Chinese-8B-Instruct-Q4_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7cbdd8b426e8610abdedf20db23673f4bdf5dd8ec22f087b675248be7a86c2f8
|
3 |
+
size 4920734240
|
Llama3-Chinese-8B-Instruct-Q4_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:26c584a2257e6e25f031dbc9826d8d3efdb9d600bdc45194a687f8293de1d0e5
|
3 |
+
size 4692668960
|
Llama3-Chinese-8B-Instruct-Q5_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a35c79144e14f46621772bd5175a0380072de42279312dda58d8c42e9a38c9d
|
3 |
+
size 5599293984
|
Llama3-Chinese-8B-Instruct-Q5_K_M.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b4a5c9bee6377f1872ccacfc7dae3850e76cf6375158f57dffb039d8244b759e
|
3 |
+
size 5732987424
|
Llama3-Chinese-8B-Instruct-Q5_K_S.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d0ce1cc9b6bba2148a83eb88c42ab61928c9d92118b777a8a0e2a825b26b1d8d
|
3 |
+
size 5599293984
|
Llama3-Chinese-8B-Instruct-Q6_K.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa16a77478dd38c92fd183bcf1ad1c4459d732b0937ec535e2277151a3a50ffc
|
3 |
+
size 6596006432
|
Llama3-Chinese-8B-Instruct-Q8_0.gguf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:777ac2bf75a4555ba50157aef2f4f03ed0262dfa22177aaa8490452fbceee5ac
|
3 |
+
size 8540770848
|
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- llama3
|
5 |
+
- chinese
|
6 |
+
- TensorBlock
|
7 |
+
- GGUF
|
8 |
+
base_model: FlagAlpha/Llama3-Chinese-8B-Instruct
|
9 |
+
---
|
10 |
+
|
11 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
12 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
13 |
+
</div>
|
14 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
15 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
16 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
17 |
+
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>
|
18 |
+
</p>
|
19 |
+
</div>
|
20 |
+
</div>
|
21 |
+
|
22 |
+
## FlagAlpha/Llama3-Chinese-8B-Instruct - GGUF
|
23 |
+
|
24 |
+
This repo contains GGUF format model files for [FlagAlpha/Llama3-Chinese-8B-Instruct](https://huggingface.co/FlagAlpha/Llama3-Chinese-8B-Instruct).
|
25 |
+
|
26 |
+
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).
|
27 |
+
|
28 |
+
## Prompt template
|
29 |
+
|
30 |
+
```
|
31 |
+
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
|
32 |
+
|
33 |
+
{system_prompt}<|eot_id|><|start_header_id|>user<|end_header_id|>
|
34 |
+
|
35 |
+
{prompt}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
|
36 |
+
```
|
37 |
+
|
38 |
+
## Model file specification
|
39 |
+
|
40 |
+
| Filename | Quant type | File Size | Description |
|
41 |
+
| -------- | ---------- | --------- | ----------- |
|
42 |
+
| [Llama3-Chinese-8B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q2_K.gguf) | Q2_K | 2.961 GB | smallest, significant quality loss - not recommended for most purposes |
|
43 |
+
| [Llama3-Chinese-8B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3.413 GB | very small, high quality loss |
|
44 |
+
| [Llama3-Chinese-8B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3.743 GB | very small, high quality loss |
|
45 |
+
| [Llama3-Chinese-8B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q3_K_L.gguf) | Q3_K_L | 4.025 GB | small, substantial quality loss |
|
46 |
+
| [Llama3-Chinese-8B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q4_0.gguf) | Q4_0 | 4.341 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
47 |
+
| [Llama3-Chinese-8B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4.370 GB | small, greater quality loss |
|
48 |
+
| [Llama3-Chinese-8B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4.583 GB | medium, balanced quality - recommended |
|
49 |
+
| [Llama3-Chinese-8B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q5_0.gguf) | Q5_0 | 5.215 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
50 |
+
| [Llama3-Chinese-8B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5.215 GB | large, low quality loss - recommended |
|
51 |
+
| [Llama3-Chinese-8B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5.339 GB | large, very low quality loss - recommended |
|
52 |
+
| [Llama3-Chinese-8B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q6_K.gguf) | Q6_K | 6.143 GB | very large, extremely low quality loss |
|
53 |
+
| [Llama3-Chinese-8B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Llama3-Chinese-8B-Instruct-GGUF/tree/main/Llama3-Chinese-8B-Instruct-Q8_0.gguf) | Q8_0 | 7.954 GB | very large, extremely low quality loss - not recommended |
|
54 |
+
|
55 |
+
|
56 |
+
## Downloading instruction
|
57 |
+
|
58 |
+
### Command line
|
59 |
+
|
60 |
+
Firstly, install Huggingface Client
|
61 |
+
|
62 |
+
```shell
|
63 |
+
pip install -U "huggingface_hub[cli]"
|
64 |
+
```
|
65 |
+
|
66 |
+
Then, downoad the individual model file the a local directory
|
67 |
+
|
68 |
+
```shell
|
69 |
+
huggingface-cli download tensorblock/Llama3-Chinese-8B-Instruct-GGUF --include "Llama3-Chinese-8B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
70 |
+
```
|
71 |
+
|
72 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
73 |
+
|
74 |
+
```shell
|
75 |
+
huggingface-cli download tensorblock/Llama3-Chinese-8B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
76 |
+
```
|