Hugging Face Forums
Create a weighted loss function to handle imbalance?
🤗Transformers
John6666
January 31, 2025, 4:58am
2
There don’t seem to be many examples…
show post in topic
Related topics
Topic
Replies
Views
Activity
Cross Entropy Weighted
Beginners
12
7502
June 30, 2023
Training with class weights
🤗Transformers
5
2537
November 18, 2023
Supervised Fine-tuning Trainer - Loss function calculation
Beginners
0
3242
September 6, 2023
Custom loss weight for train a different weight for validation
🤗Transformers
0
168
April 4, 2024
Class weights for Segformer loss function
🤗Transformers
1
880
July 28, 2023