transformers/docs/source
HuYong 22f7218560
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>
2022-09-09 07:36:46 -04:00
..
de Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
en add task_type_id to BERT to support ERNIE-2.0 and ERNIE-3.0 models (#18686) 2022-09-09 07:36:46 -04:00
es Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
it Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
pt Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
_config.py Use doc builder styler (#16412) 2022-03-28 07:45:18 -04:00