You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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.
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'
The text was updated successfully, but these errors were encountered: