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
Fine tuning bert with tensorflow huggingface transformers
🤗Transformers
1
203
January 28, 2024
Trainer() and required_grad=false
🤗Transformers
1
283
January 18, 2024
Class weights in Trainer() instance
Intermediate
1
717
September 10, 2021
How to finetune any transformer custom layers using tf
Intermediate
0
205
January 27, 2024
Unable to update the weights / learn anything
🤗Transformers
2
604
December 22, 2023