Skip to content
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

Make code compatible with newest transformers version #29

Closed
stefan-schroedl opened this issue Aug 26, 2022 · 0 comments · Fixed by #31
Closed

Make code compatible with newest transformers version #29

stefan-schroedl opened this issue Aug 26, 2022 · 0 comments · Fixed by #31

Comments

@stefan-schroedl
Copy link

In https://github.com/georgian-io/Multimodal-Toolkit/blob/master/multimodal_transformers/model/tabular_transformers.py#L10, the statements
from transformers.modeling_bert import BERT_INPUTS_DOCSTRING (and others)
lead to an error with the most recent transformers package, and should be changed to:
from transformers.models.bert.modeling_bert import BERT_INPUTS_DOCSTRING etc

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 a pull request may close this issue.

1 participant