-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -118,4 +118,7 @@ work_dirs/ | |
# Pytorch | ||
*.pth | ||
*.py~ | ||
*.sh~ | ||
*.sh~ | ||
|
||
# mim | ||
*.mim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,4 +47,4 @@ repos: | |
rev: v3.0.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: ["--py36-plus"] | ||
args: ["--py36-plus"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# MMChat | ||
|
||
### Installation | ||
|
||
1. 安装 Pytorch (https://pytorch.org/get-started/locally/) | ||
2. 安装 MMChat | ||
|
||
``` | ||
pip install -r requirements.txt | ||
pip install -e . | ||
``` | ||
|
||
### TODO | ||
|
||
##### 基础功能 | ||
|
||
- [x] MMEngine 加载 HF Dataset | ||
- [x] MMEngine 加载 HF Model & Tokenizer | ||
- [ ] DeepSpeed Config | ||
- [ ] FSDP Config | ||
- [ ] MMLU 评测 | ||
- [ ] PTH -> HF Checkpoint 转换脚本 | ||
- [ ] Attention Score 可视化 | ||
|
||
##### 算法 | ||
|
||
- [x] SFT | ||
- [ ] Alpaca SFT Setting & 精度对齐 | ||
- [x] QLora SFT | ||
- [ ] QLora SFT Setting & 精度对齐 | ||
- [ ] QLora RLHF | ||
- [ ] Distill Finetune |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bitsandbytes==0.39.1 | ||
mmengine==0.8.1 | ||
peft==0.4.0.dev0 | ||
transformers==4.30.2 |