Giter VIP home page Giter VIP logo

Comments (2)

xenova avatar xenova commented on September 3, 2024

Well, I would say that is up to the user of the library... 😅 It should be their responsibility to choose models that run on their desired platforms.

There are some ways to produce smaller models (e.g., quantization and pruning), but they can only get you so far...

That said, it probably would be good to build up a larger collection of small models (like facebook/detr-resnet-50, which is only 43MB, but can be used for object detection).

If you have some candidates, you can post links to them here

from transformers.js.

xenova avatar xenova commented on September 3, 2024

Closing issue as there are models which are able to work on mobile devices. For an example, I have tested Whisper Web on my phone and it can run the tiny, quantized versions of whisper (~61MB in size).

Overall, if a user of the library wishes to deploy a version of their app to run in mobile browsers, it is their responsibility to choose models which can run in a mobile browser.

Alternatively, some users have found ways to get Transformers.js running natively via react-native. For more information, see this PR.

from transformers.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.