行嗔
dbf022efe8
caption finetune done, add belu
3 years ago
行嗔
a0c57e1538
Merge remote-tracking branch 'origin/master' into ofa/finetune
3 years ago
行嗔
3b09d848ce
update
3 years ago
yuze.zyz
357a233ee3
[to #42322933 ] fix bug: checkpoint hook and bestckpthook exists at the same time
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10227608
3 years ago
行嗔
537827e5a1
Merge remote-tracking branch 'origin/master' into ofa/finetune
# Conflicts:
# modelscope/models/multi_modal/ofa_for_all_tasks.py
# modelscope/msdatasets/ms_dataset.py
# modelscope/trainers/utils/inference.py
3 years ago
行嗔
d979b90439
Merge branch 'master' into ofa/finetune
# Conflicts:
# modelscope/preprocessors/multi_modal.py
# modelscope/trainers/trainer.py
# tests/pipelines/test_ofa_tasks.py
3 years ago
jiangnana.jnn
1794e08af7
fix dist training
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10185634
* fix dist training
3 years ago
行嗔
5d83f62312
mnli finetune done
3 years ago
wenmeng.zwm
6808e9a301
[to #44902099 ] add license for framework files
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10189613
3 years ago
yuze.zyz
4cdd0c23eb
[to #42322933 ] Refactor and fix some bugs
1. Fix a bug in trainer's progress bar
2. Fix a bug that trainer does not support dataset in config file
3. Add feature: support go on training via checkpoint file
4. Add feature: support fixed filename when saving best checkpoint
5. Fix a bug that no id2label in config file after finetune of nlp models
6. Fix some other bugs
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10138906
3 years ago
wenmeng.zwm
7fb25d7bbb
[to #42322933 ]fix UT error for 830 version
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10142442
3 years ago
jiangnana.jnn
adee5d10ae
update EasyCV MsDataset
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10103248
* update EasyCV MSDataset
3 years ago
dingkun.ldk
54e1a6d88b
[to #42322933 ]830NLP 篇章排序/文本表示模型代码check
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9856179
3 years ago
ly119399
b41b10f897
[to #42322933 ] space finetune on generation task
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10061562
3 years ago
jiangnana.jnn
5e176da3a1
adapt to msdataset for EasyCV
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9935664
* adapt to msdataset for EasyCV
3 years ago
cyc385202
d4759e4c24
[to #42322933 ] 加入space模型在banking数据集上的finetune代码
加入space模型在banking数据集上的微调代码
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10006792
3 years ago
yuze.zyz
01e768503c
[to #42322933 ] Fix random seed for trainer
1. Fix random seed for trainer and init it at the first line of init
2. Add a regress test for fixed training
3. Change the dataset 'dureader_robust_qg' to 'DuReader_robust-QG'
4. Change some datasets from loading hf.datasets to loading msdataset.load
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10029509
3 years ago
行嗔
5cf6910bed
Merge remote-tracking branch 'origin/master' into ofa/finetune
3 years ago
hemu.zp
3d3f9b4537
[to #42322933 ] fix checkpoint format
1. 修复 palm,gpt3,mplug 模型存在的 finetune 后保存 checkpoint 与原有 checkpoint key 字段存在区别无法使用 from_pretrained 导入的问题
2. 调整 test_finetune_mplug.py 为只保存训练结束时的 checkpoint,减少 ci 耗时
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10016517
3 years ago
bin.xue
b870e4eed5
[to #42322933 ] test: use custom config to reduce test time
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10011826
、
3 years ago
yuze.zyz
a9c14e4ead
[to #42322933 ] Support saving the best checkpoint for inference
1. Support saving the best checkpoint for inference
2. Fix a bug that _max_iters field does not exist in trainer
3. Fix a bug that function in lambda_lr field cannot be saved to file
4. Fix a bug that save_pretrained would not be called by iterating
5. Fix a bug that interval is not passed from BestCkptHook's init
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9972765
3 years ago
行嗔
db534fe946
add hf dataset
3 years ago
Yingda Chen
39a309b655
[to #42322933 ] reduce train epoch from 3 to w
3 years ago
jiangnana.jnn
1a22fa0222
fix trainer unittest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9970626
* fix trainer unittest
3 years ago
行嗔
c546f2a8b9
Merge remote-tracking branch 'origin/master' into ofa/finetune
# Conflicts:
# modelscope/preprocessors/multi_modal.py
3 years ago
行嗔
a3aee4bec2
test finetune
3 years ago
shuying.shu
a9deb3895c
[to #42322933 ] movie scene segmentation模型接入
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9872869
3 years ago
mulin.lyh
12698b31a0
[to #44340132 ] fix: ci case run out of gpu memory
3 years ago
feiwu.yfw
2b64cf2bb6
[to #42322933 ]支持从dataset json文件中获取参数
* dataset json file add args
3 years ago
yuze.zyz
88d0804dcd
[to #42322933 ] Add S4: child-tuning
1. add child-tuning optimizer and ut
2. fix a training bug which can cause interruption after cross-evaluation
3. move model.params from cfg to default args in build_optimizer to prevent the saving of params in save_pretrained
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9891963
3 years ago
hemu.zp
a9089570e5
[to #42322933 ] Add mplug retrieval pipeline and finetune
支持 MPLUG 模型 image-text-retrieval 任务的 pipeline 和 finetune
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9919955
3 years ago
bin.xue
3e66244c0d
[to #42322933 ] Add ANS trainer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9892528
3 years ago
feiwu.yfw
39485426e7
[to #42322933 ]:fix msdataset
* 修复了zip文件不同打包模式下返回路径错误问题。
* 修复了替换了数据集文件重新下载时校验失败问题。
* 修复dataset oss文件在 REUSE 模式下重复下载的问题。
* 修复了csv数据集的meta json文件中某个split的meta和file字段都为''时加载所有split失败的问题。
* 修复了不同版本datasets路径不一致的问题。
3 years ago
hemu.zp
20a935d406
[to #42322933 ] add gpt3 base finetune
添加 gpt3 中小模型单机单卡下的 finetune 代码
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9899004
3 years ago
jiangnana.jnn
930d55d9ad
support EasyCV framework and add Segformer model
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9781849
* support EasyCV
3 years ago
hemu.zp
b92e2ca0a0
[to #42322933 ] add vqa and caption finetuning for mplug
添加 mplug 模型 caption 及 vqa 任务的 finetuning 支持
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9858028
3 years ago
zhangzhicheng.zzc
b94bb74f66
[to #42322933 ]Add model.save_pretrained method and allow finetune results used by pipeline
3 years ago
james.wjg
5f326e46f3
cv/video_summarization
新增video summarization模型的inference和finetune
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9840532
3 years ago
feiwu.yfw
35548bd492
[to #43875101 ]
msdataset add coco dataset
unify taskdataset and ms dataset
fix hf datasets
3 years ago
jiangnana.jnn
cfc3d1eed7
fix trainer about iters_per_epoch
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9791200
* fix trainer about iters_per_epoch
3 years ago
ya235025
4c08bd752a
[to #42322933 ]更新中文CLIP模型inference代码
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9763330
3 years ago
jiangnana.jnn
76482cc3ea
[to #43850241 ] fix processor and collate_fn
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9644184
* fix ditributed training and eval
3 years ago
yichang.zyc
5cbd9ff8fd
[to #42322933 ]replace clip modelid
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9691512
3 years ago
zhangzhicheng.zzc
0874089f6c
change sentiment-classification branch
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9662406
* bug fix for nlp backbone-head trainers
3 years ago
xiangpeng.wxp
a41de5e80e
[to #42322933 ]Merge request from 鹏程:nlp_translation_finetune
* csanmt finetune wxp
3 years ago
jiangnana.jnn
6f5b864735
[to #43850241 ] fix unittest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9660779
* fix unittest
3 years ago
yuze.zyz
794e277270
[to #42322933 ] Fix problem in ws
1. remove comments
2. fix a bug that ws assert failure for english input
3. add an english input test for ws
3. remove a test case which the dataset can not be visited by outer website
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9657140
3 years ago
zhangzhicheng.zzc
9d0b38b4e4
[to #42322933 ] lazy load on trainer
3 years ago
hemu.zp
75da5fd344
[to #42322933 ] Remove beta revision
移除测试中 damo/nlp_palm2.0_text-generation_english-base beta 分支的使用
3 years ago
yuze.zyz
064f1041a9
[to #42322933 ] Refine the nlp examples of finetuning
1. Refine the nlp finetune examples
2. Remove some useless code
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9631158
3 years ago