-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] bart doc examples aren't for bart #6651
Comments
Those examples are from the |
Thank you, @patil-suraj. Indeed, since What I'm trying to say is that these example are confusing to the user since not only they are irrelevant to someone trying to use BART, there isn't even an example of using bart in that part of the doc (there is one earlier in the class signature). e.g. they don't show up in other similar classes which have I'm trying to flag a poor user experience and asking whether perhaps there is a better way to do it? One possible suggestion:
|
feel free to send a PR deleting generate here |
As suggested here: huggingface#6651 (comment) this removes generic `generate` doc with examples not-relevant to bart.
Thank you, Sam. |
As suggested here: #6651 (comment) this removes generic `generate` doc with examples not-relevant to bart.
As suggested here: huggingface#6651 (comment) this removes generic `generate` doc with examples not-relevant to bart.
As suggested here: huggingface#6651 (comment) this removes generic `generate` doc with examples not-relevant to bart.
If you look at the very end of this section https://huggingface.co/transformers/model_doc/bart.html#transformers.BartForConditionalGeneration.generate
there are 5 examples of using
generate
none of which is for BART. Is this an accidental copy-n-paste issue and they should just be removed?There are examples of generate for BART in the pre-amble of the class:
https://huggingface.co/transformers/model_doc/bart.html#bartforconditionalgeneration
The text was updated successfully, but these errors were encountered: