flemingxu
commited on
Commit
•
bef4ff9
1
Parent(s):
a49577c
update md
Browse files
LICENSE
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
LLaMA LICENSE AGREEMENT
|
2 |
+
This License Agreement (as may be amended in accordance with this License Agreement, “License”), between you, or your employer or other entity (if you are entering into this agreement on behalf of your employer or other entity) (“Licensee” or “you”) and Meta Platforms, Inc. (“Meta” or “we”) applies to your use of any computer program, algorithm, source code, object code, or software that is made available by Meta under this License (“Software”) and any specifications, manuals, documentation, and other written information provided by Meta related to the Software (“Documentation”).
|
3 |
+
|
4 |
+
By clicking “I Accept” below or by using the Software, you agree to the terms of this License. If you do not agree to this License, then you do not have any rights to use the Software or Documentation (collectively, the “Software Products”), and you must immediately cease using the Software Products. If you are agreeing to be bound by the terms of this License on behalf of your employer or other entity, you represent and warrant to Meta that you have full legal authority to bind your employer or such entity to this License. If you do not have the requisite authority, you may not accept the License or access the Software Products on behalf of your employer or other entity.
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
LICENSE GRANT
|
9 |
+
|
10 |
+
a. Subject to your compliance with the Documentation and Sections 2, 3, and 5, Meta grants you a non-exclusive, worldwide, non-transferable, non-sublicensable, revocable, royalty free and limited license under Meta’s copyright interests to reproduce, distribute, and create derivative works of the Software solely for your non-commercial research purposes. The foregoing license is personal to you, and you may not assign or sublicense this License or any other rights or obligations under this License without Meta’s prior written consent; any such assignment or sublicense will be void and will automatically and immediately terminate this License.
|
11 |
+
|
12 |
+
b. You may make a reasonable number of copies of the Documentation solely for use in connection with the license to the Software granted above.
|
13 |
+
|
14 |
+
c. The grant of rights expressly set forth in this Section 1 (License Grant) are the complete grant of rights to you in the Software Products, and no other licenses are granted, whether by waiver, estoppel, implication, equity or otherwise. Meta and its licensors reserve all rights not expressly granted by this License.
|
15 |
+
|
16 |
+
|
17 |
+
RESTRICTIONS
|
18 |
+
|
19 |
+
You will not, and will not permit, assist or cause any third party to:
|
20 |
+
|
21 |
+
a. use, modify, copy, reproduce, create derivative works of, or distribute the Software Products (or any derivative works thereof, works incorporating the Software Products, or any data produced by the Software), in whole or in part, for (i) any commercial or production purposes, (ii) military purposes or in the service of nuclear technology, (iii) purposes of surveillance, including any research or development relating to surveillance, (iv) biometric processing, (v) in any manner that infringes, misappropriates, or otherwise violates any third-party rights, or (vi) in any manner that violates any applicable law, including accessing the Software Products from an embargoed country as prohibited by the U.S. government, and violating any privacy or security laws, rules, regulations, directives, or governmental requirements (including the General Data Privacy Regulation (Regulation (EU) 2016/679), the California Consumer Privacy Act, and any and all laws governing the processing of biometric information), as well as all amendments and successor laws to any of the foregoing;
|
22 |
+
|
23 |
+
b. alter or remove copyright and other proprietary notices which appear on or in the Software Products;
|
24 |
+
|
25 |
+
c. utilize any equipment, device, software, or other means to circumvent or remove any security or protection used by Meta in connection with the Software, or to circumvent or remove any usage restrictions, or to enable functionality disabled by Meta; or
|
26 |
+
|
27 |
+
d. offer or impose any terms on the Software Products that alter, restrict, or are inconsistent with the terms of this License.
|
28 |
+
|
29 |
+
|
30 |
+
ATTRIBUTION
|
31 |
+
|
32 |
+
Together with any copies of the Software Products (as well as derivative works thereof or works incorporating the Software Products) that you distribute, you must provide (i) a copy of this License, and (ii) the following attribution notice: “LLaMA is licensed under the LLaMA license, Copyright (c) Meta Platforms, Inc. All Rights Reserved.”
|
33 |
+
|
34 |
+
|
35 |
+
DISCLAIMERS
|
36 |
+
|
37 |
+
THE SOFTWARE PRODUCTS ARE PROVIDED “AS IS” and “WITH ALL FAULTS” WITH NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. META EXPRESSLY DISCLAIMS ALL REPRESENTATIONS AND WARRANTIES, EXPRESS OR IMPLIED, WHETHER BY STATUTE, CUSTOM, USAGE OR OTHERWISE AS TO ANY MATTERS RELATED TO THE SOFTWARE PRODUCTS, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, SATISFACTORY QUALITY, OR NON-INFRINGEMENT. META MAKES NO WARRANTIES OR REPRESENTATIONS THAT THE SOFTWARE PRODUCTS WILL BE ERROR FREE OR FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS, OR PRODUCE ANY PARTICULAR RESULTS.
|
38 |
+
|
39 |
+
|
40 |
+
LIMITATION OF LIABILITY
|
41 |
+
|
42 |
+
TO THE FULLEST EXTENT PERMITTED BY LAW, IN NO EVENT WILL META BE LIABLE TO YOU (A) UNDER ANY THEORY OF LIABILITY, WHETHER BASED IN CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY, WARRANTY, OR OTHERWISE UNDER THIS LICENSE, OR (B) FOR ANY INDIRECT, CONSEQUENTIAL, EXEMPLARY, INCIDENTAL, PUNITIVE OR SPECIAL DAMAGES OR LOST PROFITS, EVEN IF META HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THE SOFTWARE PRODUCTS, THEIR CONSTITUENT COMPONENTS, AND ANY OUTPUT (COLLECTIVELY, “SOFTWARE MATERIALS”) ARE NOT DESIGNED OR INTENDED FOR USE IN ANY APPLICATION OR SITUATION WHERE FAILURE OR FAULT OF THE SOFTWARE MATERIALS COULD REASONABLY BE ANTICIPATED TO LEAD TO SERIOUS INJURY OF ANY PERSON, INCLUDING POTENTIAL DISCRIMINATION OR VIOLATION OF AN INDIVIDUAL’S PRIVACY RIGHTS, OR TO SEVERE PHYSICAL, PROPERTY, OR ENVIRONMENTAL DAMAGE (EACH, A “HIGH-RISK USE”). IF YOU ELECT TO USE ANY OF THE SOFTWARE MATERIALS FOR A HIGH-RISK USE, YOU DO SO AT YOUR OWN RISK. YOU AGREE TO DESIGN AND IMPLEMENT APPROPRIATE DECISION-MAKING AND RISK-MITIGATION PROCEDURES AND POLICIES IN CONNECTION WITH A HIGH-RISK USE SUCH THAT EVEN IF THERE IS A FAILURE OR FAULT IN ANY OF THE SOFTWARE MATERIALS, THE SAFETY OF PERSONS OR PROPERTY AFFECTED BY THE ACTIVITY STAYS AT A LEVEL THAT IS REASONABLE, APPROPRIATE, AND LAWFUL FOR THE FIELD OF THE HIGH-RISK USE.
|
43 |
+
|
44 |
+
|
45 |
+
INDEMNIFICATION
|
46 |
+
|
47 |
+
You will indemnify, defend and hold harmless Meta and our subsidiaries and affiliates, and each of our respective shareholders, directors, officers, employees, agents, successors, and assigns (collectively, the “Meta Parties”) from and against any losses, liabilities, damages, fines, penalties, and expenses (including reasonable attorneys’ fees) incurred by any Meta Party in connection with any claim, demand, allegation, lawsuit, proceeding, or investigation (collectively, “Claims”) arising out of or related to: (a) your access to or use of the Software Products (as well as any results or data generated from such access or use), including any High-Risk Use (defined below); (b) your violation of this License; or (c) your violation, misappropriation or infringement of any rights of another (including intellectual property or other proprietary rights and privacy rights). You will promptly notify the Meta Parties of any such Claims, and cooperate with Meta Parties in defending such Claims. You will also grant the Meta Parties sole control of the defense or settlement, at Meta’s sole option, of any Claims. This indemnity is in addition to, and not in lieu of, any other indemnities or remedies set forth in a written agreement between you and Meta or the other Meta Parties.
|
48 |
+
|
49 |
+
|
50 |
+
TERMINATION; SURVIVAL
|
51 |
+
|
52 |
+
a. This License will automatically terminate upon any breach by you of the terms of this License.
|
53 |
+
|
54 |
+
b. We may terminate this License, in whole or in part, at any time upon notice (including electronic) to you.
|
55 |
+
|
56 |
+
c. The following sections survive termination of this License: 2 (Restrictions), 3 (Attribution), 4 (Disclaimers), 5 (Limitation on Liability), 6 (Indemnification) 7 (Termination; Survival), 8 (Third Party Materials), 9 (Trademarks), 10 (Applicable Law; Dispute Resolution), and 11 (Miscellaneous).
|
57 |
+
|
58 |
+
|
59 |
+
THIRD PARTY MATERIALS
|
60 |
+
|
61 |
+
The Software Products may contain third-party software or other components (including free and open source software) (all of the foregoing, “Third Party Materials”), which are subject to the license terms of the respective third-party licensors. Your dealings or correspondence with third parties and your use of or interaction with any Third Party Materials are solely between you and the third party. Meta does not control or endorse, and makes no representations or warranties regarding, any Third Party Materials, and your access to and use of such Third Party Materials are at your own risk.
|
62 |
+
|
63 |
+
|
64 |
+
TRADEMARKS
|
65 |
+
|
66 |
+
Licensee has not been granted any trademark license as part of this License and may not use any name or mark associated with Meta without the prior written permission of Meta, except to the extent necessary to make the reference required by the “ATTRIBUTION” section of this Agreement.
|
67 |
+
|
68 |
+
|
69 |
+
APPLICABLE LAW; DISPUTE RESOLUTION
|
70 |
+
|
71 |
+
This License will be governed and construed under the laws of the State of California without regard to conflicts of law provisions. Any suit or proceeding arising out of or relating to this License will be brought in the federal or state courts, as applicable, in San Mateo County, California, and each party irrevocably submits to the jurisdiction and venue of such courts.
|
72 |
+
|
73 |
+
|
74 |
+
MISCELLANEOUS
|
75 |
+
|
76 |
+
If any provision or part of a provision of this License is unlawful, void or unenforceable, that provision or part of the provision is deemed severed from this License, and will not affect the validity and enforceability of any remaining provisions. The failure of Meta to exercise or enforce any right or provision of this License will not operate as a waiver of such right or provision. This License does not confer any third-party beneficiary rights upon any other person or entity. This License, together with the Documentation, contains the entire understanding between you and Meta regarding the subject matter of this License, and supersedes all other written or oral agreements and understandings between you and Meta regarding such subject matter. No change or addition to any provision of this License will be binding unless it is in writing and signed by an authorized representative of both you and Meta.
|
README.md
CHANGED
@@ -1,145 +1,92 @@
|
|
1 |
---
|
2 |
-
title: chinese-alpaca-plus-
|
3 |
emoji: 📚
|
4 |
colorFrom: gray
|
5 |
colorTo: red
|
6 |
-
language:
|
7 |
- zh
|
8 |
tags:
|
9 |
- chatglm
|
10 |
- pytorch
|
11 |
- zh
|
12 |
- Text2Text-Generation
|
13 |
-
|
|
|
14 |
widget:
|
15 |
-
- text:
|
16 |
---
|
17 |
|
18 |
-
# Chinese Alpaca Plus
|
19 |
|
20 |
-
**发布中文LLaMA, Alpaca
|
21 |
|
|
|
22 |
|
23 |
-
|
|
|
|
|
|
|
|
|
24 |
|
25 |
-
-
|
26 |
-
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
本模型是`原生LLaMA-7B`合并`中文LLaMA LoRA`和`中文Alpaca LoRA`后的模型权重,可以直接使用或者继续训练。
|
31 |
|
|
|
32 |
|
33 |
test case:
|
34 |
|
35 |
|input_text|predict|
|
36 |
|:-- |:--- |
|
37 |
-
|
38 |
|
39 |
|
40 |
## Usage
|
|
|
41 |
|
42 |
-
|
43 |
-
|
44 |
-
Install package:
|
45 |
-
```shell
|
46 |
-
pip install -U textgen
|
47 |
-
```
|
48 |
-
|
49 |
-
```python
|
50 |
-
from textgen import LlamaModel
|
51 |
-
model = LlamaModel("llama", "shibing624/chinese-alpaca-plus-7b-hf")
|
52 |
-
r = model.predict(["用一句话描述地球为什么是独一无二的。"])
|
53 |
-
print(r) # ['地球是独一无二的,因为它拥有独特的大气层、水循环、生物多样性以及其他自然资源,这些都使它成为一个独特的生命支持系统。']
|
54 |
-
```
|
55 |
-
|
56 |
-
## Usage (HuggingFace Transformers)
|
57 |
-
Without [textgen](https://github.com/shibing624/textgen), you can use the model like this:
|
58 |
-
|
59 |
-
First, you pass your input through the transformer model, then you get the generated sentence.
|
60 |
-
|
61 |
-
Install package:
|
62 |
-
```
|
63 |
-
pip install sentencepiece
|
64 |
-
pip install transformers>=4.28.0
|
65 |
-
```
|
66 |
-
|
67 |
-
```python
|
68 |
-
import torch
|
69 |
-
import transformers
|
70 |
-
from transformers import LlamaTokenizer, LlamaForCausalLM
|
71 |
-
|
72 |
-
def generate_prompt(text):
|
73 |
-
return f"""Below is an instruction that describes a task. Write a response that appropriately completes the request.
|
74 |
-
|
75 |
-
### Instruction:
|
76 |
-
{text}
|
77 |
-
|
78 |
-
### Response:"""
|
79 |
-
|
80 |
-
|
81 |
-
tokenizer = LlamaTokenizer.from_pretrained('shibing624/chinese-alpaca-plus-7b-hf')
|
82 |
-
model = LlamaForCausalLM.from_pretrained('shibing624/chinese-alpaca-plus-7b-hf').half().cuda()
|
83 |
-
model.eval()
|
84 |
-
|
85 |
-
text = '为什么天空是蓝色的?'
|
86 |
-
prompt = generate_prompt(text)
|
87 |
-
input_ids = tokenizer.encode(prompt, return_tensors='pt').to('cuda')
|
88 |
-
|
89 |
-
|
90 |
-
with torch.no_grad():
|
91 |
-
output_ids = model.generate(
|
92 |
-
input_ids=input_ids,
|
93 |
-
max_new_tokens=128,
|
94 |
-
temperature=1,
|
95 |
-
top_k=40,
|
96 |
-
top_p=0.9,
|
97 |
-
repetition_penalty=1.15
|
98 |
-
).cuda()
|
99 |
-
output = tokenizer.decode(output_ids[0], skip_special_tokens=True)
|
100 |
-
print(output.replace(text, '').strip())
|
101 |
-
```
|
102 |
-
|
103 |
|
104 |
-
output:
|
105 |
-
```shell
|
106 |
-
为什么天空是蓝色的?
|
107 |
-
天空是蓝色的,是因为大气层中的气体分子会散射太阳光中的蓝色光,使得我们看到的天空是蓝色的。
|
108 |
-
```
|
109 |
|
110 |
-
|
|
|
111 |
|
112 |
-
|
|
|
|
|
113 |
|
114 |
-
|
|
|
115 |
|
|
|
116 |
|
117 |
模型文件组成:
|
118 |
```
|
119 |
-
chinese-alpaca-plus-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
tokenizer_config.json
|
129 |
```
|
130 |
|
131 |
-
硬件要求:
|
132 |
|
133 |
-
###
|
|
|
134 |
|
135 |
1. 50万条中文ChatGPT指令Belle数据集:[BelleGroup/train_0.5M_CN](https://huggingface.co/datasets/BelleGroup/train_0.5M_CN)
|
136 |
2. 100万条中文ChatGPT指令Belle数据集:[BelleGroup/train_1M_CN](https://huggingface.co/datasets/BelleGroup/train_1M_CN)
|
137 |
3. 5万条英文ChatGPT指令Alpaca数据集:[50k English Stanford Alpaca dataset](https://github.com/tatsu-lab/stanford_alpaca#data-release)
|
138 |
-
4.
|
139 |
5. 69万条中文指令Guanaco数据集(Belle50万条+Guanaco19万条):[Chinese-Vicuna/guanaco_belle_merge_v1.0](https://huggingface.co/datasets/Chinese-Vicuna/guanaco_belle_merge_v1.0)
|
140 |
|
141 |
|
142 |
-
如果需要训练
|
143 |
|
144 |
|
145 |
## Citation
|
@@ -156,3 +103,5 @@ chinese-alpaca-plus-7b-hf
|
|
156 |
|
157 |
## Reference
|
158 |
- https://github.com/ymcui/Chinese-LLaMA-Alpaca
|
|
|
|
|
|
1 |
---
|
2 |
+
title: chinese-alpaca-plus-13b-pth
|
3 |
emoji: 📚
|
4 |
colorFrom: gray
|
5 |
colorTo: red
|
6 |
+
language:
|
7 |
- zh
|
8 |
tags:
|
9 |
- chatglm
|
10 |
- pytorch
|
11 |
- zh
|
12 |
- Text2Text-Generation
|
13 |
+
- LLaMA
|
14 |
+
license: other
|
15 |
widget:
|
16 |
+
- text: 为什么天空是蓝色的?
|
17 |
---
|
18 |
|
19 |
+
# Chinese Alpaca Plus 13B Model(PyTorch版本权重.pth文件)
|
20 |
|
21 |
+
**发布中文LLaMA-Plus, Alpaca-Plus 13B版本模型**
|
22 |
|
23 |
+
发布中文LLaMA-Plus, Alpaca-Plus 13B版本,改进点如下:
|
24 |
|
25 |
+
- 相比基础版进一步扩充了训练数据,其中LLaMA扩充至120G文本,Alpaca扩充至4.3M指令数据,重点增加了科学领域数据,涵盖:物理、化学、生物、医学、地球科学等
|
26 |
+
- Alpaca训练时采用了更大的rank,相比基础版具有更低的验证集损失
|
27 |
+
- Alpaca评测结果:13B获得74.3分,Plus-7B获得78.2分,Plus-13B获得80.8分,具体评测结果请参考[效果评测](https://github.com/ymcui/Chinese-LLaMA-Alpaca/blob/main/examples)
|
28 |
+
- 多轮回复长度相比旧模型提升明显(可适当增大温度系数)
|
29 |
+
- 知识问答、写作、翻译等方面效果显著提升
|
30 |
|
31 |
+
本模型是 [decapoda-research/llama-13b-hf](https://huggingface.co/decapoda-research/llama-13b-hf)
|
32 |
+
底座模型 合并 [ziqingyang/chinese-llama-plus-lora-13b](https://huggingface.co/ziqingyang/chinese-llama-plus-lora-13b)
|
33 |
+
和 [ziqingyang/chinese-alpaca-plus-lora-13b](https://huggingface.co/ziqingyang/chinese-alpaca-plus-lora-13b) 两个LoRA权重,
|
34 |
+
并转化为PyTorch版本权重(.pth文件),可以直接使用或者继续训练。
|
|
|
|
|
35 |
|
36 |
+
7b-hf权重链接:https://huggingface.co/shibing624/chinese-alpaca-plus-7b-hf
|
37 |
|
38 |
test case:
|
39 |
|
40 |
|input_text|predict|
|
41 |
|:-- |:--- |
|
42 |
+
|为什么天空是蓝色的?|天空是蓝色的是因为大气中的气体分子散射了太阳光中的短波长蓝光,使得我们看到的天空呈现出蓝色。|
|
43 |
|
44 |
|
45 |
## Usage
|
46 |
+
llama.cpp进行量化和部署,或者调用执行
|
47 |
|
48 |
+
## 模型来源
|
49 |
+
release合并后的模型权重,一步到位直接使用,省电、减少碳排放。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
+
基于 [多LoRA权重合并(适用于Chinese-Alpaca-Plus )](https://github.com/ymcui/Chinese-LLaMA-Alpaca/wiki/%E6%89%8B%E5%8A%A8%E6%A8%A1%E5%9E%8B%E5%90%88%E5%B9%B6%E4%B8%8E%E8%BD%AC%E6%8D%A2#%E5%A4%9Alora%E6%9D%83%E9%87%8D%E5%90%88%E5%B9%B6%E9%80%82%E7%94%A8%E4%BA%8Echinese-alpaca-plus)方法手动合并而成,具体是使用 [decapoda-research/llama-13b-hf](https://huggingface.co/decapoda-research/llama-13b-hf)
|
53 |
+
底座模型 合并 [ziqingyang/chinese-llama-plus-lora-13b](https://huggingface.co/ziqingyang/chinese-llama-plus-lora-13b) 和 [ziqingyang/chinese-alpaca-plus-lora-13b](https://huggingface.co/ziqingyang/chinese-alpaca-plus-lora-13b) 两个LoRA权重 得到,并转化为PyTorch版本权重(.pth文件)。
|
54 |
|
55 |
+
HuggingFace版本权重(.bin文件)可用于:
|
56 |
+
- 使用Transformers进行训练和推理
|
57 |
+
- 使用text-generation-webui搭建界面
|
58 |
|
59 |
+
PyTorch版本权重(.pth文件)可用于:
|
60 |
+
- 使用llama.cpp工具进行量化和部署
|
61 |
|
62 |
+
HuggingFace版本权重(.bin文件)链接:[shibing624/chinese-alpaca-plus-13b-hf](https://huggingface.co/shibing624/chinese-alpaca-plus-13b-hf)
|
63 |
|
64 |
模型文件组成:
|
65 |
```
|
66 |
+
chinese-alpaca-plus-13b-pth
|
67 |
+
|-- consolidated.00.pth
|
68 |
+
|-- consolidated.01.pth
|
69 |
+
|-- LICENSE
|
70 |
+
|-- params.json
|
71 |
+
|-- README.md
|
72 |
+
|-- special_tokens_map.json
|
73 |
+
|-- tokenizer_config.json
|
74 |
+
`-- tokenizer.model
|
|
|
75 |
```
|
76 |
|
77 |
+
硬件要求:25G显存
|
78 |
|
79 |
+
### 微调数据集
|
80 |
+
我整理部分公开微调数据集:
|
81 |
|
82 |
1. 50万条中文ChatGPT指令Belle数据集:[BelleGroup/train_0.5M_CN](https://huggingface.co/datasets/BelleGroup/train_0.5M_CN)
|
83 |
2. 100万条中文ChatGPT指令Belle数据集:[BelleGroup/train_1M_CN](https://huggingface.co/datasets/BelleGroup/train_1M_CN)
|
84 |
3. 5万条英文ChatGPT指令Alpaca数据集:[50k English Stanford Alpaca dataset](https://github.com/tatsu-lab/stanford_alpaca#data-release)
|
85 |
+
4. 5万条中文GPT4指令Alpaca数据集:[shibing624/alpaca-zh](https://huggingface.co/datasets/shibing624/alpaca-zh)
|
86 |
5. 69万条中文指令Guanaco数据集(Belle50万条+Guanaco19万条):[Chinese-Vicuna/guanaco_belle_merge_v1.0](https://huggingface.co/datasets/Chinese-Vicuna/guanaco_belle_merge_v1.0)
|
87 |
|
88 |
|
89 |
+
如果需要训练LLaMA模型,请参考[https://github.com/shibing624/textgen](https://github.com/shibing624/textgen)
|
90 |
|
91 |
|
92 |
## Citation
|
|
|
103 |
|
104 |
## Reference
|
105 |
- https://github.com/ymcui/Chinese-LLaMA-Alpaca
|
106 |
+
|
107 |
+
|