transformers/docs/source
lewtun f251441387
Add LlamaForSequenceClassification (#22209)
* Add LlamaForSequenceClassification

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

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

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

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

* Add docstring

* Add test

* Add input embedding getter and setter

* Remove dead code

---------

Co-authored-by: Younes Belkada <49240599+younesbelkada@users.noreply.github.com>
2023-03-17 14:39:26 +01:00
..
de Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
en Add LlamaForSequenceClassification (#22209) 2023-03-17 14:39:26 +01:00
es Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
fr Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
it Italian Translation of migration.mdx (#22183) 2023-03-16 12:00:07 +00:00
ja Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
ko Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
pt Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
zh Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
_config.py Adding evaluate to the list of libraries required in generated notebooks (#20850) 2022-12-21 14:04:08 +01:00