transformers/docs/source/en/tasks
Sifal c3aeaa8060
Enhance documentation to explain chat-based few-shot prompting (#37828)
* Enhance documentation to explain chat-based few-shot prompting

Updates the documentation on few-shot prompting to illustrate how to structure examples using the chat-based format for instruction-tuned models.

* Update docs/source/en/tasks/prompting.md

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>

* Update docs/source/en/tasks/prompting.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/tasks/prompting.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/tasks/prompting.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* Update docs/source/en/tasks/prompting.md

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>

* fix typos

---------

Co-authored-by: Matt <Rocketknight1@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
2025-04-30 11:00:10 -07:00
..
asr.md Improved documentation of Automatic speech recognition (#35268) 2024-12-16 09:50:11 -08:00
audio_classification.md Improved Documentation Of Audio Classification (#35368) 2024-12-20 09:17:28 -08:00
document_question_answering.md Trainer - deprecate tokenizer for processing_class (#32385) 2024-10-02 14:08:46 +01:00
idefics.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
image_captioning.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
image_classification.md Fix broken link (#34618) 2024-11-18 14:13:26 +01:00
image_feature_extraction.md Multiple typo fixes in Tutorials docs (#35035) 2024-12-02 15:26:34 +00:00
image_text_to_text.md Process inputs directly in apply_chat_template in image-text-to-text pipeline (#35616) 2025-04-23 13:31:33 -04:00
image_to_image.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
keypoint_detection.md Add keypoint-detection task guide (#33274) 2024-09-16 13:08:31 +02:00
knowledge_distillation_for_image_classification.md Multiple typo fixes in Tutorials docs (#35035) 2024-12-02 15:26:34 +00:00
language_modeling.md [docs] add the missing tokenizer when pushing models to huggingface hub (#33428) 2024-09-11 09:56:55 -07:00
mask_generation.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
masked_language_modeling.md [docs] add the missing tokenizer when pushing models to huggingface hub (#33428) 2024-09-11 09:56:55 -07:00
monocular_depth_estimation.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
multiple_choice.md Move DataCollatorForMultipleChoice from the docs to the package (#34763) 2025-02-13 12:01:28 +01:00
object_detection.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
prompting.md Enhance documentation to explain chat-based few-shot prompting (#37828) 2025-04-30 11:00:10 -07:00
question_answering.md Multiple typo fixes in NLP, Audio docs (#35181) 2024-12-10 09:08:55 -08:00
semantic_segmentation.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
sequence_classification.md Trainer - deprecate tokenizer for processing_class (#32385) 2024-10-02 14:08:46 +01:00
summarization.md Multiple typo fixes in NLP, Audio docs (#35181) 2024-12-10 09:08:55 -08:00
text-to-speech.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
token_classification.md Trainer - deprecate tokenizer for processing_class (#32385) 2024-10-02 14:08:46 +01:00
translation.md Multiple typo fixes in NLP, Audio docs (#35181) 2024-12-10 09:08:55 -08:00
video_classification.md Trainer - deprecate tokenizer for processing_class (#32385) 2024-10-02 14:08:46 +01:00
video_text_to_text.md Minor fix in video text 2 text docs (#35546) 2025-01-09 11:20:36 +01:00
visual_document_retrieval.md VDR task guide (#37485) 2025-04-15 08:55:13 -07:00
visual_question_answering.md [docs] add xpu device check (#34684) 2024-11-13 14:16:59 -08:00
zero_shot_image_classification.md Add docs on zeroshot image classification prompt templates (#31343) 2024-06-19 11:11:44 +01:00
zero_shot_object_detection.md Multiple typo fixes in Tutorials docs (#35035) 2024-12-02 15:26:34 +00:00