You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: