(1)fewshot_split (str, optional) — Split in the dataset to draw few-shot exemplars from. assert that this not None if num_fewshot > 0. This function is not well tested so far
(2)num_fewshot (int, optional, defaults to 0) — Number of few-shot examples before the input. This function is not well tested so far
This is still work in progress. We developed it and succesfully test on textvqa. But this is not confirmed fully correct. You can see there's a PR. You may checkout it if you really need.
is there an example of how to use "few shot"
how to set this two args:
(1)fewshot_split (str, optional) — Split in the dataset to draw few-shot exemplars from. assert that this not None if num_fewshot > 0. This function is not well tested so far (2)num_fewshot (int, optional, defaults to 0) — Number of few-shot examples before the input. This function is not well tested so far