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
Trainer class optimization for transformer models
Models
0
409
January 8, 2022
Using Huggingface Trainer for custom models
Beginners
5
3628
May 29, 2023
Continued (in-domain) Pre-training of BART
🤗Transformers
1
440
September 13, 2023
Resources for using custom models with trainer
Beginners
6
5118
April 6, 2021
Multi-GPU support lost when overwriting functions for Custom Trainer
Intermediate
1
631
March 5, 2023