Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to integrate models not available via huggingface or gluon? #17

Closed
pstroe opened this issue Sep 27, 2021 · 3 comments
Closed

how to integrate models not available via huggingface or gluon? #17

pstroe opened this issue Sep 27, 2021 · 3 comments

Comments

@pstroe
Copy link

pstroe commented Sep 27, 2021

hi there,

as i understand your library, it works with models which are available from huggingface or gluon.

question: for a model that is not available in the model zoos of those two frameworks, e.g. a model i trained myself, how can i get this to work with a config.json, a pytorch_model.bin and a vocab.txt file?

best,

phillip

@pstroe
Copy link
Author

pstroe commented Dec 3, 2021

hello there, since there has not been a response as of yet, i'd like to reinvoke this issue.

@JulianSlzr
Copy link
Contributor

Hi Phillip, thanks for reaching out. If I understand correctly from this and your (indirect) private message, your model is still defined in Transformers; it's just one you trained yourself.

At least for Transformers v3, you can see in commit f33f240 how I added ALBERT support in response to issue #2 :

I have been on leave + working on other projects, but hope to revisit usability and a switch to v4 in Jan-Feb 2022.

@pstroe
Copy link
Author

pstroe commented Jan 8, 2022

hi julian,
thanks a lot for your response! this helped a lot and i could make it work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants