Usage code needs reviewing

#4
by mvetter - opened

There seem to be some mistakes in the Usage section of the model card.

  1. In the section "prompted-mask-generation": there is a typo: "processsor" (3 's')

  2. In the section "prompted-mask-generation": use of .to(device) without setting device

  3. In the section "Automatic-Mask-Generation": running the provided code yields "KeyError: "Unknown task automatic-mask-generation"" when running transformers 4.29.0.dev0 installed from github

Sign up or log in to comment