-
Notifications
You must be signed in to change notification settings - Fork 28.8k
Add flan-t5
documentation page
#19892
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
Add flan-t5
documentation page
#19892
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this!
@@ -247,6 +247,8 @@ | |||
title: ERNIE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why there are the four changes above, something to revert probably.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spotting the nit! Should be fixed !
docs/source/en/model_doc/flan-t5.mdx
Outdated
One can directly plug in the weights of FLAN-T5 into a T5 model, like so: | ||
|
||
```python | ||
>>> from transformers import T5ForConditionalGeneration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd advertise the auto model class, since it works for any checkpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added more content in ffabbb1
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
Thank you for the feedback @sgugger ! I should have addressed the comments now |
This reverts commit 5660714.
What does this PR do?
This PR adds
FLAN-T5
on the documentation page - following the same approach fort5-v1.1
: https://huggingface.co/docs/transformers/model_doc/t5v1.1cc @sgugger @ydshieh @ArthurZucker