How to train a custom model #1559
-
I must take some change llm architecture to adapt with my task. |
Beta Was this translation helpful? Give feedback.
Answered by
BenjaminBossan
Mar 15, 2024
Replies: 1 comment 11 replies
-
Custom models are generally supported, but you're not providing a lot of information (what adapter, what changes did you make?). Please take a look at our docs on custom models to see if those answer your question. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.