-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[V4] models js #1494
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
base: v4
Are you sure you want to change the base?
[V4] models js #1494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! A refactor of the monolithic models.js is desperately needed. As mentioned elsewhere, ideally, we'd align quite closely with the python library structure, meaning keeping everything under the model type:
https://github.com/huggingface/transformers/tree/main/src/transformers/models

So, for example, src/models/pre-trained-models/albert-pre-trained-model.js should be src/models/albert/modeling_albert.js
also, weirdly, the rebase doesn't seem to be applied correctly (we can see the previous commits too)
No description provided.