please add Usage

#1
by shibing624 - opened

predict with transformers code.

OpenBuddy org

Hi, please refer to our github repo for example code:

https://github.com/OpenBuddy/OpenBuddy/tree/main/examples

How to prevent the warning below?
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's attention_mask to obtain reliable results.
Setting pad_token_id to eos_token_id:11 for open-end generation.

OpenBuddy org

How to prevent the warning below?
The attention mask and the pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's attention_mask to obtain reliable results.
Setting pad_token_id to eos_token_id:11 for open-end generation.

It could be simply ignored, I guess

Sign up or log in to comment