transformers/docs/source/en/tasks
tom white c7f01beece
fix typos in idefics.md (#26648)
* fix typos in idefics.md

Two typos found in reviewing this documentation.

1) max_new_tokens=4, is not sufficient to generate "Vegetables" as indicated - you will get only "Veget". (incidentally - some mention of how to select this value might be useful as it seems to change in each example)

2) inputs = processor(prompts, return_tensors="pt").to(device) as inputs need to be on the same device (as they are in all other examples on the page)

* Update idefics.md

Change device to cuda explicitly to match other examples
2023-10-09 12:18:02 +02:00
..
asr.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00
audio_classification.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00
document_question_answering.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00
idefics.md fix typos in idefics.md (#26648) 2023-10-09 12:18:02 +02:00
image_captioning.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00
image_classification.md Pvt model (#24720) 2023-07-24 15:34:19 +01:00
language_modeling.md [Mistral] Mistral-7B-v0.1 support (#26447) 2023-09-27 18:30:46 +02:00
masked_language_modeling.md Add Multi Resolution Analysis (MRA) (New PR) (#24513) 2023-07-10 10:50:43 +01:00
monocular_depth_estimation.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00
multiple_choice.md Add Multi Resolution Analysis (MRA) (New PR) (#24513) 2023-07-10 10:50:43 +01:00
object_detection.md [doc] fixed indices in obj detection example (#26343) 2023-09-22 10:29:27 -04:00
question_answering.md [MPT] Add MosaicML's MPT model to transformers (#24629) 2023-07-25 14:32:40 +02:00
semantic_segmentation.md Update semantic_segmentation.md (#26419) 2023-09-27 11:51:44 +02:00
sequence_classification.md [Mistral] Mistral-7B-v0.1 support (#26447) 2023-09-27 18:30:46 +02:00
summarization.md [Umt5] Add google's umt5 to transformers (#24477) 2023-07-03 07:38:21 +02:00
text-to-speech.md [docs] Updates to TTS task guide with regards to the new TTS pipeline (#26095) 2023-09-12 11:29:06 -04:00
token_classification.md Add BROS (#23190) 2023-09-14 18:02:37 +01:00
translation.md [Umt5] Add google's umt5 to transformers (#24477) 2023-07-03 07:38:21 +02:00
video_classification.md Add ViViT (#22518) 2023-07-11 14:04:04 +01:00
visual_question_answering.md VQA task guide (#25244) 2023-08-09 08:29:06 -04:00
zero_shot_image_classification.md [docs] Fix model reference in zero shot image classification example (#26206) 2023-09-19 00:45:12 +02:00
zero_shot_object_detection.md Migrate doc files to Markdown. (#24376) 2023-06-20 18:07:47 -04:00