transformers/docs/source
Younes Belkada 587d84b178
Add BloomForQuestionAnswering (#19310)
* add bloom for question answering

- attempt to add Bloom for question answering
- adapted from `GPTJForQuestionAnswering`
- Fixed `num_labels` to `2` for common tests
- Added a bit of docstring
- All common tests pass

* Update src/transformers/models/bloom/modeling_bloom.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* revert changes related to `num_labels`

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2022-10-04 17:52:13 +02:00
..
de german training, accelerate and model sharing (#19171) 2022-09-23 14:52:09 -04:00
en Add BloomForQuestionAnswering (#19310) 2022-10-04 17:52:13 +02:00
es Fix LayoutXLM wrong link in README (#18932) 2022-09-08 07:32:41 -04:00
it translated add_new_pipeline (#19215) 2022-09-27 08:55: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