Files
HuggingFace_transformer/docs/source/en
Joseph Enguehard 07bf2dff78 Add TokenClassification for Mistral, Mixtral and Qwen2 (#29878)
* Add MistralForTokenClassification

* Add tests and docs

* Add token classification for Mixtral and Qwen2

* Save llma for token classification draft

* Add token classification support for Llama, Gemma, Persimmon, StableLm and StarCoder2

* Formatting

* Add token classification support for Qwen2Moe model

* Add dropout layer to each ForTokenClassification model

* Add copied from in tests

* Update src/transformers/models/llama/modeling_llama.py

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>

* Propagate suggested changes

* Style

---------

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
2024-05-20 10:06:57 +02:00
..
2023-09-04 11:15:12 +01:00
2024-05-07 12:59:49 +02:00
2022-04-04 10:25:46 -04:00
2023-12-20 10:37:23 -08:00
2024-05-15 14:28:20 +02:00
2023-11-13 14:20:54 +01:00
2024-05-15 16:42:29 +05:00
2024-04-18 12:49:43 -04:00
2022-04-04 10:25:46 -04:00
2024-04-18 12:49:43 -04:00