huggingface / huggingface/setfit

Version issue

Open
#553 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.8k
Forks
267
Avg merge
36m
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the shown SetFitModel, Trainer, TrainingArguments, and sample_dataset import with Hugging Face Hub 0.24.0, then review the Hugging Face Hub 0.21.0 and 0.24.0 release notes. Confirm which removed DatasetFilter usage causes the issue and verify that the affected import works with the supported version.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.