Skip to content

[Expression of support]: Transformers.js, library for running Hugging Face transformers in the browser #36

@xenova

Description

@xenova

What are the primary cross-origin storage use cases in your apps?

  • AI models
  • SQLite databases
  • Offline storage archives
  • Wasm modules
  • Other

Would you use this API in production as a progressive enhancement?

Yes

Why is cross-origin storage important for your use case?

Transformers.js users load large AI models to their browser: with sizes typically ranging between 10MB and 4GB. We also load WASM files (which are 21MB uncompressed, 4MB compressed). However, users are currently unable to share models across sites, leading to file duplication.

An API like this, following strict security principles, could significantly benefit web users, allowing for more efficient storage and loading of Transformers.js models.

What company do you work for?

Hugging Face

Concerns or reservations

No response

Additional features or improvements

No response

Any other feedback

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions