transformers/docs/source/en/tasks
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
..
asr.mdx Added "Open in Colab" to task guides (#21729) 2023-02-22 08:32:35 -05:00
audio_classification.mdx [Whisper] Add model for audio classification (#21754) 2023-03-07 16:20:21 +01:00
document_question_answering.mdx Add: document question answering task guide (#21518) 2023-02-13 09:24:56 -05:00
image_captioning.mdx [Tasks] Adds image captioning (#21512) 2023-02-10 22:52:12 +05:30
image_classification.mdx Add ConvNeXT V2 (#21679) 2023-03-14 12:08:14 +03:00
language_modeling.mdx LLaMA Implementation (#21955) 2023-03-16 09:00:53 -04:00
masked_language_modeling.mdx docs: improve clarity for language modeling (#21952) 2023-03-06 13:13:43 -05:00
monocular_depth_estimation.mdx Depth estimation task guide (#22205) 2023-03-17 08:36:23 -04:00
multiple_choice.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
object_detection.mdx Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
question_answering.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
semantic_segmentation.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
sequence_classification.mdx Add LlamaForSequenceClassification (#22209) 2023-03-17 14:39:26 +01:00
summarization.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
token_classification.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
translation.mdx Fix en documentation typos (#21799) 2023-02-27 08:36:36 +01:00
video_classification.mdx Automated compatible models list for task guides (#21338) 2023-01-27 13:19:28 -05:00
zero_shot_image_classification.mdx Zero-shot image classification task guide (#22132) 2023-03-13 10:57:17 -04:00
zero_shot_object_detection.mdx Add: task guide for zero shot object detection (#21829) 2023-02-28 10:23:08 -05:00