Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add asupported API #1345

Open
Open
Labels
enhancementNew feature or request
@tarekziade

Description

@tarekziade

Feature request

It would be nice to add in the APIs something to know if a model is supported, given a hub, model version, id and revision and quantization level.

I guess this would consist of listing all the files that will get downloaded by Transformers.js before we actually start it.

I am thinking something along those lines:

  • grab the config.json
  • determine the model architecture
  • compute the files required and their URL
  • check if present in cache, if not do HEAD calls

Motivation

This is to avoid starting a session if we know it'll fail (missing quantization, or missing version etc).

Your contribution

I am happy to do the patch if I am mentored

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp