Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Add internlm dataset doc #242

Merged
merged 17 commits into from
Nov 22, 2023
Merged

[Doc] Add internlm dataset doc #242

merged 17 commits into from
Nov 22, 2023

Conversation

HIT-cwh
Copy link
Collaborator

@HIT-cwh HIT-cwh commented Nov 21, 2023

No description provided.

docs/en/user_guides/internlm_dataset.md Outdated Show resolved Hide resolved
docs/zh_cn/user_guides/internlm_dataset.md Outdated Show resolved Hide resolved
docs/en/user_guides/internlm_dataset.md Outdated Show resolved Hide resolved
xtuner/dataset/internlm.py Outdated Show resolved Hide resolved
xtuner/dataset/internlm.py Outdated Show resolved Hide resolved
docs/zh_cn/user_guides/internlm_dataset.md Outdated Show resolved Hide resolved
docs/en/user_guides/internlm_dataset.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@pppppM pppppM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. docs/en/user_guides/internlm_dataset.md > docs/en/user_guides/intern_repo_dataset.md
  2. docs/zh/user_guides/internlm_dataset.md > docs/zh/user_guides/intern_repo_dataset.md
  3. xtuner/configs/internlm/internlm_7b/internlm_7b_full_internlm_dataset_template.py > xtuner/configs/internlm/internlm_7b/internlm_7b_full_intern_repo_dataset_template.py

### Step 3, Start training

```
srun ${SRUN_ARGS} xtuner train internlm_7b_full_internlm_dataset_template --launcher slurm --deepspeed deepspeed_zero3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internlm_dataset > intern_repo_dataset


### Step 1, 导出模板 config 文件

可以通过下列命令将名为 internlm_7b_full_internlm_dataset_template 的 config 导出至当前目录下:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internlm_dataset > intern_repo_dataset

可以通过下列命令将名为 internlm_7b_full_internlm_dataset_template 的 config 导出至当前目录下:

```
xtuner copy-cfg internlm_7b_full_internlm_dataset_template .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internlm_dataset > intern_repo_dataset

### Step 3, 启动训练

```
srun ${SRUN_ARGS} xtuner train internlm_7b_full_internlm_dataset_template --launcher slurm --deepspeed deepspeed_zero3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

internlm_dataset > intern_repo_dataset

@pppppM pppppM merged commit de2896e into InternLM:main Nov 22, 2023
1 check passed
@HIT-cwh HIT-cwh deleted the add_doc branch January 31, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants