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
The DatasetFilter class was introduced in Hugging Face Hub version 0.12.0 and was deprecated in version 0.21.0. It was completely removed in version 0.24.0.
You can find more information about this change in the Hugging Face Hub release notes:
The issue has been resolved in the main branch, expect a new version to release in the coming week with this fix applied. In the meantime, you can use:
RuntimeError: Failed to import transformers.trainer because of the following error (look up to see its traceback): cannot import name 'is_mlu_available' from 'accelerate.utils' (/cis/home/iessien1/.local/lib/python3.9/site-packages/accelerate/utils/__init__.py)
Even when using the pip installed using git. The github/colab examples also don't work.
The DatasetFilter class was introduced in Hugging Face Hub version 0.12.0 and was deprecated in version 0.21.0. It was completely removed in version 0.24.0.
You can find more information about this change in the Hugging Face Hub release notes:
Version 0.21.0: https://github.com/huggingface/huggingface_hub/releases
Version 0.24.0: https://github.com/huggingface/huggingface_hub/releases
from setfit import SetFitModel, Trainer, TrainingArguments, sample_dataset
this has issue.
The text was updated successfully, but these errors were encountered: