Skip to content

Add _CHECKPOINT_FOR_DOC to all models#12811

Merged
LysandreJik merged 2 commits intomasterfrom
checkpoint-for-doc
Jul 21, 2021
Merged

Add _CHECKPOINT_FOR_DOC to all models#12811
LysandreJik merged 2 commits intomasterfrom
checkpoint-for-doc

Conversation

@LysandreJik
Copy link
Copy Markdown
Member

This adds the _CHECKPOINT_FOR_DOC variable for all models that do not have it. This value is used in the pipeline tests refactoring, where all models/tokenizers compatible with a given pipeline are tested. To that end, it is important to have a source of truth as to which checkpoint is well maintained, which should be the case of the _CHECKPOINT_FOR_DOC that is used in the documentation.

Copy link
Copy Markdown
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding those!

Comment thread src/transformers/models/funnel/modeling_funnel.py Outdated
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
@LysandreJik LysandreJik merged commit ac3cb66 into master Jul 21, 2021
@LysandreJik LysandreJik deleted the checkpoint-for-doc branch July 21, 2021 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants