Hugging Face Forums
Is it possible to add L1-regularization in Huggingface Trainer?
🤗Transformers
nielsr
September 11, 2024, 6:46am
2
Yes, you can overwrite the Trainer:
Finetuning BART using custom loss - #2 by lewtun
show post in topic
Related topics
Topic
Replies
Views
Activity
Class weights in Trainer() instance
Intermediate
1
725
September 10, 2021
Specify Loss for Trainer / TrainingArguments
🤗Transformers
5
21823
October 5, 2021
Gradual Unfreezing support for Fine tuning models
🤗Transformers
3
3981
August 26, 2020
Trainer class optimization for transformer models
Models
0
424
January 8, 2022
Fine-Tuning results suggest some underlying implementation error?
🤗Transformers
1
683
October 5, 2021