Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@huggingface/tasks

Package Overview
Dependencies
Maintainers
4
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@huggingface/tasks - npm Package Compare versions

Comparing version 0.13.10 to 0.13.11

1

dist/commonjs/model-libraries-snippets.d.ts

@@ -69,2 +69,3 @@ import type { ModelData } from "./model-data.js";

export declare const pythae: (model: ModelData) => string[];
export declare const anemoi: (model: ModelData) => string[];
export declare const audiocraft: (model: ModelData) => string[];

@@ -71,0 +72,0 @@ export declare const whisperkit: () => string[];

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformersJS = exports.transformers = exports.speechbrain = exports.stanza = exports.span_marker = exports.spacy = exports.setfit = exports.sentenceTransformers = exports.sampleFactory = exports.sam2 = exports.fastai = exports.stable_audio_tools = exports.sklearn = exports.seed_story = exports.saelens = exports.timm = exports.tensorflowtts = exports.relik = exports.pyannote_audio = exports.pyannote_audio_pipeline = exports.paddlenlp = exports.open_clip = exports.mesh_anything = exports.mars5_tts = exports.mamba_ssm = exports.tf_keras = exports.llama_cpp_python = exports.keras_hub = exports.keras_nlp = exports.keras = exports.htrflow = exports.gliner = exports.flair = exports.fairseq = exports.espnet = exports.espnetASR = exports.espnetTTS = exports.edsnlp = exports.cartesia_mlx = exports.cartesia_pytorch = exports.diffusionkit = exports.diffusers = exports.depth_pro = exports.depth_anything_v2 = exports.bm25s = exports.bertopic = exports.audioseal = exports.asteroid = exports.allennlp = exports.adapters = void 0;
exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.pythae = exports.pxia = exports.nemo = exports.model2vec = exports.mlxim = exports.mlx = exports.birefnet = exports.yolov10 = exports.chattts = exports.voicecraft = exports.vfimamba = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = void 0;
exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.pythae = exports.pxia = exports.nemo = exports.model2vec = exports.mlxim = exports.mlx = exports.birefnet = exports.yolov10 = exports.chattts = exports.voicecraft = exports.vfimamba = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = void 0;
const library_to_tasks_js_1 = require("./library-to-tasks.js");

