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

Feature Request: on transformerJS model download, check if previous download is up-to-date, and allow offline use. #992

Open
hpssjellis opened this issue Oct 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@hpssjellis
Copy link

Feature request

I request a simple javascript page to show that using transformerJS on a web page for model download, the page checks if a previous download is up-to-date, and allows offline use.

Motivation

Many students have intermittent internet. For Transformer.js to allow offline use is really helpful, but also for online use to only download the model once unless it needs to be updated is also relay useful.

Presently every time I refresh an example static webpage it re-downloads the model. With large models that could be excessive data fees.

Your contribution

I will try to do my own version using local storage to keep the version information, but most of this probably needs @xenova help.

If this has already been done, please provide a link to a simple example.

@hpssjellis hpssjellis added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant