Files
HuggingFace_transformer/tests/models
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
..
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-01 16:27:23 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-06-20 16:16:16 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-09-12 17:51:10 +01:00
2022-09-30 08:25:43 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-07-12 04:28:28 -04:00
2022-05-03 14:42:02 +02:00
2022-09-14 14:45:00 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-06-24 16:26:14 +02:00
2022-07-27 11:14:47 -04:00
2022-06-24 11:34:51 +02:00
2022-09-22 11:03:01 -04:00
2022-05-03 14:42:02 +02:00
2022-05-03 14:42:02 +02:00
2022-05-12 16:25:55 -04:00
2022-05-12 16:25:55 -04:00
2022-05-03 14:42:02 +02:00