yuze.zyz
8d0d6252ca
[to #42322933 ] fix bug: run failed in tensor_utils.py
1. 修复default data collator的输入类型为tuple时运行会失败的问题
2. 修复default data collator的输入类型为dict时不兼容BatchEncoding的问题
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9403517
* fix bug: 1. run failed when datatype is tuple 2. change type checking from dict to Mapping to fit transformers.datasets.BatchEncoding
3 years ago
wenmeng.zwm
231f400133
[to #43112534 ] finetune support and first case
co-contributed with 夕陌&雨泓
* add torch epoch based trainer and dis utils
* add hooks including optimizer, lrscheduler, logging, checkpoint, evaluation, time profiling
* add torch mdoel base and test
* add optimizer and lrscheduler module
* add sbert for text classification example
* add task_dataset for dataset-level processor
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9338412
3 years ago
jiaqi.sjq
1a486b4b28
[To #42322933 ] Make all same lang_type voice models into one
[To #42322933 ] Merge same language type voice models into one model card, these changes make demo service much easier to handle different voices.
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9353173
3 years ago
yingda.chen
d532d45559
[to #42322933 ]unified revision control
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9319772
3 years ago
jiaqi.sjq
d313c440c4
[to #9303837 ] Merge frontend am and vocoder into one model card
Merge frontend, am and vocoder model card into one model card.
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9303837
3 years ago
yingda.chen
2e88a995ca
[to #42322933 ]support model revision
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9300163
3 years ago
shichen.fsc
39e8e97033
[to #42322933 ] Fix remove useless Tasks.key_word_spotting
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9303027
3 years ago
wenmeng.zwm
274cf6ffa9
[to #42362425 ] fix audio_requirement and refine quickstart, changelog doc
* make audio requirements optional
* add changelog for version v0.2
* add numpy constraint for compatibility with tensorflow1.15
* update faq
* fix nlp requiring tensorflow
* add torchvision to multimodal dependency
* bump version from 0.2.1 to 0.2.2
* add warning msg when tensorflow is not installed
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9268278
3 years ago
zhangzhicheng.zzc
cf194ef6cd
[to #42322933 ] nlp preprocessor refactor
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9269314
* init
* token to ids
* add model
* model forward ready
* add intent
* intent preprocessor ready
* intent success
* merge master
* test with model hub
* add flake8
* update
* update
* update
* Merge branch 'master' into nlp/space/gen
* delete file about gen
* init
* fix flake8 bug
* [to #42322933 ] init
* bug fix
* [to #42322933 ] init
* update pipeline registry info
* Merge remote-tracking branch 'origin/master' into feat/nli
* [to #42322933 ] init
* [to #42322933 ] init
* modify forward
* [to #42322933 ] init
* generation ready
* init
* Merge branch 'master' into feat/zero_shot_classification
# Conflicts:
# modelscope/preprocessors/__init__.py
* [to #42322933 ] bugfix
* [to #42322933 ] pre commit fix
* fill mask
* registry multi models on model and pipeline
* add tests
* test level >= 0
* local gen ready
* merge with master
* dialog modeling ready
* fix comments: rename and refactor AliceMindMLM; adjust pipeline
* space intent and modeling(generation) are ready
* bug fix
* add dep
* add dep
* support dst data processor
* merge with nlp/space/dst
* merge with master
* Merge remote-tracking branch 'origin' into feat/fill_mask
Conflicts:
modelscope/models/nlp/__init__.py
modelscope/pipelines/builder.py
modelscope/pipelines/outputs.py
modelscope/preprocessors/nlp.py
requirements/nlp.txt
* merge with master
* merge with master 2/2
* fix comments
* fix isort for pre-commit check
* allow params pass to pipeline's __call__ method
* Merge remote-tracking branch 'origin/master' into feat/zero_shot_classification
* merge with nli task
* merge with sentiment_classification
* merge with zero_shot_classfication
* merge with fill_mask
* merge with space
* merge with master head
* Merge remote-tracking branch 'origin' into feat/fill_mask
Conflicts:
modelscope/utils/constant.py
* fix: pipeline module_name from model_type to 'fill_mask' & fix merge bug
* unfiinished change
* fix bug
* unfinished
* unfinished
* revise modelhub dependency
* Merge branch 'feat/nlp_refactor' of http://gitlab.alibaba-inc.com/Ali-MaaS/MaaS-lib into feat/nlp_refactor
* add eval() to pipeline call
* add test level
* ut run passed
* add default args
* tmp
* merge master
* all ut passed
* remove an useless enum
* revert a mis modification
* revert a mis modification
* Merge commit 'ace8af92465f7d772f035aebe98967726655f12c' into feat/nlp
* commit 'ace8af92465f7d772f035aebe98967726655f12c':
[to #42322933 ] Add cv-action-recongnition-pipeline to maas lib
[to #42463204 ] support Pil.Image for image_captioning_pipeline
[to #42670107 ] restore pydataset test
[to #42322933 ] add create if not exist and add(back) create model example Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9130661
[to #41474818 ]fix: fix errors in task name definition
# Conflicts:
# modelscope/pipelines/builder.py
# modelscope/utils/constant.py
* Merge branch 'feat/nlp' into feat/nlp_refactor
* feat/nlp:
[to #42322933 ] Add cv-action-recongnition-pipeline to maas lib
[to #42463204 ] support Pil.Image for image_captioning_pipeline
[to #42670107 ] restore pydataset test
[to #42322933 ] add create if not exist and add(back) create model example Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9130661
[to #41474818 ]fix: fix errors in task name definition
# Conflicts:
# modelscope/pipelines/builder.py
* fix compile bug
* refactor space
* Merge branch 'feat/nlp_refactor' of http://gitlab.alibaba-inc.com/Ali-MaaS/MaaS-lib into feat/nlp_refactor
* Merge remote-tracking branch 'origin' into feat/fill_mask
* fix
* pre-commit lint
* lint file
* lint file
* lint file
* update modelhub dependency
* lint file
* ignore dst_processor temporary
* solve comment: 1. change MaskedLMModelBase to MaskedLanguageModelBase 2. remove a useless import
* recommit
* remove MaskedLanguageModel from __all__
* Merge commit '1a0d4af55a2eee69d89633874890f50eda8f8700' into feat/nlp_refactor
* commit '1a0d4af55a2eee69d89633874890f50eda8f8700':
[to #42322933 ] test level check Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9143809
[to #42322933 ] update nlp models name in metainfo Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9134657
# Conflicts:
# modelscope/metainfo.py
* update
* revert pipeline params update
* remove zeroshot
* update sequence classfication outpus
* merge with fill mask
* Merge remote-tracking branch 'origin' into feat/fill_mask
* fix
* fix flake8 warning of dst
* Merge remote-tracking branch 'origin/feat/fill_mask' into feat/nlp
* merge with master
* remove useless test.py
* Merge remote-tracking branch 'origin/master' into feat/nlp
* remove unformatted space trainer
* revise based on comment except chinease comment
* skip ci blocking
* translation pipeline
* csanmt model for translation pipeline
* update
* update
* update builder.py
* change Chinese notes of space3.0 into English
* translate chinese comment to english
* add space to metainfo
* update casnmt_translation
* update csanmt transformer
* merge with master
* update csanmt translation
* update lint
* update metainfo.py
* Update translation_pipeline.py
* Update builder.py
* fix: 1. make csanmt derived from Model 2. add kwargs to prevent from call error
* pre-commit check
* temp exclue flake8
* temp ignore translation files
* fix bug
* pre-commit passed
* fixbug
* fixbug
* revert pre commit ignorance
* pre-commit passed
* fix bug
* merge with master
* add missing setting
* merge with master
* add outputs
* modify test level
* modify chinese comment
* remove useless doc
* space outputs normalization
* Merge remote-tracking branch 'origin/master' into nlp/translation
* update translation_pipeline.py
* Merge remote-tracking branch 'origin/master' into feat/nlp
* Merge remote-tracking branch 'origin/master' into nlp/translation
* add new __init__ method
* add new __init__ method
* update output format
* Merge remote-tracking branch 'origin/master' into feat/nlp
* update output format
* merge with master
* merge with nlp/translate
* update the translation comment
* update the translation comment
* Merge branch 'nlp/translation' into feat/nlp
* Merge remote-tracking branch 'origin/master' into feat/nlp
* Merge remote-tracking branch 'origin/master' into feat/nlp
* nlp preprocessor refactor
* add get_model_type in util.hub
* update the default preprocessor args
* update the fill mask preprocessor
* bug typo fixed
3 years ago
智丞
1bcdc05fb8
merge with master
3 years ago
ly103369
d74e644aaf
[to #42322933 ] Add cv_r2p1d_video_embedding to maas lib
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9246462
3 years ago
智丞
54122b2dab
merge with master
3 years ago
zhangzhicheng.zzc
5b98cc1513
[to #42322933 ]新增:nli,sentiment_classification,dialog_intent,dialog_modeling
添加了,nli,sentiment_classification, dialog_intent, dialog_modeling几个pipeline。同时加入了nlp里面sequence classification一些简单的抽象。
去掉了zero_shot_classification
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9159089
3 years ago
wenmeng.zwm
bb57020daa
[to #42362425 ] remove add module to default group

Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9229852
3 years ago
wenmeng.zwm
8e51a073a6
[to #42966122 ] requirements enchanment and self-host repo support
* add self-hosted repo:
* add extra requirements for different field and reduce necessary requirements
* update docker file with so required by audio
* add requirements checker which will be used later when implement lazy import
* remove repeated requirements and replace opencv-python-headless with opencv-python
example usage:
```shell
pip install model_scope[all] -f https://pai-vision-data-hz.oss-cn-zhangjiakou.aliyuncs.com/release/maas/repo.html
pip install model_scope[cv] -f https://pai-vision-data-hz.oss-cn-zhangjiakou.aliyuncs.com/release/maas/repo.html
pip install model_scope[nlp] -f https://pai-vision-data-hz.oss-cn-zhangjiakou.aliyuncs.com/release/maas/repo.html
pip install model_scope[audio] -f https://pai-vision-data-hz.oss-cn-zhangjiakou.aliyuncs.com/release/maas/repo.html
pip install model_scope[multi-modal] -f https://pai-vision-data-hz.oss-cn-zhangjiakou.aliyuncs.com/release/maas/repo.html
```
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9211383
3 years ago
ly119399
bcbb4c02e5
merge feat/nlp
3 years ago
智丞
dadc07f492
merge with master
3 years ago
ly119399
d422510158
fix bug
3 years ago
ly119399
4cfc4b43a0
merge feat/nlp
3 years ago
hemu.zp
fabea5604e
[to #42322933 ] Add MPLUG model
添加 MPLUG 模型的 visual question answering 任务 pipeline
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9182119
3 years ago
zhangzhicheng.zzc
576b7cffb1
[to #42322933 ] add pipeline params for preprocess and forward & zeroshot classification
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9180863
3 years ago
mulin.lyh
0d17eb5b39
[to #42849800 #42822853 #42822836 #42822791 #42822717 #42820011 ]fix: bug test bugs
修复测试bug
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9186775
* [to #42849800 #42822853 #42822836 #42822791 #42822717 #42820011 ]fix: test bugs
3 years ago
feiwu.yfw
5da470fd5d
[to #42791465 , #42779255 , #42777959 , #42757844 , #42756050 , #42746916 , #42743595 , #42791863 ] fix: fix msdataset
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9174075
* fix msdataset
3 years ago
ly119399
3bfb5948e2
merge feat/nlp
3 years ago
ly119399
760dcf0247
space dst pipeline is ready, but model's result is wrong
3 years ago
言枫
5a2865c273
change Chinese notes of space3.0 into English
3 years ago
智丞
692ea98bbf
skip ci blocking
3 years ago
shichen.fsc
5386748bc4
[to #42322933 ] add some code check
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9122842
* [Add] add KWS code
* [Update] check code linters and formatter
* [Update] update kws code
* Merge branch 'master' into dev/kws
* [Fix] fix kws warning
* [Add] add ROC for KWS
* [Update] add some code check
* feat: Fix confilct, auto commit by WebIDE
* feat: Fix confilct, auto commit by WebIDE
* Merge branch 'master' into dev/kws
* [Update] refactor kws code
* [Update] refactor kws code
* [Update] refactor kws code, bug fix
* [Update] refactor kws code, bug fix
3 years ago
eniac.xcw
9ff6b704b0
[to #42322933 ]add multi-modal-feature
增加中文图文特征模型
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9157786
* add multi-modal-feature
* 修改code review中的问题
3 years ago
ly119399
876d4c4505
Merge branch 'feat/nlp' into nlp/space/dst
3 years ago
智丞
378a34087d
Merge remote-tracking branch 'origin/master' into feat/nlp
3 years ago
ly119399
80461600f7
merge nlp
3 years ago
yingda.chen
0acbfe1663
[to #42322933 ] interface refine with doc
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9159678
3 years ago
ly119399
f205f7fd04
init dialog state tracking
3 years ago
智丞
08e03ca9b0
remove zeroshot
3 years ago
雨泓
c74a252b6c
Merge commit 'ace8af92465f7d772f035aebe98967726655f12c' into feat/nlp
* commit 'ace8af92465f7d772f035aebe98967726655f12c':
[to #42322933 ] Add cv-action-recongnition-pipeline to maas lib
[to #42463204 ] support Pil.Image for image_captioning_pipeline
[to #42670107 ] restore pydataset test
[to #42322933 ] add create if not exist and add(back) create model example Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9130661
[to #41474818 ]fix: fix errors in task name definition
# Conflicts:
# modelscope/pipelines/builder.py
# modelscope/utils/constant.py
3 years ago
yongfei.zyf
ace8af9246
[to #42322933 ] Add cv-action-recongnition-pipeline to maas lib
达摩行为识别合入maas lib
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9134444
3 years ago
feiwu.yfw
b8ba35bd27
[to #42670107 ] restore pydataset test
* pydataset unitest
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9132896
3 years ago
yingda.chen
8400ca1fc7
[to #42322933 ] add create if not exist and add(back) create model example
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9130661
3 years ago
luoyiyun.lyy
849410e107
[to #41474818 ]fix: fix errors in task name definition
修改constant.py中task name定义的错误
- sentence-similarity重复定义
- fill-mask多加了一个空格
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9125956
* [to #41474818 ]fix: fix errors in task name definition
3 years ago
智丞
5fdfb9e5b7
merge with master head
3 years ago
wenmeng.zwm
e288cf076e
[to #42362853 ] refactor pipeline and standardize module_name
* using get_model to validate hub path
* support reading pipeline info from configuration file
* add metainfo const
* update model type and pipeline type and fix UT
* relax requimrent for protobuf
* skip two dataset tests due to temporal failure
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9118154
3 years ago
智丞
4dfab005ca
merge with space
3 years ago
智丞
17e6a3d41d
merge with fill_mask
3 years ago
智丞
bcbe079290
merge with zero_shot_classfication
3 years ago
智丞
8853b0dff1
merge with sentiment_classification
3 years ago
智丞
28fe91c8fd
merge with nli task
3 years ago
智丞
88ee08c5dd
Merge remote-tracking branch 'origin/master' into feat/zero_shot_classification
3 years ago
mulin.lyh
76c6ff6329
[to #42675838 ]merge model hub code
合并model hub 代码
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/9096493
3 years ago
智丞
c8ccfe0a2c
merge with master
3 years ago