mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-19 12:38:23 +06:00
![]() * 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 |
||
---|---|---|
.. | ||
asr.md | ||
audio_classification.md | ||
document_question_answering.md | ||
idefics.md | ||
image_captioning.md | ||
image_classification.md | ||
language_modeling.md | ||
masked_language_modeling.md | ||
monocular_depth_estimation.md | ||
multiple_choice.md | ||
object_detection.md | ||
question_answering.md | ||
semantic_segmentation.md | ||
sequence_classification.md | ||
summarization.md | ||
text-to-speech.md | ||
token_classification.md | ||
translation.md | ||
video_classification.md | ||
visual_question_answering.md | ||
zero_shot_image_classification.md | ||
zero_shot_object_detection.md |