Skip to content

Using a pre-trained model from another framework as base #850

Answered by gbolmier
ganesh-krishnan asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @ganesh-krishnan, sorry for the slow reply. It's actually pretty use-case dependent, I don't see a super generic way here when implementations don't follow common standards.

When transferring a model state from a framework to another, implementation details from both frameworks matter a lot. There is some leg work to do to first to check if implementations are compatible and how to make the conversion. Transformers of your training pipeline matter too. If you have a standard scaler for instance, you probably want to transfer its state too.

If you're willing to describe more the context and participate in the solution implementation we could definitely give a hand. If this ends up in a…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by MaxHalford
Comment options

You must be logged in to vote
2 replies
@MaxHalford
Comment options

@gbolmier
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
3 participants