Skip to content

Conversation

@sgugger
Copy link
Collaborator

@sgugger sgugger commented Jan 19, 2021

What does this PR do?

The conversion script was using the wrong kind of model, so wasn't working. I've also added the option to convert the base models.

Fixes #9644

@sgugger sgugger requested a review from LysandreJik January 19, 2021 21:02
Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Wonderful, thanks @sgugger!

@kiyoungkim1
Copy link
Contributor

kiyoungkim1 commented Jan 21, 2021

Do not miss transformers/cammand/convert.py for transformer-cli user.
Need base_model arg for convert_tf_checkpoint_to_pytorch(self._tf_checkpoint, self._config, self._pytorch_dump_output).

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.

Fail to convert the Funnel Transformer tensorflow version to transformer one when use the official script

4 participants