Skip to content

How to train a custom model #1559

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

You must be logged in to vote

PEFT doesn't prescribe any specific training code, use whatever you want. If you have some special things, it's probably easiest to write your own training loop with custom sampler and loss function.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@anhnh2002
Comment options

@BenjaminBossan
Comment options

@anhnh2002
Comment options

@BenjaminBossan
Comment options

Answer selected by anhnh2002
@anhnh2002
Comment options

@anhnh2002
Comment options

@BenjaminBossan
Comment options

@anhnh2002
Comment options

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