Files
HuggingFace_transformer/tests/models
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
..
2024-04-05 17:49:46 +02:00
2024-04-26 16:23:44 +01:00
2024-04-01 07:51:00 +00:00
2024-05-09 14:15:56 +02:00
2024-05-13 13:32:43 +02:00
2023-08-02 20:22:36 +02:00
2024-05-14 16:32:01 +02:00
2024-05-15 19:02:56 +05:00
2023-08-02 20:22:36 +02:00
2024-05-14 22:07:15 +02:00
2024-04-24 17:32:09 +02:00
2023-08-02 20:22:36 +02:00
2024-01-11 16:18:27 +01:00
2024-05-15 16:42:29 +05:00
2022-05-03 14:42:02 +02:00