Skip to content

How can i custom training loop, sampling data and loss function in SFTTrainer #1433

Answered by younesbelkada
anhnh2002 asked this question in Q&A
Discussion options

You must be logged in to vote

hi @nguyenhoanganh2002
Thanks for the issue! I think the easiest is to subclass STTrainer to create your own trainer and overwrite the desired methods

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by anhnh2002
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants