Downloads · 30 days
1
4% of all-time downloads
shibing624/chinese-alpaca-plus-13b-pth
chinese-alpaca-plus-13b-pth is a machine learning model from shibing624. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as other.
Downloads · 30 days
1
4% of all-time downloads
All-time downloads
27
Public
Repo size
26.4 GB
Likes
7
Public
Click a slice to open those files.
.pth26.4 GB · 100%
From the Hugging Face model README
发布中文LLaMA-Plus, Alpaca-Plus 13B版本模型
发布中文LLaMA-Plus, Alpaca-Plus 13B版本,改进点如下:
本模型是 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 |
|---|---|
| 为什么天空是蓝色的? | 天空是蓝色的是因为大气中的气体分子散射了太阳光中的短波长蓝光,使得我们看到的天空呈现出蓝色。 |
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文件)可用于:
PyTorch版本权重(.pth文件)可用于:
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显存
我整理部分公开微调数据集:
如果需要训练LLaMA模型,请参考https://github.com/shibing624/textgen
@software{textgen,
author = {Xu Ming},
title = {textgen: Implementation of language model finetune},
year = {2023},
url = {https://github.com/shibing624/textgen},
}