Files

116 lines
3.6 KiB
Markdown
Raw Permalink Normal View History

---
frameworks:
- other
license: Apache License 2.0
model-type:
- llama
language:
- zh
- en
tools:
- llamacpp
#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
---
---
license: apache-2.0
language:
- zh
- en
---
## **📣📣📣 v3版指令模型已发布,欢迎使用 👉 [[HF版]](https://modelscope.cn/models/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v3) [[GGUF版]](https://modelscope.cn/models/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v3-gguf)**
# Llama-3-Chinese-8B-Instruct-v2-GGUF
<p align="center">
<a href="https://github.com/ymcui/Chinese-LLaMA-Alpaca-3"><img src="https://ymcui.com/images/chinese-llama-alpaca-3-banner.png" width="600"/></a>
</p>
这个仓库包含了**Llama-3-Chinese-8B-Instruct-v2-GGUF**(兼容llama.cpp/ollama等),是[Llama-3-Chinese-8B-Instruct-v2](https://modelscope.cn/models/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v2)模型的量化版本。
**注意:这是一个指令模型,可以直接适用于对话、问答等任务。**
更多细节(性能、使用方法等)请参考GitHub项目页面:https://github.com/ymcui/Chinese-LLaMA-Alpaca-3
## 量化性能
评测指标:PPL,**越低越好**
| Quant | Size | PPL |
| :---: | -------: | ------------------: |
| Q2_K | 2.96 GB | 13.2488 +/- 0.17217 |
| Q3_K | 3.74 GB | 6.9618 +/- 0.08420 |
| Q4_0 | 4.34 GB | 6.8925 +/- 0.08437 |
| Q4_K | 4.58 GB | 6.4851 +/- 0.07892 |
| Q5_0 | 5.21 GB | 6.4608 +/- 0.07862 |
| Q5_K | 5.34 GB | 6.3742 +/- 0.07740 |
| Q6_K | 6.14 GB | 6.3494 +/- 0.07703 |
| Q8_0 | 7.95 GB | 6.3110 +/- 0.07673 |
| F16 | 14.97 GB | 6.3005 +/- 0.07658 |
## 其他
- 完整模型:https://modelscope.cn/models/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v2
- LoRA模型:https://modelscope.cn/models/ChineseAlpacaGroup/llama-3-chinese-8b-instruct-v2-lora
- 关于本模型的提问,请通过 https://github.com/ymcui/Chinese-LLaMA-Alpaca-3 提交issue
----
This repository contains **Llama-3-Chinese-8B-Instruct-v2-GGUF** (llama.cpp/ollama/tgw, etc. compatible), which is the quantized version of [Llama-3-Chinese-8B-Instruct-v2](https://huggingface.co/hfl/llama-3-chinese-8b-instruct-v2).
**Note: this is an instruction (chat) model, which can be used for conversation, QA, etc.**
Further details (performance, usage, etc.) should refer to GitHub project page: https://github.com/ymcui/Chinese-LLaMA-Alpaca-3
## Performance
Metric: PPL, lower is better
| Quant | Size | PPL |
| :---: | -------: | ------------------: |
| Q2_K | 2.96 GB | 13.2488 +/- 0.17217 |
| Q3_K | 3.74 GB | 6.9618 +/- 0.08420 |
| Q4_0 | 4.34 GB | 6.8925 +/- 0.08437 |
| Q4_K | 4.58 GB | 6.4851 +/- 0.07892 |
| Q5_0 | 5.21 GB | 6.4608 +/- 0.07862 |
| Q5_K | 5.34 GB | 6.3742 +/- 0.07740 |
| Q6_K | 6.14 GB | 6.3494 +/- 0.07703 |
| Q8_0 | 7.95 GB | 6.3110 +/- 0.07673 |
| F16 | 14.97 GB | 6.3005 +/- 0.07658 |
## Others
- For full model, please see: https://huggingface.co/hfl/llama-3-chinese-8b-instruct-v2
- For LoRA-only model, please see: https://huggingface.co/hfl/llama-3-chinese-8b-instruct-v2-lora
- If you have questions/issues regarding this model, please submit an issue through https://github.com/ymcui/Chinese-LLaMA-Alpaca-3