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

MMBT no longer supported by huggingface transformers. #1543

Open
nicholas-botzer opened this issue Jul 31, 2023 · 1 comment
Open

MMBT no longer supported by huggingface transformers. #1543

nicholas-botzer opened this issue Jul 31, 2023 · 1 comment

Comments

@nicholas-botzer
Copy link

Huggingface has dropped support for models that are not often used, one of them being the MMBT model.
(https://github.com/huggingface/transformers/releases/tag/v4.31.0)

When using the latest transformers version with simpletransformers this will cause an error while using classification models as the module not longer exists.

from simpletransformers.classification import ClassificationModel, MultiLabelClassificationModel

File "simpletransformers/classification/init.py", line 5, in
from simpletransformers.classification.multi_modal_classification_model import (
File "simpletransformers/classification/multi_modal_classification_model.py", line 47, in
from transformers.models.mmbt.configuration_mmbt import MMBTConfig
ModuleNotFoundError: No module named 'transformers.models.mmbt'

@owendw1
Copy link

owendw1 commented Aug 8, 2023

Fixed (see issue #1539): Simple Transformers 0.64.3 now available.

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

No branches or pull requests

2 participants