Files
HuggingFace_transformer/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
..
2023-06-20 18:07:47 -04:00
2023-10-09 12:18:02 +02:00
2023-07-24 15:34:19 +01:00
2023-09-14 18:02:37 +01:00
2023-07-11 14:04:04 +01:00