huggingface / huggingface/setfit

Dealing with imbalanced classes

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

Description

Hi,

I have 9 classes which are imbalanced. The smallest one has 42 examples and the tallest one 95.

I cannot downsample the bigger classes since I need all these training data. Is there any way to add class weights during SetFit training?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.