transformers
22f72185 - add task_type_id to BERT to support ERNIE-2.0 and ERNIE-3.0 models (#18686)

Commit
3 years ago
add task_type_id to BERT to support ERNIE-2.0 and ERNIE-3.0 models (#18686) * add_ernie * remove Tokenizer in ernie * polish code * format code style * polish code * fix style * update doc * make fix-copies * change model name * change model name * fix dependency * add more copied from * rename ErnieLMHeadModel to ErnieForCausalLM do not expose ErnieLayer update doc * fix * make style * polish code * polish code * fix * fix * fix * fix * fix * final fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Author
Parents
Loading