Skip to content

Commit eb61d0b

Browse files
authored
Merge pull request #12 from ymcui/dev
Release v1.0: Chinese-LLaMA-2-7B, Chinese-Alpaca-2-7B
2 parents 4227d45 + 0d15404 commit eb61d0b

29 files changed

+4416
-17
lines changed
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: English Issue Template
2+
description: For questions related to this project, we will prioritize issues with relatively complete content.
3+
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: 💡 For open discussions, please visit [Discussion Space](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/discussions). Please do not open a discussion in Issue section. Thank you.
8+
- type: checkboxes
9+
id: mustchecks
10+
attributes:
11+
label: Check before submitting issues
12+
description: Please check the following items before asking questions. Use the search function to find issues related to your problem.
13+
options:
14+
- label: Make sure to pull the latest code, as some issues and bugs have been fixed.
15+
required: true
16+
- label: I have read the [Wiki](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki) and [FAQ section](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki/FAQ) AND searched for similar issues and did not find a similar problem or solution
17+
required: true
18+
- label: Third-party plugin issues - e.g., [llama.cpp](https://github.com/ggerganov/llama.cpp), [text-generation-webui](https://github.com/oobabooga/text-generation-webui), we recommend checking the corresponding project for solutions
19+
required: true
20+
- type: dropdown
21+
id: question-type
22+
attributes:
23+
label: Type of Issue
24+
description: Please select the type of issue that best matches your problem
25+
options:
26+
- Download issue
27+
- Model conversion and merging
28+
- Model training and fine-tuning
29+
- Model inference
30+
- Model quantization and deployment
31+
- Performance issue
32+
- Other issues
33+
- type: dropdown
34+
id: model-type
35+
attributes:
36+
label: Base Model
37+
description: Please provide the type of base model. For issues related to multiple models, please select the most appropriate one and specify all models in the main text.
38+
options:
39+
- LLaMA-2-7B
40+
- Alpaca-2-7B
41+
- type: dropdown
42+
id: operating-system
43+
attributes:
44+
label: Operating System
45+
description: Please provide your operating system
46+
options:
47+
- Windows
48+
- macOS
49+
- Linux
50+
- type: textarea
51+
id: question-detailed
52+
attributes:
53+
label: Describe your issue in detail
54+
description: Please describe your problem as detail as possible. **For code-related issues, please provide the complete command to reproduce the problem.** This will help us locate the issue quickly.
55+
value: |
56+
```
57+
# Please copy-and-paste your command here.
58+
```
59+
- type: textarea
60+
id: dependencies
61+
attributes:
62+
label: Dependencies (must be provided for code-related issues)
63+
description: Please provide the versions of common dependencies such as transformers, peft, torch, etc. Use `pip list | grep -E 'transformers|peft|torch'`
64+
value: |
65+
```
66+
# Please copy-and-paste your dependencies here.
67+
```
68+
- type: textarea
69+
id: logs
70+
attributes:
71+
label: Execution logs or screenshots
72+
description: Please provide logs in text format (upload files if content is too long), or alternatively, screenshots of the execution record.
73+
value: |
74+
```
75+
# Please copy-and-paste your logs here.
76+
```
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: 中文提问模板
2+
description: 与本项目相关的问题提问,我们会优先查阅内容相对完整的issue。
3+
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: 💡 开放式讨论请移步[讨论区](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/discussions),请勿以issue形式提问,谢谢。
8+
- type: checkboxes
9+
id: mustchecks
10+
attributes:
11+
label: 提交前必须检查以下项目
12+
description: 请在提问前检查以下项目,善用搜索功能查找与自己问题相关的issue。
13+
options:
14+
- label: 请确保使用的是仓库最新代码(git pull),一些问题已被解决和修复。
15+
required: true
16+
- label: 我已阅读[项目文档](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki)和[FAQ章节](https://github.com/ymcui/Chinese-LLaMA-Alpaca-2/wiki/常见问题)并且已在Issue中对问题进行了搜索,没有找到相似问题和解决方案
17+
required: true
18+
- label: 第三方插件问题:例如[llama.cpp](https://github.com/ggerganov/llama.cpp)、[text-generation-webui](https://github.com/oobabooga/text-generation-webui)等,同时建议到对应的项目中查找解决方案
19+
required: true
20+
- type: dropdown
21+
id: question-type
22+
attributes:
23+
label: 问题类型
24+
description: 请选择最符合的问题类型
25+
options:
26+
- 下载问题
27+
- 模型转换和合并
28+
- 模型训练与精调
29+
- 模型推理
30+
- 模型量化和部署
31+
- 效果问题
32+
- 其他问题
33+
- type: dropdown
34+
id: model-type
35+
attributes:
36+
label: 基础模型
37+
description: 请提供问题涉及的具体模型。
38+
options:
39+
- LLaMA-2-7B
40+
- Alpaca-2-7B
41+
- type: dropdown
42+
id: operating-system
43+
attributes:
44+
label: 操作系统
45+
description: 请提供操作系统类型
46+
options:
47+
- Windows
48+
- macOS
49+
- Linux
50+
- type: textarea
51+
id: question-detailed
52+
attributes:
53+
label: 详细描述问题
54+
description: 请尽量具体地描述遇到的问题,**代码程序类问题务必给出完整运行命令**,这将有助于快速定位问题所在。
55+
value: |
56+
```
57+
# 请在此处粘贴运行代码(如没有可删除该代码块)
58+
```
59+
- type: textarea
60+
id: dependencies
61+
attributes:
62+
label: 依赖情况(代码类问题务必提供)
63+
description: 请提供transformers, peft, torch等常规依赖库的版本:`pip list | grep -E 'transformers|peft|torch'`
64+
value: |
65+
```
66+
# 请在此处粘贴依赖情况
67+
```
68+
- type: textarea
69+
id: logs
70+
attributes:
71+
label: 运行日志或截图
72+
description: 请优先提供文本形式的log(过长内容请上传文件),粘贴内容放在markdown代码块。或者提供截图形式的运行记录。
73+
value: |
74+
```
75+
# 请在此处粘贴运行日志
76+
```

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

CITATION.cff

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cff-version: 1.2.0
2+
message: "If you find our resources useful, please cite our paper as below."
3+
authors:
4+
- family-names: "Cui"
5+
given-names: "Yiming"
6+
orcid: "https://orcid.org/0000-0002-2452-375X"
7+
- family-names: "Yang"
8+
given-names: "Ziqing"
9+
- family-names: "Yao"
10+
given-names: "Xin"
11+
title: "Chinese LLaMA and Alpaca 2"
12+
version: 1.0
13+
date-released: 2023-07-28
14+
url: "https://github.com/ymcui/Chinese-LLaMA-Alpaca-2"
15+
preferred-citation:
16+
type: article
17+
authors:
18+
- family-names: "Cui"
19+
given-names: "Yiming"
20+
orcid: "https://orcid.org/0000-0002-2452-375X"
21+
- family-names: "Yang"
22+
given-names: "Ziqing"
23+
- family-names: "Yao"
24+
given-names: "Xin"
25+
title: "Efficient and Effective Text Encoding for Chinese LLaMA and Alpaca"
26+
journal: "arXiv pre-print"
27+
year: 2023
28+
url: "https://arxiv.org/abs/2304.08177"

0 commit comments

Comments
 (0)