xiangpeng.wxp
2536f9ec9b
[to #42322933 ] add en-zh en-es es-en base translation models
* add en-zh en-es es-en base translation models
* add en-zh en-es es-en base translation models
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10895782
* 新增英中/英西/西英-base机器翻译模型
* 新增英中/英西/西英-base机器翻译模型
3 years ago
mulin.lyh
90a5efa1c2
[to #46106568 ]feat: parallel run ci case
3 years ago
xiangpeng.wxp
d6ea41fb70
[to #42322933 ] solve memory error for translation finetune
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10713843
* [to #42322933 ] solve memory error for translation finetune
3 years ago
yingda.chen
4e4faa9a30
specifiy file encoding when open text for read
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10708723
3 years ago
huizheng.hz
2fe5203571
reduce image denoising test time
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10712244
3 years ago
shuying.shu
085acc64c8
fix bug and change unittest mode
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10680402
3 years ago
hemu.zp
0f0fdcae6f
[to #42322933 ] Fix bug for mplug evaluation
修复了 mplug evaluation 使用了错误的 metrics 的问题,将部分中文处理代码独立到 utils 中,为 mplug 添加 trainer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10612875
3 years ago
翎航
fd4276ad1a
add five finetune task & merge master
3 years ago
翎航
3534970709
add five finetune task & merge master
3 years ago
翎航
a02b2409d8
add five finetune task & merge master
3 years ago
翎航
eb82ba9c6f
add finetune & merge master
3 years ago
翎航
0418786cbe
add five task finetune
3 years ago
liugao.lg
40b6770956
[to #42322933 ]fix ocr prepreocess & conflict
修复ocr预处理逻辑不一致问题
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10581697
3 years ago
zhangzhicheng.zzc
0d3b7b0df2
[to #42322933 ]fix bugs relate to token cls
1.修复token classification preprocessor finetune结果错误问题
2.修复word segmentation output 无用属性
3. 修复nlp preprocessor传use_fast错误
4. 修复torch model exporter bug
5. 修复文档撰写过程中发现trainer相关bug
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10573269
3 years ago
翎航
11cebb8d64
fix ocr prepreocess & conflict
3 years ago
翎航
3b21ff10ec
fix ocr prepreocess
3 years ago
yichang.zyc
e2d35fbb14
[to #42322933 ]clip支持finetune
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10572842
3 years ago
Yingda Chen
9f7b8b86a3
[to #42322933 ] disble 2dkeypoints training since face_2d_keypoints_dataset is set to be private
3 years ago
yuze.zyz
4b7e8e89aa
[to #42322933 ] Fix some bugs when downgrade the version of some dependencies
1. Fix bug in model exporting
2. Skip some long trainings in test level 2
3. Refine some comments
4. Fix a bug that mode is not correct when saving checkpoints
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10564716
3 years ago
Yingda Chen
46cfa177aa
[to #42322933 ]skip timeconsuming test
3 years ago
Yingda Chen
374fd3090e
[to #42322933 ]skip referring video tests since model is private
3 years ago
yuze.zyz
212cf53318
[to #42322933 ] Fix some bugs
1. Add F1 score to sequence classification metric
2. Fix a bug that the evaluate method in trainer does not support a pure pytorch_model.bin
3. Fix a bug in evaluation of veco trainer
4. Add some tips if lr_scheduler in the trainer needs a higher version torch
5. Add some comments
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10532230
3 years ago
shuying.shu
ddcb57440d
[to #42322933 ]add fine-tune code for referring video object segmentation
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10539423
3 years ago
eniac.xcw
8886c3c1ae
[to #42322933 ]fine tune team on caltech-101
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10525413
3 years ago
yingda.chen
de708dd518
add basic remap column wrapper
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10539917
* add basic remap column wrapper
3 years ago
hemu.zp
69104c0f8a
[to #42322933 ] Refactor text generation model outputs and fix some bugs
1. 将 single_gpu_test 与 multi_gpu_test 中的 model.forward 部分分离为 EpochBasedTrainer 中的 evaluation_step,为部分 evaluation 阶段不调用 forward 的模型提供更好的灵活性
2. 重构代码将文本生成模型 Model 层的输入输出统一为 Tensor,Tensor 到 str 的 decode 过程移动到 pipeline 中完成
3. pipeline 后处理添加对中文和中文标点与英文混杂时空格的处理,使 decode 后中英文混杂输出正确
4. 添加 TextGenerationTrainer 修复了部分模型 evaluation 过程 forward 输出单个 token 计算 metrics 的问题
5. 修复了 rouge 无法接收空字符串的问题
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10473768
3 years ago
liugao.lg
0605376135
[to #42322933 ]add ofa finetune
新增ofa的finetune能力
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10540701
3 years ago
翎航
2299f8fa65
fix conflict
3 years ago
翎航
022fa4948a
fix ocr-finetune acc
3 years ago
翎航
90d47832c0
add ocr-finetune ned
3 years ago
翎航
c077dea072
add ocr-finetune
3 years ago
zhangyanzhao.zyz
781fe49d63
[to #42322933 ]修正finetune text ranking bugs
之前的finetune代码当dataset最后长度不足制定batch size时会出错,现已修正
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10524066
3 years ago
yuze.zyz
c2da44b371
[to #42322933 ] remove dev model inference and fix some bugs
1. Change structbert dev revision to master revision
2. Fix bug: Sample code failed because the updating of model configuration
3. Fix bug: Continue training regression failed
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10519992
3 years ago
yichang.zyc
6ddafb3218
[to #42322933 ]caption finetune done, add belu metric
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10318299
3 years ago
yuze.zyz
605cd7f44a
[to #42322933 ] NLP 1030 Refactor
Features:
1. Refactor the directory structure of nlp models. All model files are placed into either the model folder or the task_model folder
2. Refactor all the comments to google style
3. Add detail comments to important tasks and nlp models, to list the description of the model, and its preprocessor&trainer
4. Model Exporting now supports a direct all to TorchModelExporter(no need to derive from it)
5. Refactor model save_pretrained method to support direct running(independent from trainer)
6. Remove the judgement of Model in the pipeline base class, to support outer register models running in our pipelines
7. Nlp trainer now has a NLPTrainingArguments class , user can pass arguments into the dataclass, and use it as a normal cfg_modify_fn, to simplify the operation of modify cfg.
8. Merge the BACKBONES and the MODELS, so user can get a backbone with the Model.from_pretrained call
9. Model.from_pretrained now support a task argument, so user can use a backbone and load it with a specific task class.
10. Support Preprocessor.from_pretrained method
11. Add standard return classes to important nlp tasks, so some of the pipelines and the models are independent now, the return values of the models will always be tensors, and the pipelines will take care of the conversion to numpy and the following stuffs.
12. Split the file of the nlp preprocessors, to make the dir structure more clear.
Bugs Fixing:
1. Fix a bug that lr_scheduler can be called earlier than the optimizer's step
2. Fix a bug that the direct call of Pipelines (not from pipeline(xxx)) throws error
3. Fix a bug that the trainer will not call the correct TaskDataset class
4. Fix a bug that the internal loading of dataset will throws error in the trainer class
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10490585
3 years ago
bin.xue
525fa3ea89
[to #42322933 ]test: use 'master' branch in training test
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10509580
3 years ago
行嗔
cc8b78eac8
update rdrop
3 years ago
行嗔
0c64d3fca5
Merge remote-tracking branch 'origin/ofa/finetune_loss' into ofa/finetune
# Conflicts:
# tests/trainers/test_ofa_trainer.py
3 years ago
翎航
1bb1eeec77
fix ut
3 years ago
行嗔
2288a0fdf3
fix all comments
3 years ago
行嗔
df5bd86048
fix a ut bug
3 years ago
行嗔
9e3f035fa7
fix a ut bug
3 years ago
行嗔
d5b2dabaf5
Merge remote-tracking branch 'origin/master' into ofa/finetune
3 years ago
huizheng.hz
a1738690c9
[to #42322933 ]test_image_denoise_trainer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10465138
3 years ago
yingda.chen
de7b6a06e9
[to #42322933 ] remove revision usage for face detection
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10507910
* [to #42322933 ] remove revision usage for face detection
3 years ago
行嗔
cb9a2b9d10
Merge remote-tracking branch 'origin/master' into ofa/finetune
3 years ago
行嗔
85a7832d57
fix a typo
3 years ago
zhangyanzhao.zyz
c4dbb69d65
[to #42322933 ]增加对text-ranking任务中文模型的单元测试,以方便得到官方模型打标。
增加对text-ranking任务中文模型的单元测试,以方便得到官方模型打标。
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10492754
3 years ago
行嗔
46c3bdcfe8
fix a bug
3 years ago
翎航
73469b8400
fix loss&log
3 years ago