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
mulin.lyh
3b75623be4
[to #45773874 ]fix: get_model revision=None bug, and hub case occasionally delete test model failed
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10549680
3 years ago
yichang.zyc
bdadea9791
[to #42322933 ]fix image_open func, support url
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10548014
* fix image_open func
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
yuze.zyz
f9e12669ba
[to #42322933 ]add default mapping for preprocessors
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10536603
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
hemu.zp
d0f8547e7e
[to #42322933 ] Fix gpt3 loading checkpoint after finetuning.
1. 修复GPT-3模型无法加载finetune保存的checkpoint的问题
2. 为GPT-3诗词生成模型添加 ut
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10537209
3 years ago
jiaqi.sjq
7b84adc914
[to #42322933 ]Fix remove files in local model not take effect to remote repo after push_model
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10533214
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10533214
3 years ago
hemu.zp
e4a0e046f9
[to #42322933 ] Add ut for mplug and bloom
为新上线的 langboat/bloom-1b4-zh,damo/mplug_visual-question-answering_coco_base_zh,damo/mplug_image-captioning_coco_base_zh 三个模型添加 ut,test_level 设置为 2
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10524221
3 years ago
wenshen.xws
2c994ed760
[to #42322933 ]fix tokenizer for faq
多语言faq,Tokenizer新增类型判别
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10530690
3 years ago
caorongyu.cry
3b8fb92c13
[to #42322933 ] debug header ids and header names
修复header_ids和header_names命名反了的问题
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10516557
3 years ago
ran.zhou
13f7e9ceca
[to #42322933 ]SEA multilingual NLP (NER & word segmentation)
添加东南亚小语种NLP支持,包括:
1. 针对泰语,越南语NER的预处理
2. 基于XLMR-CRF架构的分词模型和pipeline
3. 针对泰语分词的预处理
添加了相应pipeline的unittest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10492404
3 years ago
mulin.lyh
384377b8f5
* [to #45486649 ]feat: modelscope model version use model repo tag, unsupport branch or commit it, client user-agent header unified
3 years ago
jiaqi.sjq
5190c7de11
[to #41669377 ] tts using default master revision model in UT
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10526747
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
yuanzheng.yuanzhen
bab54bbce8
[to #42322933 ]support uni fold
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10481410
3 years ago
siyang.ssy
ba3db0f552
[to #42322933 ] fix video embedding output
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10525516
3 years ago
tingwei.gtw
d40cc98994
[to #42322933 ] update IO for demo services
修改了I/O的代码,以支持modelscope的demo services
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10518318
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
lllcho.lc
41b35619e8
[to #42322933 ] Fix bug for demo service
在demo service场景,同时调用同一个视频文件,会导致ffmpeg处理同名视频的冲突。通过uuid生成唯一的文件名解决这个冲突。
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10518178
3 years ago
yichang.zyc
62339161cd
revert args of metric init
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10521235
3 years ago
zhangzhicheng.zzc
e1ab73b7d8
[to #42322933 ]support type str for for zero-shot labels' input
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10506320
3 years ago
hemu.zp
ffd834fc25
[to #42322933 ] Add bloom model
添加 bloom 模型
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10509187
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
siyang.ssy
6d51f44dc7
[to #42322933 ]fix input type for video embeding
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10506601
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
huizheng.hz
a1738690c9
[to #42322933 ]test_image_denoise_trainer
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10465138
3 years ago
caorongyu.cry
6178f46910
[to #42322933 ] add ut for multi threads
1. 修复multi thread引起的问题
2. 增加multi thread的unittest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10502008
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
mulin.lyh
b41d275c70
[to #45703335 ]feat: refactor deploy
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10501307
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
yichang.zyc
35c612a642
[to #42322933 ]去除clip ut中的dev revision
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10507748
* remove clip ut dev revision
3 years ago
ashui.cbh
e223c1b008
[to #42322933 ]merge master after demo service support
demo service 对接,修改输入接口为可调用的方式
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10502169
3 years ago
mulin.lyh
7257f6c6fb
[to #45631658 ]feat support eas deploy
服务端文档链接(可能需要登录):
https://test.modelscope.cn/api/v1/deployer/docs
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10478609
3 years ago
leyuan.hjy
8b28b725ee
[to #42322933 ] video detecor support output with timestamp
适配demoservice,增加视频时间戳输出,每一个结果对应一个时间戳
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10496879
3 years ago
caorongyu.cry
35644fa0a7
[to #42322933 ] change star3 to space_T_cn
1. 合并star和star3框架
2. 修改star和star3的model type
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10492793
3 years ago
yanheng.wyh
cf831dbf98
[to #42322933 ] fix cv/animalRecog output format
* fix output format
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10491722
3 years ago
zhangzhicheng.zzc
182ba1768f
[to #42322933 ]support multi tasks for part of speech
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10491994
3 years ago
yuze.zyz
707cbef013
[to #42322933 ]Fix bug in daily UT
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10491891
3 years ago
zhangzhicheng.zzc
2a87dee561
[to #42322933 ]support multi tasks-- will be failed, since configuration has not changed yet
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10492024
3 years ago
caorongyu.cry
9edfd7e50c
[to #42322933 ] update tableqa params
1. 增加传入table_id
2. 将result和table的结构统一
3. 默认开启is_use_sqlite
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10492027
3 years ago
baiguan.yt
46107e3ecf
[to #42322933 ]converting string to int to meet the input of face-image-generation
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10489981
3 years ago
shichen.fsc
1854ceeb74
[to #42322933 ] Fix all asr models in UT with mistake model_id
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10491024
3 years ago
tingwei.gtw
e09d277fd3
[to #42322933 ] fix cpu inference
修复cpu推理
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10468823
3 years ago
zhangyanzhao.zyz
824ee8232c
[to #42322933 ]更新语义相关性任务英文名称为text ranking,修改对应变量名和类名
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10491951
3 years ago
yichang.zyc
683ee5bfed
[to #42322933 ]use Tasks.ocr_recognition
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/10490937
3 years ago
Yingda Chen
9bc06716c1
[to #42322933 ] fix typo
3 years ago