@huggingface/tasks 0.19.16 → 0.19.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/default-widget-inputs.js +1 -1
- package/dist/commonjs/model-libraries-snippets.d.ts +2 -0
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -1
- package/dist/commonjs/model-libraries-snippets.js +60 -2
- package/dist/commonjs/model-libraries.d.ts +31 -1
- package/dist/commonjs/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +30 -0
- package/dist/commonjs/pipelines.d.ts +5 -3
- package/dist/commonjs/pipelines.d.ts.map +1 -1
- package/dist/commonjs/pipelines.js +4 -2
- package/dist/commonjs/tasks/index.d.ts.map +1 -1
- package/dist/commonjs/tasks/index.js +2 -0
- package/dist/esm/default-widget-inputs.js +1 -1
- package/dist/esm/model-libraries-snippets.d.ts +2 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -1
- package/dist/esm/model-libraries-snippets.js +56 -0
- package/dist/esm/model-libraries.d.ts +31 -1
- package/dist/esm/model-libraries.d.ts.map +1 -1
- package/dist/esm/model-libraries.js +30 -0
- package/dist/esm/pipelines.d.ts +5 -3
- package/dist/esm/pipelines.d.ts.map +1 -1
- package/dist/esm/pipelines.js +4 -2
- package/dist/esm/tasks/index.d.ts.map +1 -1
- package/dist/esm/tasks/index.js +2 -0
- package/package.json +1 -1
- package/src/default-widget-inputs.ts +1 -1
- package/src/model-libraries-snippets.ts +65 -0
- package/src/model-libraries.ts +30 -0
- package/src/pipelines.ts +4 -2
- package/src/tasks/index.ts +2 -1
|
@@ -182,7 +182,7 @@ const MAPPING_FR = new Map([
|
|
|
182
182
|
[
|
|
183
183
|
"summarization",
|
|
184
184
|
[
|
|
185
|
-
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute
|
|
185
|
+
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute structure autoportante de France après le viaduc de Millau.`,
|
|
186
186
|
],
|
|
187
187
|
],
|
|
188
188
|
["text-generation", [`Mon nom est Julien et j'aime`, `Mon nom est Thomas et mon principal`, `Il était une fois`]],
|
|
@@ -33,6 +33,7 @@ export declare const keras_hub: (model: ModelData) => string[];
|
|
|
33
33
|
export declare const kimi_audio: (model: ModelData) => string[];
|
|
34
34
|
export declare const lightning_ir: (model: ModelData) => string[];
|
|
35
35
|
export declare const llama_cpp_python: (model: ModelData) => string[];
|
|
36
|
+
export declare const lerobot: (model: ModelData) => string[];
|
|
36
37
|
export declare const tf_keras: (model: ModelData) => string[];
|
|
37
38
|
export declare const mamba_ssm: (model: ModelData) => string[];
|
|
38
39
|
export declare const mars5_tts: (model: ModelData) => string[];
|
|
@@ -76,6 +77,7 @@ export declare const chattts: () => string[];
|
|
|
76
77
|
export declare const ultralytics: (model: ModelData) => string[];
|
|
77
78
|
export declare const birefnet: (model: ModelData) => string[];
|
|
78
79
|
export declare const swarmformer: (model: ModelData) => string[];
|
|
80
|
+
export declare const univa: (model: ModelData) => string[];
|
|
79
81
|
export declare const mlxim: (model: ModelData) => string[];
|
|
80
82
|
export declare const mlx: (model: ModelData) => string[];
|
|
81
83
|
export declare const model2vec: (model: ModelData) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries-snippets.d.ts","sourceRoot":"","sources":["../../src/model-libraries-snippets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAkBjD,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAIhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAkBlD,CAAC;AAaF,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,MAAM,EAY7C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,MAAM,EAenC,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,MAAM,EAsDnC,CAAC;AAEF,eAAO,MAAM,cAAc,QAAO,MAAM,EAcvC,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,OAAO,SAAS,KAAG,MAAM,EA6C1D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAwBlD,CAAC;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,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAW9C,CAAC;AAkEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,OAAO,SAAS,KAAG,MAAM,EAY5C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAIlD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,MAAM,EAQ7C,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAuBhD,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,MAAM,EAI7C,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,SAAS,KAAG,MAAM,EAI/C,CAAC;AA4BF,eAAO,MAAM,MAAM,GAAI,OAAO,SAAS,KAAG,MAAM,EAO/C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,SAAS,KAAG,MAAM,EAUnD,CAAC;AAEF,eAAO,MAAM,UAAU,QAAO,MAAM,EAYnC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,SAAS,KAAG,MAAM,EAKvD,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAiB9C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.zonos = exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.pythae = exports.pxia = exports.outetts = exports.nemo = exports.model2vec = exports.mlx = exports.mlxim = exports.swarmformer = exports.birefnet = exports.ultralytics = exports.chattts = exports.vui = exports.voicecraft = exports.vfimamba = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = exports.transformersJS = exports.transformers = exports.terratorch = 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 = void 0;
|
|
3
|
+
exports.saelens = exports.timm = exports.tensorflowtts = exports.relik = exports.pyannote_audio = exports.pyannote_audio_pipeline = exports.phantom_wan = exports.perception_encoder = exports.paddlenlp = exports.open_clip = exports.mesh_anything = exports.matanyone = exports.mars5_tts = exports.mamba_ssm = exports.tf_keras = exports.lerobot = exports.llama_cpp_python = exports.lightning_ir = exports.kimi_audio = exports.keras_hub = exports.keras = exports.htrflow = exports.indextts = 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.describe_anything = exports.dia = exports.derm_foundation = exports.depth_pro = exports.depth_anything_v2 = exports.cxr_foundation = exports.contexttab = exports.chatterbox = exports.bm25s = exports.bertopic = exports.ben2 = exports.audioseal = exports.asteroid = exports.araclip = exports.allennlp = exports.adapters = void 0;
|
|
4
|
+
exports.zonos = exports.hezar = exports.threedtopia_xl = exports.whisperkit = exports.audiocraft = exports.anemoi = exports.pythae = exports.pxia = exports.outetts = exports.nemo = exports.model2vec = exports.mlx = exports.mlxim = exports.univa = exports.swarmformer = exports.birefnet = exports.ultralytics = exports.chattts = exports.vui = exports.voicecraft = exports.vfimamba = exports.sana = exports.sentis = exports.mlAgents = exports.stableBaselines3 = exports.fasttext = exports.peft = exports.transformersJS = exports.transformers = exports.terratorch = 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 = void 0;
|
|
5
5
|
const library_to_tasks_js_1 = require("./library-to-tasks.js");
|
|
6
6
|
const inputs_js_1 = require("./snippets/inputs.js");
|
|
7
7
|
const common_js_1 = require("./snippets/common.js");
|
|
@@ -732,6 +732,45 @@ print(output)`);
|
|
|
732
732
|
return snippets;
|
|
733
733
|
};
|
|
734
734
|
exports.llama_cpp_python = llama_cpp_python;
|
|
735
|
+
const lerobot = (model) => {
|
|
736
|
+
if (model.tags.includes("smolvla")) {
|
|
737
|
+
const smolvlaSnippets = [
|
|
738
|
+
// Installation snippet
|
|
739
|
+
`# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details
|
|
740
|
+
git clone https://github.com/huggingface/lerobot.git
|
|
741
|
+
cd lerobot
|
|
742
|
+
pip install -e .[smolvla]`,
|
|
743
|
+
// Finetune snippet
|
|
744
|
+
`# Launch finetuning on your dataset
|
|
745
|
+
python lerobot/scripts/train.py \\
|
|
746
|
+
--policy.path=${model.id} \\
|
|
747
|
+
--dataset.repo_id=lerobot/svla_so101_pickplace \\
|
|
748
|
+
--batch_size=64 \\
|
|
749
|
+
--steps=20000 \\
|
|
750
|
+
--output_dir=outputs/train/my_smolvla \\
|
|
751
|
+
--job_name=my_smolvla_training \\
|
|
752
|
+
--policy.device=cuda \\
|
|
753
|
+
--wandb.enable=true`,
|
|
754
|
+
];
|
|
755
|
+
if (model.id !== "lerobot/smolvla_base") {
|
|
756
|
+
// Inference snippet (only if not base model)
|
|
757
|
+
smolvlaSnippets.push(`# Run the policy using the record function
|
|
758
|
+
python -m lerobot.record \\
|
|
759
|
+
--robot.type=so101_follower \\
|
|
760
|
+
--robot.port=/dev/ttyACM0 \\ # <- Use your port
|
|
761
|
+
--robot.id=my_blue_follower_arm \\ # <- Use your robot id
|
|
762
|
+
--robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \\ # <- Use your cameras
|
|
763
|
+
--dataset.single_task="Grasp a lego block and put it in the bin." \\ # <- Use the same task description you used in your dataset recording
|
|
764
|
+
--dataset.repo_id=HF_USER/dataset_name \\ # <- This will be the dataset name on HF Hub
|
|
765
|
+
--dataset.episode_time_s=50 \\
|
|
766
|
+
--dataset.num_episodes=10 \\
|
|
767
|
+
--policy.path=${model.id}`);
|
|
768
|
+
}
|
|
769
|
+
return smolvlaSnippets;
|
|
770
|
+
}
|
|
771
|
+
return [];
|
|
772
|
+
};
|
|
773
|
+
exports.lerobot = lerobot;
|
|
735
774
|
const tf_keras = (model) => [
|
|
736
775
|
`# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
|
|
737
776
|
# See https://github.com/keras-team/tf-keras for more details.
|
|
@@ -1235,6 +1274,12 @@ const transformers = (model) => {
|
|
|
1235
1274
|
pipelineSnippet.push("pipe(messages)");
|
|
1236
1275
|
}
|
|
1237
1276
|
}
|
|
1277
|
+
else if (model.pipeline_tag === "zero-shot-image-classification") {
|
|
1278
|
+
pipelineSnippet.push("pipe(", ' "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",', ' candidate_labels=["animals", "humans", "landscape"],', ")");
|
|
1279
|
+
}
|
|
1280
|
+
else if (model.pipeline_tag === "image-classification") {
|
|
1281
|
+
pipelineSnippet.push('pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")');
|
|
1282
|
+
}
|
|
1238
1283
|
return [pipelineSnippet.join("\n"), autoSnippet];
|
|
1239
1284
|
}
|
|
1240
1285
|
return [autoSnippet];
|
|
@@ -1428,6 +1473,19 @@ model = SwarmFormerModel.from_pretrained("${model.id}")
|
|
|
1428
1473
|
`,
|
|
1429
1474
|
];
|
|
1430
1475
|
exports.swarmformer = swarmformer;
|
|
1476
|
+
const univa = (model) => [
|
|
1477
|
+
`# Follow installation instructions at https://github.com/PKU-YuanGroup/UniWorld-V1
|
|
1478
|
+
|
|
1479
|
+
from univa.models.qwen2p5vl.modeling_univa_qwen2p5vl import UnivaQwen2p5VLForConditionalGeneration
|
|
1480
|
+
model = UnivaQwen2p5VLForConditionalGeneration.from_pretrained(
|
|
1481
|
+
"${model.id}",
|
|
1482
|
+
torch_dtype=torch.bfloat16,
|
|
1483
|
+
attn_implementation="flash_attention_2",
|
|
1484
|
+
).to("cuda")
|
|
1485
|
+
processor = AutoProcessor.from_pretrained("${model.id}")
|
|
1486
|
+
`,
|
|
1487
|
+
];
|
|
1488
|
+
exports.univa = univa;
|
|
1431
1489
|
const mlx_unknown = (model) => [
|
|
1432
1490
|
`# Download the model from the Hub
|
|
1433
1491
|
pip install huggingface_hub[hf_xet]
|
|
@@ -521,6 +521,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
521
521
|
filter: false;
|
|
522
522
|
countDownloads: string;
|
|
523
523
|
};
|
|
524
|
+
lerobot: {
|
|
525
|
+
prettyLabel: string;
|
|
526
|
+
repoName: string;
|
|
527
|
+
repoUrl: string;
|
|
528
|
+
docsUrl: string;
|
|
529
|
+
filter: false;
|
|
530
|
+
snippets: (model: ModelData) => string[];
|
|
531
|
+
};
|
|
524
532
|
liveportrait: {
|
|
525
533
|
prettyLabel: string;
|
|
526
534
|
repoName: string;
|
|
@@ -876,6 +884,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
876
884
|
countDownloads: string;
|
|
877
885
|
snippets: (model: ModelData) => string[];
|
|
878
886
|
};
|
|
887
|
+
monkeyocr: {
|
|
888
|
+
prettyLabel: string;
|
|
889
|
+
repoName: string;
|
|
890
|
+
repoUrl: string;
|
|
891
|
+
filter: false;
|
|
892
|
+
countDownloads: string;
|
|
893
|
+
};
|
|
879
894
|
"diffusion-single-file": {
|
|
880
895
|
prettyLabel: string;
|
|
881
896
|
repoName: string;
|
|
@@ -937,6 +952,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
937
952
|
filter: false;
|
|
938
953
|
countDownloads: string;
|
|
939
954
|
};
|
|
955
|
+
"tencent-song-generation": {
|
|
956
|
+
prettyLabel: string;
|
|
957
|
+
repoName: string;
|
|
958
|
+
repoUrl: string;
|
|
959
|
+
filter: false;
|
|
960
|
+
countDownloads: string;
|
|
961
|
+
};
|
|
940
962
|
tensorflowtts: {
|
|
941
963
|
prettyLabel: string;
|
|
942
964
|
repoName: string;
|
|
@@ -1025,6 +1047,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1025
1047
|
countDownloads: string;
|
|
1026
1048
|
snippets: (model: ModelData) => string[];
|
|
1027
1049
|
};
|
|
1050
|
+
univa: {
|
|
1051
|
+
prettyLabel: string;
|
|
1052
|
+
repoName: string;
|
|
1053
|
+
repoUrl: string;
|
|
1054
|
+
snippets: (model: ModelData) => string[];
|
|
1055
|
+
filter: true;
|
|
1056
|
+
countDownloads: string;
|
|
1057
|
+
};
|
|
1028
1058
|
"uni-3dar": {
|
|
1029
1059
|
prettyLabel: string;
|
|
1030
1060
|
repoName: string;
|
|
@@ -1110,5 +1140,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1110
1140
|
};
|
|
1111
1141
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1112
1142
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1113
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chatterbox" | "chat_tts" | "colpali" | "comet" | "contexttab" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cosyvoice" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "geometry-crafter" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "imstoucan" | "index-tts" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kimi-audio" | "k2" | "lightning-ir" | "litert-lm" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "open-sora" | "outetts" | "paddlenlp" | "peft" | "perception-encoder" | "phantom-wan" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "seedvr" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "swarmformer" | "f5-tts" | "genmo" | "tensorflowtts" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "uni-3dar" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "vui" | "wham" | "whisperkit" | "yolov10" | "zonos" | "3dtopia-xl")[];
|
|
1143
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chatterbox" | "chat_tts" | "colpali" | "comet" | "contexttab" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cosyvoice" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "geometry-crafter" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "imstoucan" | "index-tts" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kimi-audio" | "k2" | "lightning-ir" | "litert-lm" | "lerobot" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "open-sora" | "outetts" | "paddlenlp" | "peft" | "perception-encoder" | "phantom-wan" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "seedvr" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "swarmformer" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "vui" | "wham" | "whisperkit" | "yolov10" | "zonos" | "3dtopia-xl")[];
|
|
1114
1144
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO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;;;;;;;;;;;;;CAkkCI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,+/DAQ1B,CAAC"}
|
|
@@ -519,6 +519,14 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
519
519
|
filter: false,
|
|
520
520
|
countDownloads: `path_extension:"litertlm"`,
|
|
521
521
|
},
|
|
522
|
+
lerobot: {
|
|
523
|
+
prettyLabel: "LeRobot",
|
|
524
|
+
repoName: "LeRobot",
|
|
525
|
+
repoUrl: "https://github.com/huggingface/lerobot",
|
|
526
|
+
docsUrl: "https://huggingface.co/docs/lerobot",
|
|
527
|
+
filter: false,
|
|
528
|
+
snippets: snippets.lerobot,
|
|
529
|
+
},
|
|
522
530
|
liveportrait: {
|
|
523
531
|
prettyLabel: "LivePortrait",
|
|
524
532
|
repoName: "LivePortrait",
|
|
@@ -877,6 +885,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
877
885
|
countDownloads: `path:"model.safetensors"`,
|
|
878
886
|
snippets: snippets.stable_audio_tools,
|
|
879
887
|
},
|
|
888
|
+
monkeyocr: {
|
|
889
|
+
prettyLabel: "MonkeyOCR",
|
|
890
|
+
repoName: "monkeyocr",
|
|
891
|
+
repoUrl: "https://github.com/Yuliang-Liu/MonkeyOCR",
|
|
892
|
+
filter: false,
|
|
893
|
+
countDownloads: `path:"Recognition/config.json"`,
|
|
894
|
+
},
|
|
880
895
|
"diffusion-single-file": {
|
|
881
896
|
prettyLabel: "Diffusion Single File",
|
|
882
897
|
repoName: "diffusion-single-file",
|
|
@@ -938,6 +953,13 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
938
953
|
filter: false,
|
|
939
954
|
countDownloads: `path:"vae_stats.json"`,
|
|
940
955
|
},
|
|
956
|
+
"tencent-song-generation": {
|
|
957
|
+
prettyLabel: "SongGeneration",
|
|
958
|
+
repoName: "SongGeneration",
|
|
959
|
+
repoUrl: "https://github.com/tencent-ailab/songgeneration",
|
|
960
|
+
filter: false,
|
|
961
|
+
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`,
|
|
962
|
+
},
|
|
941
963
|
tensorflowtts: {
|
|
942
964
|
prettyLabel: "TensorFlowTTS",
|
|
943
965
|
repoName: "TensorFlowTTS",
|
|
@@ -1026,6 +1048,14 @@ exports.MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1026
1048
|
countDownloads: `path_extension:"pt"`,
|
|
1027
1049
|
snippets: snippets.ultralytics,
|
|
1028
1050
|
},
|
|
1051
|
+
univa: {
|
|
1052
|
+
prettyLabel: "univa",
|
|
1053
|
+
repoName: "univa",
|
|
1054
|
+
repoUrl: "https://github.com/PKU-YuanGroup/UniWorld-V1",
|
|
1055
|
+
snippets: snippets.univa,
|
|
1056
|
+
filter: true,
|
|
1057
|
+
countDownloads: `path:"config.json"`,
|
|
1058
|
+
},
|
|
1029
1059
|
"uni-3dar": {
|
|
1030
1060
|
prettyLabel: "Uni-3DAR",
|
|
1031
1061
|
repoName: "Uni-3DAR",
|
|
@@ -297,7 +297,6 @@ export declare const PIPELINE_DATA: {
|
|
|
297
297
|
"image-text-to-text": {
|
|
298
298
|
name: string;
|
|
299
299
|
modality: "multimodal";
|
|
300
|
-
hideInDatasets: true;
|
|
301
300
|
};
|
|
302
301
|
"visual-question-answering": {
|
|
303
302
|
name: string;
|
|
@@ -361,11 +360,14 @@ export declare const PIPELINE_DATA: {
|
|
|
361
360
|
"visual-document-retrieval": {
|
|
362
361
|
name: string;
|
|
363
362
|
modality: "multimodal";
|
|
364
|
-
hideInDatasets: true;
|
|
365
363
|
};
|
|
366
364
|
"any-to-any": {
|
|
367
365
|
name: string;
|
|
368
366
|
modality: "multimodal";
|
|
367
|
+
};
|
|
368
|
+
"video-to-video": {
|
|
369
|
+
name: string;
|
|
370
|
+
modality: "cv";
|
|
369
371
|
hideInDatasets: true;
|
|
370
372
|
};
|
|
371
373
|
other: {
|
|
@@ -379,5 +381,5 @@ export type PipelineType = keyof typeof PIPELINE_DATA;
|
|
|
379
381
|
export type WidgetType = PipelineType | "conversational";
|
|
380
382
|
export declare const PIPELINE_TYPES: PipelineType[];
|
|
381
383
|
export declare const SUBTASK_TYPES: string[];
|
|
382
|
-
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any">;
|
|
384
|
+
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any" | "video-to-video">;
|
|
383
385
|
//# sourceMappingURL=pipelines.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAcD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC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
|
521
520
|
"visual-question-answering": {
|
|
522
521
|
name: "Visual Question Answering",
|
|
@@ -586,11 +585,14 @@ exports.PIPELINE_DATA = {
|
|
|
586
585
|
"visual-document-retrieval": {
|
|
587
586
|
name: "Visual Document Retrieval",
|
|
588
587
|
modality: "multimodal",
|
|
589
|
-
hideInDatasets: true,
|
|
590
588
|
},
|
|
591
589
|
"any-to-any": {
|
|
592
590
|
name: "Any-to-Any",
|
|
593
591
|
modality: "multimodal",
|
|
592
|
+
},
|
|
593
|
+
"video-to-video": {
|
|
594
|
+
name: "Video-to-Video",
|
|
595
|
+
modality: "cv",
|
|
594
596
|
hideInDatasets: true,
|
|
595
597
|
},
|
|
596
598
|
other: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tasks/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAgDpD,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,6CAA6C,CAAC;AACjE,YAAY,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,0BAA0B,EAC1B,gCAAgC,EAChC,+BAA+B,GAC/B,MAAM,gCAAgC,CAAC;AACxC,mBAAmB,4CAA4C,CAAC;AAChE,mBAAmB,mCAAmC,CAAC;AACvD,mBAAmB,0BAA0B,CAAC;AAC9C,YAAY,EACX,wBAAwB,EACxB,yBAAyB,EACzB,gCAAgC,EAChC,6BAA6B,GAC7B,MAAM,qCAAqC,CAAC;AAC7C,mBAAmB,+BAA+B,CAAC;AACnD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC/G,mBAAmB,mCAAmC,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACnH,mBAAmB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AI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;IACH,IAAI,EAAE,kBAAkB,CAAC;CACxB,CAAC;AAEL,MAAM,WAAW,QAAQ;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,OAAO,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,EAAE,EAAE,YAAY,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,OAAO,GAAG,WAAW,CAAC,CAAC"}
|
|
@@ -116,6 +116,7 @@ exports.TASKS_MODEL_LIBRARIES = {
|
|
|
116
116
|
"image-to-3d": ["diffusers"],
|
|
117
117
|
"any-to-any": ["transformers"],
|
|
118
118
|
"visual-document-retrieval": ["transformers"],
|
|
119
|
+
"video-to-video": ["diffusers"],
|
|
119
120
|
};
|
|
120
121
|
/**
|
|
121
122
|
* Return the whole TaskData object for a certain task.
|
|
@@ -183,6 +184,7 @@ exports.TASKS_DATA = {
|
|
|
183
184
|
translation: getData("translation", data_js_29.default),
|
|
184
185
|
"unconditional-image-generation": getData("unconditional-image-generation", data_js_34.default),
|
|
185
186
|
"video-text-to-text": getData("video-text-to-text", data_js_44.default),
|
|
187
|
+
"video-to-video": getData("video-to-video", data_js_18.default),
|
|
186
188
|
"visual-question-answering": getData("visual-question-answering", data_js_37.default),
|
|
187
189
|
"voice-activity-detection": undefined,
|
|
188
190
|
"zero-shot-classification": getData("zero-shot-classification", data_js_38.default),
|
|
@@ -179,7 +179,7 @@ const MAPPING_FR = new Map([
|
|
|
179
179
|
[
|
|
180
180
|
"summarization",
|
|
181
181
|
[
|
|
182
|
-
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute
|
|
182
|
+
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute structure autoportante de France après le viaduc de Millau.`,
|
|
183
183
|
],
|
|
184
184
|
],
|
|
185
185
|
["text-generation", [`Mon nom est Julien et j'aime`, `Mon nom est Thomas et mon principal`, `Il était une fois`]],
|
|
@@ -33,6 +33,7 @@ export declare const keras_hub: (model: ModelData) => string[];
|
|
|
33
33
|
export declare const kimi_audio: (model: ModelData) => string[];
|
|
34
34
|
export declare const lightning_ir: (model: ModelData) => string[];
|
|
35
35
|
export declare const llama_cpp_python: (model: ModelData) => string[];
|
|
36
|
+
export declare const lerobot: (model: ModelData) => string[];
|
|
36
37
|
export declare const tf_keras: (model: ModelData) => string[];
|
|
37
38
|
export declare const mamba_ssm: (model: ModelData) => string[];
|
|
38
39
|
export declare const mars5_tts: (model: ModelData) => string[];
|
|
@@ -76,6 +77,7 @@ export declare const chattts: () => string[];
|
|
|
76
77
|
export declare const ultralytics: (model: ModelData) => string[];
|
|
77
78
|
export declare const birefnet: (model: ModelData) => string[];
|
|
78
79
|
export declare const swarmformer: (model: ModelData) => string[];
|
|
80
|
+
export declare const univa: (model: ModelData) => string[];
|
|
79
81
|
export declare const mlxim: (model: ModelData) => string[];
|
|
80
82
|
export declare const mlx: (model: ModelData) => string[];
|
|
81
83
|
export declare const model2vec: (model: ModelData) => string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries-snippets.d.ts","sourceRoot":"","sources":["../../src/model-libraries-snippets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAkBjD,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAkBF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAKjD,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,KAAG,MAAM,EAIhD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,MAAM,EAIjD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,SAAS,KAAG,MAAM,EAkBlD,CAAC;AAaF,eAAO,MAAM,IAAI,GAAI,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EAKvD,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAI9C,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,OAAO,SAAS,KAAG,MAAM,EAiB9C,CAAC"}
|
|
@@ -694,6 +694,44 @@ print(output)`);
|
|
|
694
694
|
}
|
|
695
695
|
return snippets;
|
|
696
696
|
};
|
|
697
|
+
export const lerobot = (model) => {
|
|
698
|
+
if (model.tags.includes("smolvla")) {
|
|
699
|
+
const smolvlaSnippets = [
|
|
700
|
+
// Installation snippet
|
|
701
|
+
`# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details
|
|
702
|
+
git clone https://github.com/huggingface/lerobot.git
|
|
703
|
+
cd lerobot
|
|
704
|
+
pip install -e .[smolvla]`,
|
|
705
|
+
// Finetune snippet
|
|
706
|
+
`# Launch finetuning on your dataset
|
|
707
|
+
python lerobot/scripts/train.py \\
|
|
708
|
+
--policy.path=${model.id} \\
|
|
709
|
+
--dataset.repo_id=lerobot/svla_so101_pickplace \\
|
|
710
|
+
--batch_size=64 \\
|
|
711
|
+
--steps=20000 \\
|
|
712
|
+
--output_dir=outputs/train/my_smolvla \\
|
|
713
|
+
--job_name=my_smolvla_training \\
|
|
714
|
+
--policy.device=cuda \\
|
|
715
|
+
--wandb.enable=true`,
|
|
716
|
+
];
|
|
717
|
+
if (model.id !== "lerobot/smolvla_base") {
|
|
718
|
+
// Inference snippet (only if not base model)
|
|
719
|
+
smolvlaSnippets.push(`# Run the policy using the record function
|
|
720
|
+
python -m lerobot.record \\
|
|
721
|
+
--robot.type=so101_follower \\
|
|
722
|
+
--robot.port=/dev/ttyACM0 \\ # <- Use your port
|
|
723
|
+
--robot.id=my_blue_follower_arm \\ # <- Use your robot id
|
|
724
|
+
--robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \\ # <- Use your cameras
|
|
725
|
+
--dataset.single_task="Grasp a lego block and put it in the bin." \\ # <- Use the same task description you used in your dataset recording
|
|
726
|
+
--dataset.repo_id=HF_USER/dataset_name \\ # <- This will be the dataset name on HF Hub
|
|
727
|
+
--dataset.episode_time_s=50 \\
|
|
728
|
+
--dataset.num_episodes=10 \\
|
|
729
|
+
--policy.path=${model.id}`);
|
|
730
|
+
}
|
|
731
|
+
return smolvlaSnippets;
|
|
732
|
+
}
|
|
733
|
+
return [];
|
|
734
|
+
};
|
|
697
735
|
export const tf_keras = (model) => [
|
|
698
736
|
`# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
|
|
699
737
|
# See https://github.com/keras-team/tf-keras for more details.
|
|
@@ -1169,6 +1207,12 @@ export const transformers = (model) => {
|
|
|
1169
1207
|
pipelineSnippet.push("pipe(messages)");
|
|
1170
1208
|
}
|
|
1171
1209
|
}
|
|
1210
|
+
else if (model.pipeline_tag === "zero-shot-image-classification") {
|
|
1211
|
+
pipelineSnippet.push("pipe(", ' "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",', ' candidate_labels=["animals", "humans", "landscape"],', ")");
|
|
1212
|
+
}
|
|
1213
|
+
else if (model.pipeline_tag === "image-classification") {
|
|
1214
|
+
pipelineSnippet.push('pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")');
|
|
1215
|
+
}
|
|
1172
1216
|
return [pipelineSnippet.join("\n"), autoSnippet];
|
|
1173
1217
|
}
|
|
1174
1218
|
return [autoSnippet];
|
|
@@ -1347,6 +1391,18 @@ export const swarmformer = (model) => [
|
|
|
1347
1391
|
model = SwarmFormerModel.from_pretrained("${model.id}")
|
|
1348
1392
|
`,
|
|
1349
1393
|
];
|
|
1394
|
+
export const univa = (model) => [
|
|
1395
|
+
`# Follow installation instructions at https://github.com/PKU-YuanGroup/UniWorld-V1
|
|
1396
|
+
|
|
1397
|
+
from univa.models.qwen2p5vl.modeling_univa_qwen2p5vl import UnivaQwen2p5VLForConditionalGeneration
|
|
1398
|
+
model = UnivaQwen2p5VLForConditionalGeneration.from_pretrained(
|
|
1399
|
+
"${model.id}",
|
|
1400
|
+
torch_dtype=torch.bfloat16,
|
|
1401
|
+
attn_implementation="flash_attention_2",
|
|
1402
|
+
).to("cuda")
|
|
1403
|
+
processor = AutoProcessor.from_pretrained("${model.id}")
|
|
1404
|
+
`,
|
|
1405
|
+
];
|
|
1350
1406
|
const mlx_unknown = (model) => [
|
|
1351
1407
|
`# Download the model from the Hub
|
|
1352
1408
|
pip install huggingface_hub[hf_xet]
|
|
@@ -521,6 +521,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
521
521
|
filter: false;
|
|
522
522
|
countDownloads: string;
|
|
523
523
|
};
|
|
524
|
+
lerobot: {
|
|
525
|
+
prettyLabel: string;
|
|
526
|
+
repoName: string;
|
|
527
|
+
repoUrl: string;
|
|
528
|
+
docsUrl: string;
|
|
529
|
+
filter: false;
|
|
530
|
+
snippets: (model: ModelData) => string[];
|
|
531
|
+
};
|
|
524
532
|
liveportrait: {
|
|
525
533
|
prettyLabel: string;
|
|
526
534
|
repoName: string;
|
|
@@ -876,6 +884,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
876
884
|
countDownloads: string;
|
|
877
885
|
snippets: (model: ModelData) => string[];
|
|
878
886
|
};
|
|
887
|
+
monkeyocr: {
|
|
888
|
+
prettyLabel: string;
|
|
889
|
+
repoName: string;
|
|
890
|
+
repoUrl: string;
|
|
891
|
+
filter: false;
|
|
892
|
+
countDownloads: string;
|
|
893
|
+
};
|
|
879
894
|
"diffusion-single-file": {
|
|
880
895
|
prettyLabel: string;
|
|
881
896
|
repoName: string;
|
|
@@ -937,6 +952,13 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
937
952
|
filter: false;
|
|
938
953
|
countDownloads: string;
|
|
939
954
|
};
|
|
955
|
+
"tencent-song-generation": {
|
|
956
|
+
prettyLabel: string;
|
|
957
|
+
repoName: string;
|
|
958
|
+
repoUrl: string;
|
|
959
|
+
filter: false;
|
|
960
|
+
countDownloads: string;
|
|
961
|
+
};
|
|
940
962
|
tensorflowtts: {
|
|
941
963
|
prettyLabel: string;
|
|
942
964
|
repoName: string;
|
|
@@ -1025,6 +1047,14 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1025
1047
|
countDownloads: string;
|
|
1026
1048
|
snippets: (model: ModelData) => string[];
|
|
1027
1049
|
};
|
|
1050
|
+
univa: {
|
|
1051
|
+
prettyLabel: string;
|
|
1052
|
+
repoName: string;
|
|
1053
|
+
repoUrl: string;
|
|
1054
|
+
snippets: (model: ModelData) => string[];
|
|
1055
|
+
filter: true;
|
|
1056
|
+
countDownloads: string;
|
|
1057
|
+
};
|
|
1028
1058
|
"uni-3dar": {
|
|
1029
1059
|
prettyLabel: string;
|
|
1030
1060
|
repoName: string;
|
|
@@ -1110,5 +1140,5 @@ export declare const MODEL_LIBRARIES_UI_ELEMENTS: {
|
|
|
1110
1140
|
};
|
|
1111
1141
|
export type ModelLibraryKey = keyof typeof MODEL_LIBRARIES_UI_ELEMENTS;
|
|
1112
1142
|
export declare const ALL_MODEL_LIBRARY_KEYS: ModelLibraryKey[];
|
|
1113
|
-
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chatterbox" | "chat_tts" | "colpali" | "comet" | "contexttab" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cosyvoice" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "geometry-crafter" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "imstoucan" | "index-tts" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kimi-audio" | "k2" | "lightning-ir" | "litert-lm" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "open-sora" | "outetts" | "paddlenlp" | "peft" | "perception-encoder" | "phantom-wan" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "seedvr" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "swarmformer" | "f5-tts" | "genmo" | "tensorflowtts" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "uni-3dar" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "vui" | "wham" | "whisperkit" | "yolov10" | "zonos" | "3dtopia-xl")[];
|
|
1143
|
+
export declare const ALL_DISPLAY_MODEL_LIBRARY_KEYS: ("acestep" | "adapter-transformers" | "allennlp" | "anemoi" | "araclip" | "asteroid" | "audiocraft" | "audioseal" | "bagel-mot" | "ben2" | "bertopic" | "big_vision" | "birder" | "birefnet" | "bm25s" | "champ" | "chatterbox" | "chat_tts" | "colpali" | "comet" | "contexttab" | "cosmos" | "cxr-foundation" | "deepforest" | "depth-anything-v2" | "depth-pro" | "derm-foundation" | "describe-anything" | "dia-tts" | "diffree" | "diffusers" | "diffusionkit" | "doctr" | "cartesia_pytorch" | "cartesia_mlx" | "clipscope" | "cosyvoice" | "cotracker" | "edsnlp" | "elm" | "espnet" | "fairseq" | "fastai" | "fasttext" | "flair" | "gemma.cpp" | "geometry-crafter" | "gliner" | "glyph-byt5" | "grok" | "hallo" | "hezar" | "htrflow" | "hunyuan-dit" | "hunyuan3d-2" | "imstoucan" | "index-tts" | "infinite-you" | "keras" | "tf-keras" | "keras-hub" | "kimi-audio" | "k2" | "lightning-ir" | "litert-lm" | "lerobot" | "liveportrait" | "llama-cpp-python" | "mini-omni2" | "mindspore" | "magi-1" | "mamba-ssm" | "mars5-tts" | "matanyone" | "mesh-anything" | "merlin" | "medvae" | "mitie" | "ml-agents" | "mlx" | "mlx-image" | "mlc-llm" | "model2vec" | "moshi" | "nemo" | "open-oasis" | "open_clip" | "open-sora" | "outetts" | "paddlenlp" | "peft" | "perception-encoder" | "phantom-wan" | "pxia" | "pyannote-audio" | "py-feat" | "pythae" | "recurrentgemma" | "relik" | "refiners" | "reverb" | "saelens" | "sam2" | "sample-factory" | "sapiens" | "seedvr" | "sentence-transformers" | "setfit" | "sklearn" | "spacy" | "span-marker" | "speechbrain" | "ssr-speech" | "stable-audio-tools" | "monkeyocr" | "diffusion-single-file" | "seed-story" | "soloaudio" | "stable-baselines3" | "stanza" | "swarmformer" | "f5-tts" | "genmo" | "tencent-song-generation" | "tensorflowtts" | "tabpfn" | "terratorch" | "tic-clip" | "timesfm" | "timm" | "tirex" | "torchgeo" | "transformers" | "transformers.js" | "trellis" | "ultralytics" | "univa" | "uni-3dar" | "unity-sentis" | "sana" | "vfi-mamba" | "voicecraft" | "vui" | "wham" | "whisperkit" | "yolov10" | "zonos" | "3dtopia-xl")[];
|
|
1114
1144
|
//# sourceMappingURL=model-libraries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-libraries.d.ts","sourceRoot":"","sources":["../../src/model-libraries.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,KAAK,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;;;;;;;CAkkCI,CAAC;AAE7C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,2BAA2B,CAAC;AAEvE,eAAO,MAAM,sBAAsB,EAA+C,eAAe,EAAE,CAAC;AAEpG,eAAO,MAAM,8BAA8B,+/DAQ1B,CAAC"}
|
|
@@ -483,6 +483,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
483
483
|
filter: false,
|
|
484
484
|
countDownloads: `path_extension:"litertlm"`,
|
|
485
485
|
},
|
|
486
|
+
lerobot: {
|
|
487
|
+
prettyLabel: "LeRobot",
|
|
488
|
+
repoName: "LeRobot",
|
|
489
|
+
repoUrl: "https://github.com/huggingface/lerobot",
|
|
490
|
+
docsUrl: "https://huggingface.co/docs/lerobot",
|
|
491
|
+
filter: false,
|
|
492
|
+
snippets: snippets.lerobot,
|
|
493
|
+
},
|
|
486
494
|
liveportrait: {
|
|
487
495
|
prettyLabel: "LivePortrait",
|
|
488
496
|
repoName: "LivePortrait",
|
|
@@ -841,6 +849,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
841
849
|
countDownloads: `path:"model.safetensors"`,
|
|
842
850
|
snippets: snippets.stable_audio_tools,
|
|
843
851
|
},
|
|
852
|
+
monkeyocr: {
|
|
853
|
+
prettyLabel: "MonkeyOCR",
|
|
854
|
+
repoName: "monkeyocr",
|
|
855
|
+
repoUrl: "https://github.com/Yuliang-Liu/MonkeyOCR",
|
|
856
|
+
filter: false,
|
|
857
|
+
countDownloads: `path:"Recognition/config.json"`,
|
|
858
|
+
},
|
|
844
859
|
"diffusion-single-file": {
|
|
845
860
|
prettyLabel: "Diffusion Single File",
|
|
846
861
|
repoName: "diffusion-single-file",
|
|
@@ -902,6 +917,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
902
917
|
filter: false,
|
|
903
918
|
countDownloads: `path:"vae_stats.json"`,
|
|
904
919
|
},
|
|
920
|
+
"tencent-song-generation": {
|
|
921
|
+
prettyLabel: "SongGeneration",
|
|
922
|
+
repoName: "SongGeneration",
|
|
923
|
+
repoUrl: "https://github.com/tencent-ailab/songgeneration",
|
|
924
|
+
filter: false,
|
|
925
|
+
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`,
|
|
926
|
+
},
|
|
905
927
|
tensorflowtts: {
|
|
906
928
|
prettyLabel: "TensorFlowTTS",
|
|
907
929
|
repoName: "TensorFlowTTS",
|
|
@@ -990,6 +1012,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
990
1012
|
countDownloads: `path_extension:"pt"`,
|
|
991
1013
|
snippets: snippets.ultralytics,
|
|
992
1014
|
},
|
|
1015
|
+
univa: {
|
|
1016
|
+
prettyLabel: "univa",
|
|
1017
|
+
repoName: "univa",
|
|
1018
|
+
repoUrl: "https://github.com/PKU-YuanGroup/UniWorld-V1",
|
|
1019
|
+
snippets: snippets.univa,
|
|
1020
|
+
filter: true,
|
|
1021
|
+
countDownloads: `path:"config.json"`,
|
|
1022
|
+
},
|
|
993
1023
|
"uni-3dar": {
|
|
994
1024
|
prettyLabel: "Uni-3DAR",
|
|
995
1025
|
repoName: "Uni-3DAR",
|
package/dist/esm/pipelines.d.ts
CHANGED
|
@@ -297,7 +297,6 @@ export declare const PIPELINE_DATA: {
|
|
|
297
297
|
"image-text-to-text": {
|
|
298
298
|
name: string;
|
|
299
299
|
modality: "multimodal";
|
|
300
|
-
hideInDatasets: true;
|
|
301
300
|
};
|
|
302
301
|
"visual-question-answering": {
|
|
303
302
|
name: string;
|
|
@@ -361,11 +360,14 @@ export declare const PIPELINE_DATA: {
|
|
|
361
360
|
"visual-document-retrieval": {
|
|
362
361
|
name: string;
|
|
363
362
|
modality: "multimodal";
|
|
364
|
-
hideInDatasets: true;
|
|
365
363
|
};
|
|
366
364
|
"any-to-any": {
|
|
367
365
|
name: string;
|
|
368
366
|
modality: "multimodal";
|
|
367
|
+
};
|
|
368
|
+
"video-to-video": {
|
|
369
|
+
name: string;
|
|
370
|
+
modality: "cv";
|
|
369
371
|
hideInDatasets: true;
|
|
370
372
|
};
|
|
371
373
|
other: {
|
|
@@ -379,5 +381,5 @@ export type PipelineType = keyof typeof PIPELINE_DATA;
|
|
|
379
381
|
export type WidgetType = PipelineType | "conversational";
|
|
380
382
|
export declare const PIPELINE_TYPES: PipelineType[];
|
|
381
383
|
export declare const SUBTASK_TYPES: string[];
|
|
382
|
-
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any">;
|
|
384
|
+
export declare const PIPELINE_TYPES_SET: Set<"other" | "text-classification" | "token-classification" | "table-question-answering" | "question-answering" | "zero-shot-classification" | "translation" | "summarization" | "feature-extraction" | "text-generation" | "text2text-generation" | "fill-mask" | "sentence-similarity" | "text-to-speech" | "text-to-audio" | "automatic-speech-recognition" | "audio-to-audio" | "audio-classification" | "audio-text-to-text" | "voice-activity-detection" | "depth-estimation" | "image-classification" | "object-detection" | "image-segmentation" | "text-to-image" | "image-to-text" | "image-to-image" | "image-to-video" | "unconditional-image-generation" | "video-classification" | "reinforcement-learning" | "robotics" | "tabular-classification" | "tabular-regression" | "tabular-to-text" | "table-to-text" | "multiple-choice" | "text-ranking" | "text-retrieval" | "time-series-forecasting" | "text-to-video" | "image-text-to-text" | "visual-question-answering" | "document-question-answering" | "zero-shot-image-classification" | "graph-ml" | "mask-generation" | "zero-shot-object-detection" | "text-to-3d" | "image-to-3d" | "image-feature-extraction" | "video-text-to-text" | "keypoint-detection" | "visual-document-retrieval" | "any-to-any" | "video-to-video">;
|
|
383
385
|
//# sourceMappingURL=pipelines.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAcD,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/pipelines.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,yEAA0E,CAAC;AAElG,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnD,eAAO,MAAM,eAAe;;;;;;;;CAQQ,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,WAAW,OAAO;IACvB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAY;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB;AAcD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkkBc,CAAC;AAEzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAEtD,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,gBAAgB,CAAC;AAEzD,eAAO,MAAM,cAAc,EAAiC,YAAY,EAAE,CAAC;AAE3E,eAAO,MAAM,aAAa,UAEN,CAAC;AAErB,eAAO,MAAM,kBAAkB,0uCAA0B,CAAC"}
|
package/dist/esm/pipelines.js
CHANGED
|
@@ -513,7 +513,6 @@ export const PIPELINE_DATA = {
|
|
|
513
513
|
"image-text-to-text": {
|
|
514
514
|
name: "Image-Text-to-Text",
|
|
515
515
|
modality: "multimodal",
|
|
516
|
-
hideInDatasets: true,
|
|
517
516
|
},
|
|
518
517
|
"visual-question-answering": {
|
|
519
518
|
name: "Visual Question Answering",
|
|
@@ -583,11 +582,14 @@ export const PIPELINE_DATA = {
|
|
|
583
582
|
"visual-document-retrieval": {
|
|
584
583
|
name: "Visual Document Retrieval",
|
|
585
584
|
modality: "multimodal",
|
|
586
|
-
hideInDatasets: true,
|
|
587
585
|
},
|
|
588
586
|
"any-to-any": {
|
|
589
587
|
name: "Any-to-Any",
|
|
590
588
|
modality: "multimodal",
|
|
589
|
+
},
|
|
590
|
+
"video-to-video": {
|
|
591
|
+
name: "Video-to-Video",
|
|
592
|
+
modality: "cv",
|
|
591
593
|
hideInDatasets: true,
|
|
592
594
|
},
|
|
593
595
|
other: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tasks/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAgDpD,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,6CAA6C,CAAC;AACjE,YAAY,EACX,mBAAmB,EACnB,0BAA0B,EAC1B,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,0BAA0B,EAC1B,gCAAgC,EAChC,+BAA+B,GAC/B,MAAM,gCAAgC,CAAC;AACxC,mBAAmB,4CAA4C,CAAC;AAChE,mBAAmB,mCAAmC,CAAC;AACvD,mBAAmB,0BAA0B,CAAC;AAC9C,YAAY,EACX,wBAAwB,EACxB,yBAAyB,EACzB,gCAAgC,EAChC,6BAA6B,GAC7B,MAAM,qCAAqC,CAAC;AAC7C,mBAAmB,+BAA+B,CAAC;AACnD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC/G,mBAAmB,mCAAmC,CAAC;AACvD,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MA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,MAAM,CAAC;CACZ,GACD;IACA,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,CAAC;QACb,GAAG,EAAE,MAAM,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACb,CAAC,CAAC;IACH,IAAI,EAAE,kBAAkB,CAAC;CACxB,CAAC;AAEL,MAAM,WAAW,QAAQ;IACxB,MAAM,EAAE,aAAa,EAAE,CAAC;IACxB,OAAO,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,QAAQ;IACxB,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,EAAE,EAAE,YAAY,CAAC;IACjB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,EAAE,IAAI,GAAG,OAAO,GAAG,WAAW,CAAC,CAAC"}
|
package/dist/esm/tasks/index.js
CHANGED
|
@@ -110,6 +110,7 @@ export const TASKS_MODEL_LIBRARIES = {
|
|
|
110
110
|
"image-to-3d": ["diffusers"],
|
|
111
111
|
"any-to-any": ["transformers"],
|
|
112
112
|
"visual-document-retrieval": ["transformers"],
|
|
113
|
+
"video-to-video": ["diffusers"],
|
|
113
114
|
};
|
|
114
115
|
/**
|
|
115
116
|
* Return the whole TaskData object for a certain task.
|
|
@@ -177,6 +178,7 @@ export const TASKS_DATA = {
|
|
|
177
178
|
translation: getData("translation", translation),
|
|
178
179
|
"unconditional-image-generation": getData("unconditional-image-generation", unconditionalImageGeneration),
|
|
179
180
|
"video-text-to-text": getData("video-text-to-text", videoTextToText),
|
|
181
|
+
"video-to-video": getData("video-to-video", placeholder),
|
|
180
182
|
"visual-question-answering": getData("visual-question-answering", visualQuestionAnswering),
|
|
181
183
|
"voice-activity-detection": undefined,
|
|
182
184
|
"zero-shot-classification": getData("zero-shot-classification", zeroShotClassification),
|
package/package.json
CHANGED
|
@@ -190,7 +190,7 @@ const MAPPING_FR: PerLanguageMapping = new Map([
|
|
|
190
190
|
[
|
|
191
191
|
"summarization",
|
|
192
192
|
[
|
|
193
|
-
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute
|
|
193
|
+
`La tour fait 324 mètres (1,063 pieds) de haut, environ la même hauteur qu'un immeuble de 81 étages, et est la plus haute structure de Paris. Sa base est carrée, mesurant 125 mètres (410 pieds) sur chaque côté. Durant sa construction, la tour Eiffel surpassa le Washington Monument pour devenir la plus haute structure construite par l'homme dans le monde, un titre qu'elle conserva pendant 41 ans jusqu'à l'achèvement du Chrysler Building à New-York City en 1930. Ce fut la première structure à atteindre une hauteur de 300 mètres. Avec l'ajout d'une antenne de radiodiffusion au sommet de la tour Eiffel en 1957, celle-ci redevint plus haute que le Chrysler Building de 5,2 mètres (17 pieds). En excluant les transmetteurs, elle est la seconde plus haute structure autoportante de France après le viaduc de Millau.`,
|
|
194
194
|
],
|
|
195
195
|
],
|
|
196
196
|
["text-generation", [`Mon nom est Julien et j'aime`, `Mon nom est Thomas et mon principal`, `Il était une fois`]],
|
|
@@ -762,6 +762,47 @@ print(output)`);
|
|
|
762
762
|
return snippets;
|
|
763
763
|
};
|
|
764
764
|
|
|
765
|
+
export const lerobot = (model: ModelData): string[] => {
|
|
766
|
+
if (model.tags.includes("smolvla")) {
|
|
767
|
+
const smolvlaSnippets = [
|
|
768
|
+
// Installation snippet
|
|
769
|
+
`# See https://github.com/huggingface/lerobot?tab=readme-ov-file#installation for more details
|
|
770
|
+
git clone https://github.com/huggingface/lerobot.git
|
|
771
|
+
cd lerobot
|
|
772
|
+
pip install -e .[smolvla]`,
|
|
773
|
+
// Finetune snippet
|
|
774
|
+
`# Launch finetuning on your dataset
|
|
775
|
+
python lerobot/scripts/train.py \\
|
|
776
|
+
--policy.path=${model.id} \\
|
|
777
|
+
--dataset.repo_id=lerobot/svla_so101_pickplace \\
|
|
778
|
+
--batch_size=64 \\
|
|
779
|
+
--steps=20000 \\
|
|
780
|
+
--output_dir=outputs/train/my_smolvla \\
|
|
781
|
+
--job_name=my_smolvla_training \\
|
|
782
|
+
--policy.device=cuda \\
|
|
783
|
+
--wandb.enable=true`,
|
|
784
|
+
];
|
|
785
|
+
if (model.id !== "lerobot/smolvla_base") {
|
|
786
|
+
// Inference snippet (only if not base model)
|
|
787
|
+
smolvlaSnippets.push(
|
|
788
|
+
`# Run the policy using the record function
|
|
789
|
+
python -m lerobot.record \\
|
|
790
|
+
--robot.type=so101_follower \\
|
|
791
|
+
--robot.port=/dev/ttyACM0 \\ # <- Use your port
|
|
792
|
+
--robot.id=my_blue_follower_arm \\ # <- Use your robot id
|
|
793
|
+
--robot.cameras="{ front: {type: opencv, index_or_path: 8, width: 640, height: 480, fps: 30}}" \\ # <- Use your cameras
|
|
794
|
+
--dataset.single_task="Grasp a lego block and put it in the bin." \\ # <- Use the same task description you used in your dataset recording
|
|
795
|
+
--dataset.repo_id=HF_USER/dataset_name \\ # <- This will be the dataset name on HF Hub
|
|
796
|
+
--dataset.episode_time_s=50 \\
|
|
797
|
+
--dataset.num_episodes=10 \\
|
|
798
|
+
--policy.path=${model.id}`
|
|
799
|
+
);
|
|
800
|
+
}
|
|
801
|
+
return smolvlaSnippets;
|
|
802
|
+
}
|
|
803
|
+
return [];
|
|
804
|
+
};
|
|
805
|
+
|
|
765
806
|
export const tf_keras = (model: ModelData): string[] => [
|
|
766
807
|
`# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
|
|
767
808
|
# See https://github.com/keras-team/tf-keras for more details.
|
|
@@ -1280,6 +1321,17 @@ export const transformers = (model: ModelData): string[] => {
|
|
|
1280
1321
|
pipelineSnippet.push("messages = [", ' {"role": "user", "content": "Who are you?"},', "]");
|
|
1281
1322
|
pipelineSnippet.push("pipe(messages)");
|
|
1282
1323
|
}
|
|
1324
|
+
} else if (model.pipeline_tag === "zero-shot-image-classification") {
|
|
1325
|
+
pipelineSnippet.push(
|
|
1326
|
+
"pipe(",
|
|
1327
|
+
' "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png",',
|
|
1328
|
+
' candidate_labels=["animals", "humans", "landscape"],',
|
|
1329
|
+
")"
|
|
1330
|
+
);
|
|
1331
|
+
} else if (model.pipeline_tag === "image-classification") {
|
|
1332
|
+
pipelineSnippet.push(
|
|
1333
|
+
'pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")'
|
|
1334
|
+
);
|
|
1283
1335
|
}
|
|
1284
1336
|
|
|
1285
1337
|
return [pipelineSnippet.join("\n"), autoSnippet];
|
|
@@ -1482,6 +1534,19 @@ model = SwarmFormerModel.from_pretrained("${model.id}")
|
|
|
1482
1534
|
`,
|
|
1483
1535
|
];
|
|
1484
1536
|
|
|
1537
|
+
export const univa = (model: ModelData): string[] => [
|
|
1538
|
+
`# Follow installation instructions at https://github.com/PKU-YuanGroup/UniWorld-V1
|
|
1539
|
+
|
|
1540
|
+
from univa.models.qwen2p5vl.modeling_univa_qwen2p5vl import UnivaQwen2p5VLForConditionalGeneration
|
|
1541
|
+
model = UnivaQwen2p5VLForConditionalGeneration.from_pretrained(
|
|
1542
|
+
"${model.id}",
|
|
1543
|
+
torch_dtype=torch.bfloat16,
|
|
1544
|
+
attn_implementation="flash_attention_2",
|
|
1545
|
+
).to("cuda")
|
|
1546
|
+
processor = AutoProcessor.from_pretrained("${model.id}")
|
|
1547
|
+
`,
|
|
1548
|
+
];
|
|
1549
|
+
|
|
1485
1550
|
const mlx_unknown = (model: ModelData): string[] => [
|
|
1486
1551
|
`# Download the model from the Hub
|
|
1487
1552
|
pip install huggingface_hub[hf_xet]
|
package/src/model-libraries.ts
CHANGED
|
@@ -527,6 +527,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
527
527
|
filter: false,
|
|
528
528
|
countDownloads: `path_extension:"litertlm"`,
|
|
529
529
|
},
|
|
530
|
+
lerobot: {
|
|
531
|
+
prettyLabel: "LeRobot",
|
|
532
|
+
repoName: "LeRobot",
|
|
533
|
+
repoUrl: "https://github.com/huggingface/lerobot",
|
|
534
|
+
docsUrl: "https://huggingface.co/docs/lerobot",
|
|
535
|
+
filter: false,
|
|
536
|
+
snippets: snippets.lerobot,
|
|
537
|
+
},
|
|
530
538
|
liveportrait: {
|
|
531
539
|
prettyLabel: "LivePortrait",
|
|
532
540
|
repoName: "LivePortrait",
|
|
@@ -885,6 +893,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
885
893
|
countDownloads: `path:"model.safetensors"`,
|
|
886
894
|
snippets: snippets.stable_audio_tools,
|
|
887
895
|
},
|
|
896
|
+
monkeyocr: {
|
|
897
|
+
prettyLabel: "MonkeyOCR",
|
|
898
|
+
repoName: "monkeyocr",
|
|
899
|
+
repoUrl: "https://github.com/Yuliang-Liu/MonkeyOCR",
|
|
900
|
+
filter: false,
|
|
901
|
+
countDownloads: `path:"Recognition/config.json"`,
|
|
902
|
+
},
|
|
888
903
|
"diffusion-single-file": {
|
|
889
904
|
prettyLabel: "Diffusion Single File",
|
|
890
905
|
repoName: "diffusion-single-file",
|
|
@@ -946,6 +961,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
946
961
|
filter: false,
|
|
947
962
|
countDownloads: `path:"vae_stats.json"`,
|
|
948
963
|
},
|
|
964
|
+
"tencent-song-generation": {
|
|
965
|
+
prettyLabel: "SongGeneration",
|
|
966
|
+
repoName: "SongGeneration",
|
|
967
|
+
repoUrl: "https://github.com/tencent-ailab/songgeneration",
|
|
968
|
+
filter: false,
|
|
969
|
+
countDownloads: `path:"ckpt/songgeneration_base/model.pt"`,
|
|
970
|
+
},
|
|
949
971
|
tensorflowtts: {
|
|
950
972
|
prettyLabel: "TensorFlowTTS",
|
|
951
973
|
repoName: "TensorFlowTTS",
|
|
@@ -1034,6 +1056,14 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
|
|
|
1034
1056
|
countDownloads: `path_extension:"pt"`,
|
|
1035
1057
|
snippets: snippets.ultralytics,
|
|
1036
1058
|
},
|
|
1059
|
+
univa: {
|
|
1060
|
+
prettyLabel: "univa",
|
|
1061
|
+
repoName: "univa",
|
|
1062
|
+
repoUrl: "https://github.com/PKU-YuanGroup/UniWorld-V1",
|
|
1063
|
+
snippets: snippets.univa,
|
|
1064
|
+
filter: true,
|
|
1065
|
+
countDownloads: `path:"config.json"`,
|
|
1066
|
+
},
|
|
1037
1067
|
"uni-3dar": {
|
|
1038
1068
|
prettyLabel: "Uni-3DAR",
|
|
1039
1069
|
repoName: "Uni-3DAR",
|
package/src/pipelines.ts
CHANGED
|
@@ -558,7 +558,6 @@ export const PIPELINE_DATA = {
|
|
|
558
558
|
"image-text-to-text": {
|
|
559
559
|
name: "Image-Text-to-Text",
|
|
560
560
|
modality: "multimodal",
|
|
561
|
-
hideInDatasets: true,
|
|
562
561
|
},
|
|
563
562
|
"visual-question-answering": {
|
|
564
563
|
name: "Visual Question Answering",
|
|
@@ -628,11 +627,14 @@ export const PIPELINE_DATA = {
|
|
|
628
627
|
"visual-document-retrieval": {
|
|
629
628
|
name: "Visual Document Retrieval",
|
|
630
629
|
modality: "multimodal",
|
|
631
|
-
hideInDatasets: true,
|
|
632
630
|
},
|
|
633
631
|
"any-to-any": {
|
|
634
632
|
name: "Any-to-Any",
|
|
635
633
|
modality: "multimodal",
|
|
634
|
+
},
|
|
635
|
+
"video-to-video": {
|
|
636
|
+
name: "Video-to-Video",
|
|
637
|
+
modality: "cv",
|
|
636
638
|
hideInDatasets: true,
|
|
637
639
|
},
|
|
638
640
|
other: {
|
package/src/tasks/index.ts
CHANGED
|
@@ -113,7 +113,6 @@ export type {
|
|
|
113
113
|
} from "./zero-shot-object-detection/inference.js";
|
|
114
114
|
|
|
115
115
|
import type { ModelLibraryKey } from "../model-libraries.js";
|
|
116
|
-
|
|
117
116
|
/**
|
|
118
117
|
* Model libraries compatible with each ML task
|
|
119
118
|
*/
|
|
@@ -181,6 +180,7 @@ export const TASKS_MODEL_LIBRARIES: Record<PipelineType, ModelLibraryKey[]> = {
|
|
|
181
180
|
"image-to-3d": ["diffusers"],
|
|
182
181
|
"any-to-any": ["transformers"],
|
|
183
182
|
"visual-document-retrieval": ["transformers"],
|
|
183
|
+
"video-to-video": ["diffusers"],
|
|
184
184
|
};
|
|
185
185
|
|
|
186
186
|
/**
|
|
@@ -250,6 +250,7 @@ export const TASKS_DATA: Record<PipelineType, TaskData | undefined> = {
|
|
|
250
250
|
translation: getData("translation", translation),
|
|
251
251
|
"unconditional-image-generation": getData("unconditional-image-generation", unconditionalImageGeneration),
|
|
252
252
|
"video-text-to-text": getData("video-text-to-text", videoTextToText),
|
|
253
|
+
"video-to-video": getData("video-to-video", placeholder),
|
|
253
254
|
"visual-question-answering": getData("visual-question-answering", visualQuestionAnswering),
|
|
254
255
|
"voice-activity-detection": undefined,
|
|
255
256
|
"zero-shot-classification": getData("zero-shot-classification", zeroShotClassification),
|