Update README.md with license information (#1)
- Update README.md with license information (22f8e64fa95921df1603b2482a486dc4292ddc4f) Co-authored-by: Chen_01AI <Chen-01AI@users.noreply.huggingface.co>
This commit is contained in:
38
.gitattributes
vendored
38
.gitattributes
vendored
@@ -1,38 +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
|
||||
*.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
|
||||
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
||||
*.tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
*.db* filter=lfs diff=lfs merge=lfs -text
|
||||
*.ark* filter=lfs diff=lfs merge=lfs -text
|
||||
**/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
|
||||
**/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
|
||||
**/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.gguf* filter=lfs diff=lfs merge=lfs -text
|
||||
*.ggml filter=lfs diff=lfs merge=lfs -text
|
||||
*.llamafile* filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt2 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-9B-Chat-16K-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
Yi-1.5-9B-Chat-16K-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
126
README.md
126
README.md
@@ -1,47 +1,87 @@
|
||||
---
|
||||
license: Apache License 2.0
|
||||
|
||||
#model-type:
|
||||
##如 gpt、phi、llama、chatglm、baichuan 等
|
||||
#- gpt
|
||||
|
||||
#domain:
|
||||
##如 nlp、cv、audio、multi-modal
|
||||
#- nlp
|
||||
|
||||
#language:
|
||||
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
|
||||
#- cn
|
||||
|
||||
#metrics:
|
||||
##如 CIDEr、Blue、ROUGE 等
|
||||
#- CIDEr
|
||||
|
||||
#tags:
|
||||
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
|
||||
#- pretrained
|
||||
|
||||
#tools:
|
||||
##如 vllm、fastchat、llamacpp、AdaSeq 等
|
||||
#- vllm
|
||||
base_model: 01-ai/Yi-1.5-9B-Chat-16K
|
||||
inference: false
|
||||
model_creator: 01-ai
|
||||
model_name: Yi-1.5-9B-Chat-16
|
||||
model_type: yi
|
||||
pipeline_tag: text-generation
|
||||
quantized_by: Second State Inc.
|
||||
license: apache-2.0
|
||||
---
|
||||
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
|
||||
#### 您可以通过如下git clone命令,或者ModelScope SDK来下载模型
|
||||
|
||||
SDK下载
|
||||
```bash
|
||||
#安装ModelScope
|
||||
pip install modelscope
|
||||
```
|
||||
```python
|
||||
#SDK模型下载
|
||||
from modelscope import snapshot_download
|
||||
model_dir = snapshot_download('second-state/Yi-1.5-9B-Chat-16K-GGUF')
|
||||
```
|
||||
Git下载
|
||||
```
|
||||
#Git模型下载
|
||||
git clone https://www.modelscope.cn/second-state/Yi-1.5-9B-Chat-16K-GGUF.git
|
||||
```
|
||||
<!-- 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 -->
|
||||
|
||||
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>
|
||||
# Yi-1.5-9B-Chat-16K-GGUF
|
||||
|
||||
## Original Model
|
||||
|
||||
[01-ai/Yi-1.5-9B-Chat-16K](https://huggingface.co/01-ai/Yi-1.5-9B-Chat-16K)
|
||||
|
||||
## Run with LlamaEdge
|
||||
|
||||
<!-- - LlamaEdge version: [v0.10.0](https://github.com/LlamaEdge/LlamaEdge/releases/tag/0.10.0) and above -->
|
||||
|
||||
- LlamaEdge version: coming soon
|
||||
-
|
||||
- Prompt template
|
||||
|
||||
- Prompt type: `chatml`
|
||||
|
||||
- Prompt string
|
||||
|
||||
```text
|
||||
<|im_start|>system
|
||||
{system_message}<|im_end|>
|
||||
<|im_start|>user
|
||||
{prompt}<|im_end|>
|
||||
<|im_start|>assistant
|
||||
```
|
||||
|
||||
- Context size: `16384`
|
||||
|
||||
- Run as LlamaEdge service
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-1.5-9B-Chat-16K-Q5_K_M.gguf \
|
||||
llama-api-server.wasm \
|
||||
--prompt-template chatml \
|
||||
--reverse-prompt "<|im_end|>" \
|
||||
--ctx-size 16384 \
|
||||
--model-name Yi-1.5-9B-Chat-16K
|
||||
```
|
||||
|
||||
- Run as LlamaEdge command app
|
||||
|
||||
```bash
|
||||
wasmedge --dir .:. --nn-preload default:GGML:AUTO:Yi-1.5-9B-Chat-16K-Q5_K_M.gguf \
|
||||
llama-chat.wasm \
|
||||
--prompt-template chatml \
|
||||
--reverse-prompt "<|im_end|>" \
|
||||
--ctx-size 16384
|
||||
```
|
||||
|
||||
## Quantized GGUF Models
|
||||
|
||||
| Name | Quant method | Bits | Size | Use case |
|
||||
| ---- | ---- | ---- | ---- | ----- |
|
||||
| [Yi-1.5-9B-Chat-16K-Q2_K.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q2_K.gguf) | Q2_K | 2 | 3.35 GB| smallest, significant quality loss - not recommended for most purposes |
|
||||
| [Yi-1.5-9B-Chat-16K-Q3_K_L.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q3_K_L.gguf) | Q3_K_L | 3 | 4.69 GB| small, substantial quality loss |
|
||||
| [Yi-1.5-9B-Chat-16K-Q3_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q3_K_M.gguf) | Q3_K_M | 3 | 4.32 GB| very small, high quality loss |
|
||||
| [Yi-1.5-9B-Chat-16K-Q3_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q3_K_S.gguf) | Q3_K_S | 3 | 3.9 GB| very small, high quality loss |
|
||||
| [Yi-1.5-9B-Chat-16K-Q4_0.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q4_0.gguf) | Q4_0 | 4 | 5.04 GB| legacy; small, very high quality loss - prefer using Q3_K_M |
|
||||
| [Yi-1.5-9B-Chat-16K-Q4_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q4_K_M.gguf) | Q4_K_M | 4 | 5.33 GB| medium, balanced quality - recommended |
|
||||
| [Yi-1.5-9B-Chat-16K-Q4_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q4_K_S.gguf) | Q4_K_S | 4 | 5.07 GB| small, greater quality loss |
|
||||
| [Yi-1.5-9B-Chat-16K-Q5_0.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q5_0.gguf) | Q5_0 | 5 | 6.11 GB| legacy; medium, balanced quality - prefer using Q4_K_M |
|
||||
| [Yi-1.5-9B-Chat-16K-Q5_K_M.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q5_K_M.gguf) | Q5_K_M | 5 | 6.26 GB| large, very low quality loss - recommended |
|
||||
| [Yi-1.5-9B-Chat-16K-Q5_K_S.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q5_K_S.gguf) | Q5_K_S | 5 | 6.11 GB| large, low quality loss - recommended |
|
||||
| [Yi-1.5-9B-Chat-16K-Q6_K.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q6_K.gguf) | Q6_K | 6 | 7.25 GB| very large, extremely low quality loss |
|
||||
| [Yi-1.5-9B-Chat-16K-Q8_0.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-Q8_0.gguf) | Q8_0 | 8 | 9.38 GB| very large, extremely low quality loss - not recommended |
|
||||
| [Yi-1.5-9B-Chat-16K-f16.gguf](https://huggingface.co/second-state/Yi-1.5-9B-Chat-16K-GGUF/blob/main/Yi-1.5-9B-Chat-16K-f16.gguf) | f16 | 16 | 17.7 GB| |
|
||||
|
||||
*Quantized with llama.cpp b3135*
|
||||
|
||||
3
Yi-1.5-9B-Chat-16K-Q2_K.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q2_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:393e36603d1f2dd5ee33a7da92d8037ebf0c927b5f2d51f2ffa0bc701ba996dd
|
||||
size 3354325344
|
||||
3
Yi-1.5-9B-Chat-16K-Q3_K_L.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q3_K_L.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d7ef02a3a22f5216faa9ed846d38ad06b39f431cee57f95be941665c1622c3e1
|
||||
size 4690751840
|
||||
3
Yi-1.5-9B-Chat-16K-Q3_K_M.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q3_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50d81524d71d226366975842411da875f9ef0ceddba1187df03410392168b60e
|
||||
size 4324405600
|
||||
3
Yi-1.5-9B-Chat-16K-Q3_K_S.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q3_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:36dbab3a75174fd8c6977b326b6580017eceb579a3f4b6c7b99a8aaef33e7ca8
|
||||
size 3899208032
|
||||
3
Yi-1.5-9B-Chat-16K-Q4_0.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q4_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23c716476f24d772365d586866f2c11856c60e0c22d865365a2eb92b8f0efcfa
|
||||
size 5036994912
|
||||
3
Yi-1.5-9B-Chat-16K-Q4_K_M.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q4_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a3d9f179572523cc8c198b0ad2e05e94ea92eea4a5765d1cb1199e10e910f220
|
||||
size 5328957792
|
||||
3
Yi-1.5-9B-Chat-16K-Q4_K_S.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q4_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6ac7f4a409f2a45d6e7b61441a314562d6beebdbe8199d7d2706cf1bf5473132
|
||||
size 5071860064
|
||||
3
Yi-1.5-9B-Chat-16K-Q5_0.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q5_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17e8ad54081062e023997796b943a6a669430a6016c79a2c5f05b71f2f76dbb9
|
||||
size 6107853152
|
||||
3
Yi-1.5-9B-Chat-16K-Q5_K_M.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q5_K_M.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca2ab962fb986ed5afad48417d7946a5301acac93c0d0e46f3385cf0977856f1
|
||||
size 6258258272
|
||||
3
Yi-1.5-9B-Chat-16K-Q5_K_S.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q5_K_S.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:928d5aa97c8ab0240083afe2b0d756d3f2777ade0f944d1b3679ab84be4c0aeb
|
||||
size 6107853152
|
||||
3
Yi-1.5-9B-Chat-16K-Q6_K.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q6_K.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2d31e2f06c20bcbae60576fab54c007d895738679ec5ceee8c9d12a7827eee5
|
||||
size 7245640032
|
||||
3
Yi-1.5-9B-Chat-16K-Q8_0.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-Q8_0.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e38892320ba6f7a98f1757637830666ec3f7dd2412f131ddac63a900509bc24c
|
||||
size 9383915872
|
||||
3
Yi-1.5-9B-Chat-16K-f16.gguf
Normal file
3
Yi-1.5-9B-Chat-16K-f16.gguf
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:531283b57dd2c3c2e3a9a1667738ec493285ad7e3b5202d1f278a134a8cfc273
|
||||
size 17661112672
|
||||
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