shibing624 / chinese-alpaca-plus-13b-pth

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: May 19 2023

Introduction of chinese-alpaca-plus-13b-pth

Model Details of chinese-alpaca-plus-13b-pth

Chinese Alpaca Plus 13B Model(PyTorch版本权重.pth文件)

发布中文LLaMA-Plus, Alpaca-Plus 13B版本模型

发布中文LLaMA-Plus, Alpaca-Plus 13B版本,改进点如下:

  • 相比基础版进一步扩充了训练数据,其中LLaMA扩充至120G文本,Alpaca扩充至4.3M指令数据,重点增加了科学领域数据,涵盖:物理、化学、生物、医学、地球科学等
  • Alpaca训练时采用了更大的rank,相比基础版具有更低的验证集损失
  • Alpaca评测结果:13B获得74.3分,Plus-7B获得78.2分,Plus-13B获得80.8分,具体评测结果请参考 效果评测
  • 多轮回复长度相比旧模型提升明显(可适当增大温度系数)
  • 知识问答、写作、翻译等方面效果显著提升

本模型是 decapoda-research/llama-13b-hf 底座模型 合并 ziqingyang/chinese-llama-plus-lora-13b ziqingyang/chinese-alpaca-plus-lora-13b 两个LoRA权重, 并转化为PyTorch版本权重(.pth文件),可以直接使用或者继续训练。

test case:

input_text predict
为什么天空是蓝色的? 天空是蓝色的是因为大气中的气体分子散射了太阳光中的短波长蓝光,使得我们看到的天空呈现出蓝色。
Release model weight
Usage

llama.cpp进行量化和部署,或者调用执行

模型来源

release合并后的模型权重,一步到位直接使用,省电、减少碳排放。

基于 多LoRA权重合并(适用于Chinese-Alpaca-Plus ) 方法手动合并而成,具体是使用 decapoda-research/llama-13b-hf 底座模型 合并 ziqingyang/chinese-llama-plus-lora-13b ziqingyang/chinese-alpaca-plus-lora-13b 两个LoRA权重 得到,并转化为PyTorch版本权重(.pth文件)。

HuggingFace版本权重(.bin文件)可用于:

  • 使用Transformers进行训练和推理
  • 使用text-generation-webui搭建界面

PyTorch版本权重(.pth文件)可用于:

  • 使用llama.cpp工具进行量化和部署

HuggingFace版本权重(.bin文件)链接: shibing624/chinese-alpaca-plus-13b-hf

模型文件组成:

chinese-alpaca-plus-13b-pth
|-- consolidated.00.pth
|-- consolidated.01.pth
|-- LICENSE
|-- params.json
|-- README.md
|-- special_tokens_map.json
|-- tokenizer_config.json
`-- tokenizer.model

硬件要求:25G显存

微调数据集

我整理部分公开微调数据集:

  1. 50万条中文ChatGPT指令Belle数据集: BelleGroup/train_0.5M_CN
  2. 100万条中文ChatGPT指令Belle数据集: BelleGroup/train_1M_CN
  3. 5万条英文ChatGPT指令Alpaca数据集: 50k English Stanford Alpaca dataset
  4. 5万条中文GPT4指令Alpaca数据集: shibing624/alpaca-zh
  5. 69万条中文指令Guanaco数据集(Belle50万条+Guanaco19万条): Chinese-Vicuna/guanaco_belle_merge_v1.0

如果需要训练LLaMA模型,请参考 https://github.com/shibing624/textgen

Citation
@software{textgen,
  author = {Xu Ming},
  title = {textgen: Implementation of language model finetune},
  year = {2023},
  url = {https://github.com/shibing624/textgen},
}
Reference

Runs of shibing624 chinese-alpaca-plus-13b-pth on huggingface.co

0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About chinese-alpaca-plus-13b-pth huggingface.co Model

More chinese-alpaca-plus-13b-pth license Visit here:

https://choosealicense.com/licenses/other

chinese-alpaca-plus-13b-pth huggingface.co

chinese-alpaca-plus-13b-pth huggingface.co is an AI model on huggingface.co that provides chinese-alpaca-plus-13b-pth's model effect (), which can be used instantly with this shibing624 chinese-alpaca-plus-13b-pth model. huggingface.co supports a free trial of the chinese-alpaca-plus-13b-pth model, and also provides paid use of the chinese-alpaca-plus-13b-pth. Support call chinese-alpaca-plus-13b-pth model through api, including Node.js, Python, http.

chinese-alpaca-plus-13b-pth huggingface.co Url

https://huggingface.co/shibing624/chinese-alpaca-plus-13b-pth

shibing624 chinese-alpaca-plus-13b-pth online free

chinese-alpaca-plus-13b-pth huggingface.co is an online trial and call api platform, which integrates chinese-alpaca-plus-13b-pth's modeling effects, including api services, and provides a free online trial of chinese-alpaca-plus-13b-pth, you can try chinese-alpaca-plus-13b-pth online for free by clicking the link below.

shibing624 chinese-alpaca-plus-13b-pth online free url in huggingface.co:

https://huggingface.co/shibing624/chinese-alpaca-plus-13b-pth

chinese-alpaca-plus-13b-pth install

chinese-alpaca-plus-13b-pth is an open source model from GitHub that offers a free installation service, and any user can find chinese-alpaca-plus-13b-pth on GitHub to install. At the same time, huggingface.co provides the effect of chinese-alpaca-plus-13b-pth install, users can directly use chinese-alpaca-plus-13b-pth installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

chinese-alpaca-plus-13b-pth install url in huggingface.co:

https://huggingface.co/shibing624/chinese-alpaca-plus-13b-pth

Url of chinese-alpaca-plus-13b-pth

chinese-alpaca-plus-13b-pth huggingface.co Url

Provider of chinese-alpaca-plus-13b-pth huggingface.co

shibing624
ORGANIZATIONS

Other API from shibing624