Skip to content

Using trained model with Skorch #1066

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

You must be logged in to vote

Yes, that's absolutely possible. For instance, check this notebook. It defines a BertModule that wraps a Hugging Face transformers model. The wrapped model can be used with skorch as usual, whether it be for fine-tuning or just for inference.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@btvd
Comment options

Answer selected by btvd
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