Files
HuggingFace_transformer/tests
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
..
🔥py38 + torch 2 🔥🔥🔥🚀 (#22204)
2023-03-16 22:59:23 +01:00
🔥py38 + torch 2 🔥🔥🔥🚀 (#22204)
2023-03-16 22:59:23 +01:00
🔥py38 + torch 2 🔥🔥🔥🚀 (#22204)
2023-03-16 22:59:23 +01:00
🔥py38 + torch 2 🔥🔥🔥🚀 (#22204)
2023-03-16 22:59:23 +01:00