Skip to content

How to train a custom model #1559

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
@nguyenhoanganh2002
Comment options

@BenjaminBossan
Comment options

@nguyenhoanganh2002
Comment options

@BenjaminBossan
Comment options

Answer selected by nguyenhoanganh2002
@nguyenhoanganh2002
Comment options

@nguyenhoanganh2002
Comment options

@BenjaminBossan
Comment options

@nguyenhoanganh2002
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