Files
HuggingFace_transformer/docs/source/en
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-10-09 12:18:02 +02:00
2022-04-04 10:25:46 -04:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:16:34 +01:00
2022-04-04 10:25:46 -04:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2023-09-04 11:15:12 +01:00
2022-04-04 10:25:46 -04:00
2023-10-04 15:13:37 +02:00
2023-07-25 22:10:06 +02:00
2023-08-23 08:34:30 +02:00