初始化项目,由ModelHub XC社区提供模型
Model: second-state/Yi-1.5-6B-Chat-GGUF Source: Original Platform
This commit is contained in:
48
.gitattributes
vendored
Normal file
48
.gitattributes
vendored
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.model filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||||
|
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
Yi-1.5-6B-Chat-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||||
89
README.md
Normal file
89
README.md
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
---
|
||||||
|
base_model: 01-ai/Yi-1.5-6B-Chat
|
||||||
|
inference: false
|
||||||
|
license: other
|
||||||
|
license_link: LICENSE
|
||||||
|
license_name: yi-license
|
||||||
|
model_creator: 01-ai
|
||||||
|
model_name: Yi-1.5-6B-Chat
|
||||||
|
model_type: yi
|
||||||
|
pipeline_tag: text-generation
|
||||||
|
quantized_by: Second State Inc.
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- header start -->
|
||||||
|
<!-- 200823 -->
|
||||||
|
<div style="width: auto; margin-left: auto; margin-right: auto">
|
||||||
|
<img src="https://github.com/LlamaEdge/LlamaEdge/raw/dev/assets/logo.svg" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
||||||
|
</div>
|
||||||
|
<hr style="margin-top: 1.0em; margin-bottom: 1.0em;">
|
||||||
|
<!-- header end -->
|
||||||
|
|
||||||
|
# Yi-1.5-6B-Chat-GGUF
|
||||||
|
|
||||||
|
## Original Model
|
||||||
|
|
||||||
|
[01-ai/Yi-1.5-6B-Chat](https://huggingface.co/01-ai/Yi-1.5-6B-Chat)
|
||||||
|
|
||||||
|
## Run with LlamaEdge
|
||||||
|
|
||||||
|
- LlamaEdge version: [v0.10.0](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.10.0) and above
|
||||||
|
|
||||||
|
- Prompt template
|
||||||
|
|
||||||
|
- Prompt type: `chatml`
|
||||||
|
|
||||||
|
- Prompt string
|
||||||
|
|
||||||
|
```text
|
||||||
|
<|im_start|>system
|
||||||
|
{system_message}<|im_end|>
|
||||||
|
<|im_start|>user
|
||||||
|
{prompt}<|im_end|>
|
||||||
|
<|im_start|>assistant
|
||||||
|
```
|
||||||
|
|
||||||
|
- Reverse prompt: `<|im_end|>`
|
||||||
|
|
||||||
|
- Context size: `4096`
|
||||||
|
|
||||||
|
- Run as LlamaEdge service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-1.5-6B-Chat-Q5_K_M.gguf \
|
||||||
|
llama-api-server.wasm \
|
||||||
|
--prompt-template chatml \
|
||||||
|
--reverse-prompt "<|im_end|>" \
|
||||||
|
--ctx-size 4096 \
|
||||||
|
--model-name Yi-1.5-6B-Chat
|
||||||
|
```
|
||||||
|
|
||||||
|
- Run as LlamaEdge command app
|
||||||
|
|
||||||
|
```bash
|
||||||
|
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-1.5-6B-Chat-Q5_K_M.gguf \
|
||||||
|
llama-chat.wasm \
|
||||||
|
--prompt-template chatml \
|
||||||
|
--reverse-prompt "<|im_end|>" \
|
||||||
|
--ctx-size 4096
|
||||||
|
```
|
||||||
|
|
||||||
|
## Quantized GGUF Models
|
||||||
|
|
||||||
|
| Name | Quant method | Bits | Size | Use case |
|
||||||
|
| ---- | ---- | ---- | ---- | ----- |
|
||||||
|
| [Yi-1.5-6B-Chat-Q2_K.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q2_K.gguf) | Q2_K | 2 | 2.34 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||||
|
| [Yi-1.5-6B-Chat-Q3_K_L.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q3_K_L.gguf) | Q3_K_L | 3 | 3.24 GB| small, substantial quality loss |
|
||||||
|
| [Yi-1.5-6B-Chat-Q3_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q3_K_M.gguf) | Q3_K_M | 3 | 2.99 GB| very small, high quality loss |
|
||||||
|
| [Yi-1.5-6B-Chat-Q3_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q3_K_S.gguf) | Q3_K_S | 3 | 2.71 GB| very small, high quality loss |
|
||||||
|
| [Yi-1.5-6B-Chat-Q4_0.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q4_0.gguf) | Q4_0 | 4 | 3.48 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||||
|
| [Yi-1.5-6B-Chat-Q4_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q4_K_M.gguf) | Q4_K_M | 4 | 3.67 GB| medium, balanced quality - recommended |
|
||||||
|
| [Yi-1.5-6B-Chat-Q4_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q4_K_S.gguf) | Q4_K_S | 4 | 3.5 GB| small, greater quality loss |
|
||||||
|
| [Yi-1.5-6B-Chat-Q5_0.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q5_0.gguf) | Q5_0 | 5 | 4.2 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||||
|
| [Yi-1.5-6B-Chat-Q5_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q5_K_M.gguf) | Q5_K_M | 5 | 4.3 GB| large, very low quality loss - recommended |
|
||||||
|
| [Yi-1.5-6B-Chat-Q5_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q5_K_S.gguf) | Q5_K_S | 5 | 4.2 GB| large, low quality loss - recommended |
|
||||||
|
| [Yi-1.5-6B-Chat-Q6_K.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q6_K.gguf) | Q6_K | 6 | 4.97 GB| very large, extremely low quality loss |
|
||||||
|
| [Yi-1.5-6B-Chat-Q8_0.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-Q8_0.gguf) | Q8_0 | 8 | 6.44 GB| very large, extremely low quality loss - not recommended |
|
||||||
|
| [Yi-1.5-6B-Chat-f16.gguf](https://huggingface.co/second-state/Yi-1.5-6B-Chat-GGUF/blob/main/Yi-1.5-6B-Chat-f16.gguf) | f16 | 16 | 12.1 GB| |
|
||||||
|
|
||||||
|
*Quantized with llama.cpp b3135*
|
||||||
3
Yi-1.5-6B-Chat-Q2_K.gguf
Normal file
3
Yi-1.5-6B-Chat-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e0671cd5607f38d8e6354a2d194e88ca98886a77c617b532367162d6efb25c8e
|
||||||
|
size 2337066944
|
||||||
3
Yi-1.5-6B-Chat-Q3_K_L.gguf
Normal file
3
Yi-1.5-6B-Chat-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f08d6773d0767f4377d3be6a47703768d518ae50700cc2d6da37a554e1b8a223
|
||||||
|
size 3236892608
|
||||||
3
Yi-1.5-6B-Chat-Q3_K_M.gguf
Normal file
3
Yi-1.5-6B-Chat-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:967bb9ee9ec896fdb74c33aba0b1b68a63063293459a1b82c9a37e7f0d44d746
|
||||||
|
size 2992836544
|
||||||
3
Yi-1.5-6B-Chat-Q3_K_S.gguf
Normal file
3
Yi-1.5-6B-Chat-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b7d368390d5ebe7934449959506cd53b18dae8cd6211100bf2547bd38127bfa3
|
||||||
|
size 2709196736
|
||||||
3
Yi-1.5-6B-Chat-Q4_0.gguf
Normal file
3
Yi-1.5-6B-Chat-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8650e7c6676bb4584f5e16295da85521f77f875e9e0221000f9bc2acb1922c2c
|
||||||
|
size 3479326656
|
||||||
3
Yi-1.5-6B-Chat-Q4_K_M.gguf
Normal file
3
Yi-1.5-6B-Chat-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c042883dea765885412a33b3800b62b0c416abeeab517a9017158e6b1a94e7d7
|
||||||
|
size 3673968576
|
||||||
3
Yi-1.5-6B-Chat-Q4_K_S.gguf
Normal file
3
Yi-1.5-6B-Chat-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9d70844f665f97fdea60309e3ec5c1fdc2b3a39b8d9ee7354b07e9ce411791c
|
||||||
|
size 3502919616
|
||||||
3
Yi-1.5-6B-Chat-Q5_0.gguf
Normal file
3
Yi-1.5-6B-Chat-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:19e05ba8dba2266c5d5779c96df082ea81a858df989d30c0f338b78406f69faa
|
||||||
|
size 4204154816
|
||||||
3
Yi-1.5-6B-Chat-Q5_K_M.gguf
Normal file
3
Yi-1.5-6B-Chat-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bc425142466b87d72f0adee7843e7a6536c5d48141f68ee2d6ca006f934bf79d
|
||||||
|
size 4304424896
|
||||||
3
Yi-1.5-6B-Chat-Q5_K_S.gguf
Normal file
3
Yi-1.5-6B-Chat-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5ddf136ed299157a0ab51ecbe1d39434633b7d534ea6eba9b7b4786016ed51b2
|
||||||
|
size 4204154816
|
||||||
3
Yi-1.5-6B-Chat-Q6_K.gguf
Normal file
3
Yi-1.5-6B-Chat-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4db2eb0a9e5a2295760828d6cb9232099ce5814a1ce8a3cf54c36c50c2b20812
|
||||||
|
size 4974284736
|
||||||
3
Yi-1.5-6B-Chat-Q8_0.gguf
Normal file
3
Yi-1.5-6B-Chat-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:70f89e631caf8dd43f3eb4e020de047798547022bbaf941b97f161a162c10ae0
|
||||||
|
size 6442127296
|
||||||
3
Yi-1.5-6B-Chat-f16.gguf
Normal file
3
Yi-1.5-6B-Chat-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ed2fa5b9cf16c2637040ef2df1552619178ae5045cd85816be11884ed818a966
|
||||||
|
size 12124098496
|
||||||
28
config.json
Normal file
28
config.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"architectures": [
|
||||||
|
"LlamaForCausalLM"
|
||||||
|
],
|
||||||
|
"attention_bias": false,
|
||||||
|
"attention_dropout": 0.0,
|
||||||
|
"bos_token_id": 1,
|
||||||
|
"eos_token_id": 2,
|
||||||
|
"hidden_act": "silu",
|
||||||
|
"hidden_size": 4096,
|
||||||
|
"initializer_range": 0.02,
|
||||||
|
"intermediate_size": 11008,
|
||||||
|
"max_position_embeddings": 4096,
|
||||||
|
"model_type": "llama",
|
||||||
|
"num_attention_heads": 32,
|
||||||
|
"num_hidden_layers": 32,
|
||||||
|
"num_key_value_heads": 4,
|
||||||
|
"pad_token_id": 0,
|
||||||
|
"pretraining_tp": 1,
|
||||||
|
"rms_norm_eps": 1e-06,
|
||||||
|
"rope_scaling": null,
|
||||||
|
"rope_theta": 5000000.0,
|
||||||
|
"tie_word_embeddings": false,
|
||||||
|
"torch_dtype": "bfloat16",
|
||||||
|
"transformers_version": "4.40.0",
|
||||||
|
"use_cache": false,
|
||||||
|
"vocab_size": 64000
|
||||||
|
}
|
||||||
1
configuration.json
Normal file
1
configuration.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"framework": "pytorch", "task": "text-generation", "allow_remote": true}
|
||||||
Reference in New Issue
Block a user