Skip to content

Push models to hub with custom embed_layer #2013

Answered by rwightman
Laurent2916 asked this question in Q&A
Discussion options

You must be logged in to vote

@Laurent2916 yes, I don't currently have a means of supporting custom code via the hub like transformers does. I actually havevn't looked into it super closely. If you've dug in and have any ideas / feel it's possible, I'd be open to working on a PR. It'd be useful for this case, and also for supporting 'adapters' that add non-trivial heads to the models, other custom layers that can be configured, etc.

I noticed you were uploading some neat timm (& transformers) models to the HF hub, nice!

Replies: 1 comment 1 reply

Comment options

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

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