@@ -1081,2 +1081,7 @@ const inputs_js_1 = require("./snippets/inputs.js");

];
const anemoi = (model) => [
`from anemoi.inference.runners import DefaultRunner
runner = DefaultRunner("${model.id}")`,
];
exports.anemoi = anemoi;
const audiocraft = (model) => {

@@ -1083,0 +1088,0 @@ if (model.tags.includes("musicgen")) {

@@ -74,2 +74,11 @@ import type { ModelData } from "./model-data.js";

};
anemoi: {
prettyLabel: string;
repoName: string;
repoUrl: string;
docsUrl: string;
filter: false;
countDownloads: string;
snippets: (model: ModelData) => string[];
};
asteroid: {

@@ -114,2 +123,9 @@ prettyLabel: string;

};
birder: {
prettyLabel: string;
repoName: string;
repoUrl: string;
filter: false;
countDownloads: string;
};
birefnet: {

@@ -833,3 +849,3 @@ prettyLabel: string;

export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
//# sourceMappingURL=model-libraries.d.ts.map

@@ -60,2 +60,11 @@ "use strict";

},
anemoi: {
prettyLabel: "AnemoI",
repoName: "AnemoI",
repoUrl: "https://github.com/ecmwf/anemoi-inference",
docsUrl: "https://anemoi-docs.readthedocs.io/en/latest/",
filter: false,
countDownloads: `path_extension:"ckpt"`,
snippets: snippets.anemoi,
},
asteroid: {

@@ -100,2 +109,9 @@ prettyLabel: "Asteroid",

},
birder: {
prettyLabel: "Birder",
repoName: "Birder",
repoUrl: "https://gitlab.com/birder/birder",
filter: false,
countDownloads: `path_extension:"pt"`,
},
birefnet: {

@@ -102,0 +118,0 @@ prettyLabel: "BiRefNet",

@@ -69,2 +69,3 @@ import type { ModelData } from "./model-data.js";

export declare const pythae: (model: ModelData) => string[];
export declare const anemoi: (model: ModelData) => string[];
export declare const audiocraft: (model: ModelData) => string[];

@@ -71,0 +72,0 @@ export declare const whisperkit: () => string[];

@@ -1010,2 +1010,6 @@ import { LIBRARY_TASK_MAPPING } from "./library-to-tasks.js";

];
export const anemoi = (model) => [
`from anemoi.inference.runners import DefaultRunner
runner = DefaultRunner("${model.id}")`,
];
export const audiocraft = (model) => {

@@ -1012,0 +1016,0 @@ if (model.tags.includes("musicgen")) {

@@ -74,2 +74,11 @@ import type { ModelData } from "./model-data.js";

};
anemoi: {
prettyLabel: string;
repoName: string;
repoUrl: string;
docsUrl: string;
filter: false;
countDownloads: string;
snippets: (model: ModelData) => string[];
};
asteroid: {

@@ -114,2 +123,9 @@ prettyLabel: string;

};
birder: {
prettyLabel: string;
repoName: string;
repoUrl: string;
filter: false;
countDownloads: string;
};
birefnet: {

@@ -833,3 +849,3 @@ prettyLabel: string;

export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("adapter-transformers" | "allennlp" | "anemoi" | "asteroid" | "audiocraft" | "audioseal" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chat_tts" | "colpali" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "imstoucan" | "keras" | "tf-keras" | "keras-nlp" | "keras-hub" | "k2" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "mamba-ssm" | "mars5-tts" | "mesh-anything" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "paddlenlp" | "peft" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "f5-tts" | "genmo" | "tensorflowtts" | "tic-clip" | "timesfm" | "timm" | "transformers" | "transformers.js" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "yolov10" | "whisperkit" | "3dtopia-xl")[];
//# sourceMappingURL=model-libraries.d.ts.map

@@ -34,2 +34,11 @@ import * as snippets from "./model-libraries-snippets.js";

},
anemoi: {
prettyLabel: "AnemoI",
repoName: "AnemoI",
repoUrl: "https://github.com/ecmwf/anemoi-inference",
docsUrl: "https://anemoi-docs.readthedocs.io/en/latest/",
filter: false,
countDownloads: `path_extension:"ckpt"`,
snippets: snippets.anemoi,
},
asteroid: {

@@ -74,2 +83,9 @@ prettyLabel: "Asteroid",

},
birder: {
prettyLabel: "Birder",
repoName: "Birder",
repoUrl: "https://gitlab.com/birder/birder",
filter: false,
countDownloads: `path_extension:"pt"`,
},
birefnet: {

@@ -76,0 +92,0 @@ prettyLabel: "BiRefNet",

2

package.json
{
"name": "@huggingface/tasks",
"packageManager": "pnpm@8.10.5",
"version": "0.13.10",
"version": "0.13.11",
"description": "List of ML tasks for huggingface.co/tasks",

@@ -6,0 +6,0 @@ "repository": "https://github.com/huggingface/huggingface.js.git",

@@ -1121,3 +1121,8 @@ import type { ModelData } from "./model-data.js";

];
export const anemoi = (model: ModelData): string[] => [
`from anemoi.inference.runners import DefaultRunner
runner = DefaultRunner("${model.id}")`,
];
export const audiocraft = (model: ModelData): string[] => {

@@ -1124,0 +1129,0 @@ if (model.tags.includes("musicgen")) {

@@ -78,2 +78,11 @@ import * as snippets from "./model-libraries-snippets.js";

},
anemoi: {
prettyLabel: "AnemoI",
repoName: "AnemoI",
repoUrl: "https://github.com/ecmwf/anemoi-inference",
docsUrl: "https://anemoi-docs.readthedocs.io/en/latest/",
filter: false,
countDownloads: `path_extension:"ckpt"`,
snippets: snippets.anemoi,
},
asteroid: {

@@ -118,2 +127,9 @@ prettyLabel: "Asteroid",

},
birder: {
prettyLabel: "Birder",
repoName: "Birder",
repoUrl: "https://gitlab.com/birder/birder",
filter: false,
countDownloads: `path_extension:"pt"`,
},
birefnet: {

@@ -120,0 +136,0 @@ prettyLabel: "BiRefNet",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc