Skip to content

Model constants grouped by type #612

@a-szymanska

Description

@a-szymanska

Problem description

Currently, the model constants don’t give much intuition about what each model is for, and so users need to reference documentation to know which models are available and what they’re used for. This problem also extends to Hugging Face, where models are listed ungrouped.

Proposed solution

  • Prefix names with model categories - maybe similar to how it is done in style transfer.
  • On Hugging Face, create collections that group models by the hook/module they are designed for.
    Then in the hook docs, we could replace links to specific models with links to the related collection, so users can easily browse all supported models for that hook.

Alternative solutions

Add JSDoc to model constants.

Benefits to React Native ExecuTorch

Users would be able to quickly identify what a model does without looking up the docs. This would reduce confusion and improve developer experience.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    huggingfaceIssues and tasks related to HuggingFace repositorymodelIssues related to exporting, improving, fixing ML models

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions