dbiir / dbiir/UER-py

Requirement for the combination of classification + MLM target

Open
#272 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3.1k
Forks
520
PR merge metrics
No merged PRs in 30d

Description

It is often the case that a piece of text is attached with a label, e.g. the comments with the ratings on restaurant. It is beneficial to use the joint training of classification and MLM targets on this type of corpus. Could you add classification+MLM model in the project?

Maybe if we use the following the options to construct the above model:
```
--config_path models/bert/base_config.json --data_processor cls_mlm --target cls mlm
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.