@huggingface/tasks 0.13.1 → 0.13.2
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/dataset-libraries.js +65 -0
- package/dist/{src → commonjs}/default-widget-inputs.d.ts +2 -2
- package/dist/commonjs/default-widget-inputs.d.ts.map +1 -0
- package/dist/commonjs/default-widget-inputs.js +698 -0
- package/dist/commonjs/gguf.js +43 -0
- package/dist/commonjs/hardware.js +461 -0
- package/dist/{src → commonjs}/index.d.ts +19 -19
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +57 -0
- package/dist/{src → commonjs}/library-to-tasks.d.ts +2 -2
- package/dist/commonjs/library-to-tasks.d.ts.map +1 -0
- package/dist/commonjs/library-to-tasks.js +76 -0
- package/dist/{src → commonjs}/local-apps.d.ts +2 -2
- package/dist/commonjs/local-apps.d.ts.map +1 -0
- package/dist/commonjs/local-apps.js +334 -0
- package/dist/{src → commonjs}/model-data.d.ts +3 -3
- package/dist/commonjs/model-data.d.ts.map +1 -0
- package/dist/commonjs/model-data.js +2 -0
- package/dist/commonjs/model-libraries-downloads.js +18 -0
- package/dist/{src → commonjs}/model-libraries-snippets.d.ts +1 -1
- package/dist/commonjs/model-libraries-snippets.d.ts.map +1 -0
- package/dist/commonjs/model-libraries-snippets.js +1093 -0
- package/dist/{src → commonjs}/model-libraries.d.ts +3 -3
- package/dist/{src → commonjs}/model-libraries.d.ts.map +1 -1
- package/dist/commonjs/model-libraries.js +793 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/{src → commonjs}/pipelines.d.ts +1 -1
- package/dist/{src → commonjs}/pipelines.d.ts.map +1 -1
- package/dist/commonjs/pipelines.js +645 -0
- package/dist/{src → commonjs}/snippets/common.d.ts +1 -1
- package/dist/commonjs/snippets/common.d.ts.map +1 -0
- package/dist/commonjs/snippets/common.js +23 -0
- package/dist/commonjs/snippets/curl.js +100 -0
- package/dist/commonjs/snippets/curl.spec.js +89 -0
- package/dist/commonjs/snippets/index.d.ts +7 -0
- package/dist/commonjs/snippets/index.d.ts.map +1 -0
- package/dist/commonjs/snippets/index.js +38 -0
- package/dist/commonjs/snippets/inputs.d.ts +4 -0
- package/dist/commonjs/snippets/inputs.d.ts.map +1 -0
- package/dist/commonjs/snippets/inputs.js +127 -0
- package/dist/commonjs/snippets/js.js +278 -0
- package/dist/commonjs/snippets/js.spec.js +141 -0
- package/dist/{src → commonjs}/snippets/python.d.ts +1 -1
- package/dist/{src → commonjs}/snippets/python.d.ts.map +1 -1
- package/dist/commonjs/snippets/python.js +293 -0
- package/dist/commonjs/snippets/python.spec.js +135 -0
- package/dist/{src → commonjs}/snippets/types.d.ts +1 -1
- package/dist/commonjs/snippets/types.d.ts.map +1 -0
- package/dist/commonjs/snippets/types.js +2 -0
- package/dist/commonjs/tasks/audio-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/audio-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/audio-classification/data.js +79 -0
- package/dist/commonjs/tasks/audio-classification/inference.js +2 -0
- package/dist/commonjs/tasks/audio-to-audio/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/audio-to-audio/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/audio-to-audio/data.js +66 -0
- package/dist/commonjs/tasks/automatic-speech-recognition/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/automatic-speech-recognition/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/automatic-speech-recognition/data.js +80 -0
- package/dist/commonjs/tasks/automatic-speech-recognition/inference.js +7 -0
- package/dist/commonjs/tasks/chat-completion/inference.js +7 -0
- package/dist/commonjs/tasks/depth-estimation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/depth-estimation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/depth-estimation/data.js +69 -0
- package/dist/commonjs/tasks/depth-estimation/inference.js +7 -0
- package/dist/commonjs/tasks/document-question-answering/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/document-question-answering/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/document-question-answering/data.js +80 -0
- package/dist/commonjs/tasks/document-question-answering/inference.js +2 -0
- package/dist/commonjs/tasks/feature-extraction/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/feature-extraction/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/feature-extraction/data.js +55 -0
- package/dist/commonjs/tasks/feature-extraction/inference.js +7 -0
- package/dist/commonjs/tasks/fill-mask/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/fill-mask/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/fill-mask/data.js +75 -0
- package/dist/commonjs/tasks/fill-mask/inference.js +2 -0
- package/dist/commonjs/tasks/image-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-classification/data.js +86 -0
- package/dist/commonjs/tasks/image-classification/inference.js +2 -0
- package/dist/commonjs/tasks/image-feature-extraction/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-feature-extraction/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-feature-extraction/data.js +57 -0
- package/dist/commonjs/tasks/image-segmentation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-segmentation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-segmentation/data.js +95 -0
- package/dist/commonjs/tasks/image-segmentation/inference.js +2 -0
- package/dist/commonjs/tasks/image-text-to-text/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-text-to-text/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-text-to-text/data.js +99 -0
- package/dist/commonjs/tasks/image-to-3d/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-to-3d/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-to-3d/data.js +74 -0
- package/dist/commonjs/tasks/image-to-image/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-to-image/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-to-image/data.js +95 -0
- package/dist/commonjs/tasks/image-to-image/inference.js +7 -0
- package/dist/commonjs/tasks/image-to-text/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/image-to-text/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/image-to-text/data.js +80 -0
- package/dist/commonjs/tasks/image-to-text/inference.js +7 -0
- package/dist/{src → commonjs}/tasks/index.d.ts +29 -29
- package/dist/commonjs/tasks/index.d.ts.map +1 -0
- package/dist/commonjs/tasks/index.js +183 -0
- package/dist/commonjs/tasks/keypoint-detection/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/keypoint-detection/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/keypoint-detection/data.js +49 -0
- package/dist/commonjs/tasks/mask-generation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/mask-generation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/mask-generation/data.js +52 -0
- package/dist/commonjs/tasks/object-detection/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/object-detection/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/object-detection/data.js +82 -0
- package/dist/commonjs/tasks/object-detection/inference.js +2 -0
- package/dist/commonjs/tasks/placeholder/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/placeholder/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/placeholder/data.js +20 -0
- package/dist/commonjs/tasks/question-answering/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/question-answering/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/question-answering/data.js +71 -0
- package/dist/commonjs/tasks/question-answering/inference.js +2 -0
- package/dist/commonjs/tasks/reinforcement-learning/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/reinforcement-learning/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/reinforcement-learning/data.js +69 -0
- package/dist/commonjs/tasks/sentence-similarity/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/sentence-similarity/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/sentence-similarity/data.js +95 -0
- package/dist/commonjs/tasks/sentence-similarity/inference.js +7 -0
- package/dist/commonjs/tasks/summarization/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/summarization/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/summarization/data.js +69 -0
- package/dist/commonjs/tasks/summarization/inference.js +7 -0
- package/dist/commonjs/tasks/table-question-answering/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/table-question-answering/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/table-question-answering/data.js +54 -0
- package/dist/commonjs/tasks/table-question-answering/inference.js +2 -0
- package/dist/commonjs/tasks/tabular-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/tabular-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/tabular-classification/data.js +67 -0
- package/dist/commonjs/tasks/tabular-regression/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/tabular-regression/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/tabular-regression/data.js +55 -0
- package/dist/commonjs/tasks/text-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-classification/data.js +100 -0
- package/dist/commonjs/tasks/text-classification/inference.js +2 -0
- package/dist/commonjs/tasks/text-generation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-generation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-generation/data.js +108 -0
- package/dist/commonjs/tasks/text-generation/inference.js +7 -0
- package/dist/commonjs/tasks/text-to-3d/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-to-3d/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-to-3d/data.js +55 -0
- package/dist/commonjs/tasks/text-to-audio/inference.js +7 -0
- package/dist/commonjs/tasks/text-to-image/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-to-image/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-to-image/data.js +95 -0
- package/dist/commonjs/tasks/text-to-image/inference.js +7 -0
- package/dist/commonjs/tasks/text-to-speech/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-to-speech/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-to-speech/data.js +76 -0
- package/dist/commonjs/tasks/text-to-speech/inference.js +7 -0
- package/dist/commonjs/tasks/text-to-video/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/text-to-video/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/text-to-video/data.js +95 -0
- package/dist/commonjs/tasks/text2text-generation/inference.js +7 -0
- package/dist/commonjs/tasks/token-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/token-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/token-classification/data.js +87 -0
- package/dist/commonjs/tasks/token-classification/inference.js +2 -0
- package/dist/commonjs/tasks/translation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/translation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/translation/data.js +65 -0
- package/dist/commonjs/tasks/translation/inference.js +7 -0
- package/dist/commonjs/tasks/unconditional-image-generation/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/unconditional-image-generation/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/unconditional-image-generation/data.js +65 -0
- package/dist/commonjs/tasks/video-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/video-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/video-classification/data.js +82 -0
- package/dist/commonjs/tasks/video-classification/inference.js +2 -0
- package/dist/commonjs/tasks/video-text-to-text/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/video-text-to-text/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/video-text-to-text/data.js +63 -0
- package/dist/commonjs/tasks/visual-question-answering/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/visual-question-answering/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/visual-question-answering/data.js +93 -0
- package/dist/commonjs/tasks/visual-question-answering/inference.js +2 -0
- package/dist/commonjs/tasks/zero-shot-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/zero-shot-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/zero-shot-classification/data.js +66 -0
- package/dist/commonjs/tasks/zero-shot-classification/inference.js +2 -0
- package/dist/commonjs/tasks/zero-shot-image-classification/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/zero-shot-image-classification/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/zero-shot-image-classification/data.js +81 -0
- package/dist/commonjs/tasks/zero-shot-image-classification/inference.js +2 -0
- package/dist/commonjs/tasks/zero-shot-object-detection/data.d.ts +4 -0
- package/dist/{src → commonjs}/tasks/zero-shot-object-detection/data.d.ts.map +1 -1
- package/dist/commonjs/tasks/zero-shot-object-detection/data.js +62 -0
- package/dist/commonjs/tasks/zero-shot-object-detection/inference.js +2 -0
- package/dist/commonjs/tokenizer-data.js +13 -0
- package/dist/{src → commonjs}/widget-example.d.ts +1 -1
- package/dist/commonjs/widget-example.d.ts.map +1 -0
- package/dist/commonjs/widget-example.js +5 -0
- package/dist/esm/dataset-libraries.d.ts +87 -0
- package/dist/esm/dataset-libraries.d.ts.map +1 -0
- package/dist/esm/dataset-libraries.js +62 -0
- package/dist/esm/default-widget-inputs.d.ts +6 -0
- package/dist/esm/default-widget-inputs.d.ts.map +1 -0
- package/dist/esm/default-widget-inputs.js +695 -0
- package/dist/esm/gguf.d.ts +35 -0
- package/dist/esm/gguf.d.ts.map +1 -0
- package/dist/esm/gguf.js +39 -0
- package/dist/esm/hardware.d.ts +478 -0
- package/dist/esm/hardware.d.ts.map +1 -0
- package/dist/esm/hardware.js +458 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +12 -0
- package/dist/esm/library-to-tasks.d.ts +11 -0
- package/dist/esm/library-to-tasks.d.ts.map +1 -0
- package/dist/esm/library-to-tasks.js +73 -0
- package/dist/esm/local-apps.d.ts +195 -0
- package/dist/esm/local-apps.d.ts.map +1 -0
- package/dist/esm/local-apps.js +331 -0
- package/dist/esm/model-data.d.ts +146 -0
- package/dist/esm/model-data.d.ts.map +1 -0
- package/dist/esm/model-data.js +1 -0
- package/dist/esm/model-libraries-downloads.d.ts +18 -0
- package/dist/esm/model-libraries-downloads.d.ts.map +1 -0
- package/dist/esm/model-libraries-downloads.js +17 -0
- package/dist/esm/model-libraries-snippets.d.ts +72 -0
- package/dist/esm/model-libraries-snippets.d.ts.map +1 -0
- package/dist/esm/model-libraries-snippets.js +1019 -0
- package/dist/esm/model-libraries.d.ts +804 -0
- package/dist/esm/model-libraries.d.ts.map +1 -0
- package/dist/esm/model-libraries.js +767 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pipelines.d.ts +425 -0
- package/dist/esm/pipelines.d.ts.map +1 -0
- package/dist/esm/pipelines.js +642 -0
- package/dist/esm/snippets/common.d.ts +14 -0
- package/dist/esm/snippets/common.d.ts.map +1 -0
- package/dist/esm/snippets/common.js +19 -0
- package/dist/esm/snippets/curl.d.ts +17 -0
- package/dist/esm/snippets/curl.d.ts.map +1 -0
- package/dist/esm/snippets/curl.js +91 -0
- package/dist/esm/snippets/curl.spec.d.ts +2 -0
- package/dist/esm/snippets/curl.spec.d.ts.map +1 -0
- package/dist/esm/snippets/curl.spec.js +87 -0
- package/dist/esm/snippets/index.d.ts +7 -0
- package/dist/esm/snippets/index.d.ts.map +1 -0
- package/dist/esm/snippets/index.js +6 -0
- package/dist/esm/snippets/inputs.d.ts +4 -0
- package/dist/esm/snippets/inputs.d.ts.map +1 -0
- package/dist/esm/snippets/inputs.js +124 -0
- package/dist/esm/snippets/js.d.ts +19 -0
- package/dist/esm/snippets/js.d.ts.map +1 -0
- package/dist/esm/snippets/js.js +267 -0
- package/dist/esm/snippets/js.spec.d.ts +2 -0
- package/dist/esm/snippets/js.spec.d.ts.map +1 -0
- package/dist/esm/snippets/js.spec.js +139 -0
- package/dist/esm/snippets/python.d.ts +22 -0
- package/dist/esm/snippets/python.d.ts.map +1 -0
- package/dist/esm/snippets/python.js +279 -0
- package/dist/esm/snippets/python.spec.d.ts +2 -0
- package/dist/esm/snippets/python.spec.d.ts.map +1 -0
- package/dist/esm/snippets/python.spec.js +133 -0
- package/dist/esm/snippets/types.d.ts +12 -0
- package/dist/esm/snippets/types.d.ts.map +1 -0
- package/dist/esm/snippets/types.js +1 -0
- package/dist/esm/tasks/audio-classification/data.d.ts +4 -0
- package/dist/esm/tasks/audio-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/audio-classification/data.js +77 -0
- package/dist/esm/tasks/audio-classification/inference.d.ts +53 -0
- package/dist/esm/tasks/audio-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/audio-classification/inference.js +1 -0
- package/dist/esm/tasks/audio-to-audio/data.d.ts +4 -0
- package/dist/esm/tasks/audio-to-audio/data.d.ts.map +1 -0
- package/dist/esm/tasks/audio-to-audio/data.js +64 -0
- package/dist/esm/tasks/automatic-speech-recognition/data.d.ts +4 -0
- package/dist/esm/tasks/automatic-speech-recognition/data.d.ts.map +1 -0
- package/dist/esm/tasks/automatic-speech-recognition/data.js +78 -0
- package/dist/esm/tasks/automatic-speech-recognition/inference.d.ts +155 -0
- package/dist/esm/tasks/automatic-speech-recognition/inference.d.ts.map +1 -0
- package/dist/esm/tasks/automatic-speech-recognition/inference.js +6 -0
- package/dist/esm/tasks/chat-completion/inference.d.ts +291 -0
- package/dist/esm/tasks/chat-completion/inference.d.ts.map +1 -0
- package/dist/esm/tasks/chat-completion/inference.js +6 -0
- package/dist/esm/tasks/depth-estimation/data.d.ts +4 -0
- package/dist/esm/tasks/depth-estimation/data.d.ts.map +1 -0
- package/dist/esm/tasks/depth-estimation/data.js +67 -0
- package/dist/esm/tasks/depth-estimation/inference.d.ts +36 -0
- package/dist/esm/tasks/depth-estimation/inference.d.ts.map +1 -0
- package/dist/esm/tasks/depth-estimation/inference.js +6 -0
- package/dist/esm/tasks/document-question-answering/data.d.ts +4 -0
- package/dist/esm/tasks/document-question-answering/data.d.ts.map +1 -0
- package/dist/esm/tasks/document-question-answering/data.js +78 -0
- package/dist/esm/tasks/document-question-answering/inference.d.ts +111 -0
- package/dist/esm/tasks/document-question-answering/inference.d.ts.map +1 -0
- package/dist/esm/tasks/document-question-answering/inference.js +1 -0
- package/dist/esm/tasks/feature-extraction/data.d.ts +4 -0
- package/dist/esm/tasks/feature-extraction/data.d.ts.map +1 -0
- package/dist/esm/tasks/feature-extraction/data.js +53 -0
- package/dist/esm/tasks/feature-extraction/inference.d.ts +38 -0
- package/dist/esm/tasks/feature-extraction/inference.d.ts.map +1 -0
- package/dist/esm/tasks/feature-extraction/inference.js +6 -0
- package/dist/esm/tasks/fill-mask/data.d.ts +4 -0
- package/dist/esm/tasks/fill-mask/data.d.ts.map +1 -0
- package/dist/esm/tasks/fill-mask/data.js +73 -0
- package/dist/esm/tasks/fill-mask/inference.d.ts +63 -0
- package/dist/esm/tasks/fill-mask/inference.d.ts.map +1 -0
- package/dist/esm/tasks/fill-mask/inference.js +1 -0
- package/dist/esm/tasks/image-classification/data.d.ts +4 -0
- package/dist/esm/tasks/image-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-classification/data.js +84 -0
- package/dist/esm/tasks/image-classification/inference.d.ts +53 -0
- package/dist/esm/tasks/image-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-classification/inference.js +1 -0
- package/dist/esm/tasks/image-feature-extraction/data.d.ts +4 -0
- package/dist/esm/tasks/image-feature-extraction/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-feature-extraction/data.js +55 -0
- package/dist/esm/tasks/image-segmentation/data.d.ts +4 -0
- package/dist/esm/tasks/image-segmentation/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-segmentation/data.js +93 -0
- package/dist/esm/tasks/image-segmentation/inference.d.ts +70 -0
- package/dist/esm/tasks/image-segmentation/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-segmentation/inference.js +1 -0
- package/dist/esm/tasks/image-text-to-text/data.d.ts +4 -0
- package/dist/esm/tasks/image-text-to-text/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-text-to-text/data.js +97 -0
- package/dist/esm/tasks/image-to-3d/data.d.ts +4 -0
- package/dist/esm/tasks/image-to-3d/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-to-3d/data.js +72 -0
- package/dist/esm/tasks/image-to-image/data.d.ts +4 -0
- package/dist/esm/tasks/image-to-image/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-to-image/data.js +93 -0
- package/dist/esm/tasks/image-to-image/inference.d.ts +65 -0
- package/dist/esm/tasks/image-to-image/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-to-image/inference.js +6 -0
- package/dist/esm/tasks/image-to-text/data.d.ts +4 -0
- package/dist/esm/tasks/image-to-text/data.d.ts.map +1 -0
- package/dist/esm/tasks/image-to-text/data.js +78 -0
- package/dist/esm/tasks/image-to-text/inference.d.ts +139 -0
- package/dist/esm/tasks/image-to-text/inference.d.ts.map +1 -0
- package/dist/esm/tasks/image-to-text/inference.js +6 -0
- package/dist/esm/tasks/index.d.ts +87 -0
- package/dist/esm/tasks/index.d.ts.map +1 -0
- package/dist/esm/tasks/index.js +177 -0
- package/dist/esm/tasks/keypoint-detection/data.d.ts +4 -0
- package/dist/esm/tasks/keypoint-detection/data.d.ts.map +1 -0
- package/dist/esm/tasks/keypoint-detection/data.js +47 -0
- package/dist/esm/tasks/mask-generation/data.d.ts +4 -0
- package/dist/esm/tasks/mask-generation/data.d.ts.map +1 -0
- package/dist/esm/tasks/mask-generation/data.js +50 -0
- package/dist/esm/tasks/object-detection/data.d.ts +4 -0
- package/dist/esm/tasks/object-detection/data.d.ts.map +1 -0
- package/dist/esm/tasks/object-detection/data.js +80 -0
- package/dist/esm/tasks/object-detection/inference.d.ts +76 -0
- package/dist/esm/tasks/object-detection/inference.d.ts.map +1 -0
- package/dist/esm/tasks/object-detection/inference.js +1 -0
- package/dist/esm/tasks/placeholder/data.d.ts +4 -0
- package/dist/esm/tasks/placeholder/data.d.ts.map +1 -0
- package/dist/esm/tasks/placeholder/data.js +18 -0
- package/dist/esm/tasks/question-answering/data.d.ts +4 -0
- package/dist/esm/tasks/question-answering/data.d.ts.map +1 -0
- package/dist/esm/tasks/question-answering/data.js +69 -0
- package/dist/esm/tasks/question-answering/inference.d.ts +100 -0
- package/dist/esm/tasks/question-answering/inference.d.ts.map +1 -0
- package/dist/esm/tasks/question-answering/inference.js +1 -0
- package/dist/esm/tasks/reinforcement-learning/data.d.ts +4 -0
- package/dist/esm/tasks/reinforcement-learning/data.d.ts.map +1 -0
- package/dist/esm/tasks/reinforcement-learning/data.js +67 -0
- package/dist/esm/tasks/sentence-similarity/data.d.ts +4 -0
- package/dist/esm/tasks/sentence-similarity/data.d.ts.map +1 -0
- package/dist/esm/tasks/sentence-similarity/data.js +93 -0
- package/dist/esm/tasks/sentence-similarity/inference.d.ts +32 -0
- package/dist/esm/tasks/sentence-similarity/inference.d.ts.map +1 -0
- package/dist/esm/tasks/sentence-similarity/inference.js +6 -0
- package/dist/esm/tasks/summarization/data.d.ts +4 -0
- package/dist/esm/tasks/summarization/data.d.ts.map +1 -0
- package/dist/esm/tasks/summarization/data.js +67 -0
- package/dist/esm/tasks/summarization/inference.d.ts +56 -0
- package/dist/esm/tasks/summarization/inference.d.ts.map +1 -0
- package/dist/esm/tasks/summarization/inference.js +6 -0
- package/dist/esm/tasks/table-question-answering/data.d.ts +4 -0
- package/dist/esm/tasks/table-question-answering/data.d.ts.map +1 -0
- package/dist/esm/tasks/table-question-answering/data.js +52 -0
- package/dist/esm/tasks/table-question-answering/inference.d.ts +62 -0
- package/dist/esm/tasks/table-question-answering/inference.d.ts.map +1 -0
- package/dist/esm/tasks/table-question-answering/inference.js +1 -0
- package/dist/esm/tasks/tabular-classification/data.d.ts +4 -0
- package/dist/esm/tasks/tabular-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/tabular-classification/data.js +65 -0
- package/dist/esm/tasks/tabular-regression/data.d.ts +4 -0
- package/dist/esm/tasks/tabular-regression/data.d.ts.map +1 -0
- package/dist/esm/tasks/tabular-regression/data.js +53 -0
- package/dist/esm/tasks/text-classification/data.d.ts +4 -0
- package/dist/esm/tasks/text-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-classification/data.js +98 -0
- package/dist/esm/tasks/text-classification/inference.d.ts +52 -0
- package/dist/esm/tasks/text-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text-classification/inference.js +1 -0
- package/dist/esm/tasks/text-generation/data.d.ts +4 -0
- package/dist/esm/tasks/text-generation/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-generation/data.js +106 -0
- package/dist/esm/tasks/text-generation/inference.d.ts +188 -0
- package/dist/esm/tasks/text-generation/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text-generation/inference.js +6 -0
- package/dist/esm/tasks/text-to-3d/data.d.ts +4 -0
- package/dist/esm/tasks/text-to-3d/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-3d/data.js +53 -0
- package/dist/esm/tasks/text-to-audio/inference.d.ts +139 -0
- package/dist/esm/tasks/text-to-audio/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-audio/inference.js +6 -0
- package/dist/esm/tasks/text-to-image/data.d.ts +4 -0
- package/dist/esm/tasks/text-to-image/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-image/data.js +93 -0
- package/dist/esm/tasks/text-to-image/inference.d.ts +72 -0
- package/dist/esm/tasks/text-to-image/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-image/inference.js +6 -0
- package/dist/esm/tasks/text-to-speech/data.d.ts +4 -0
- package/dist/esm/tasks/text-to-speech/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-speech/data.js +74 -0
- package/dist/esm/tasks/text-to-speech/inference.d.ts +141 -0
- package/dist/esm/tasks/text-to-speech/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-speech/inference.js +6 -0
- package/dist/esm/tasks/text-to-video/data.d.ts +4 -0
- package/dist/esm/tasks/text-to-video/data.d.ts.map +1 -0
- package/dist/esm/tasks/text-to-video/data.js +93 -0
- package/dist/esm/tasks/text2text-generation/inference.d.ts +54 -0
- package/dist/esm/tasks/text2text-generation/inference.d.ts.map +1 -0
- package/dist/esm/tasks/text2text-generation/inference.js +6 -0
- package/dist/esm/tasks/token-classification/data.d.ts +4 -0
- package/dist/esm/tasks/token-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/token-classification/data.js +85 -0
- package/dist/esm/tasks/token-classification/inference.d.ts +86 -0
- package/dist/esm/tasks/token-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/token-classification/inference.js +1 -0
- package/dist/esm/tasks/translation/data.d.ts +4 -0
- package/dist/esm/tasks/translation/data.d.ts.map +1 -0
- package/dist/esm/tasks/translation/data.js +63 -0
- package/dist/esm/tasks/translation/inference.d.ts +66 -0
- package/dist/esm/tasks/translation/inference.d.ts.map +1 -0
- package/dist/esm/tasks/translation/inference.js +6 -0
- package/dist/esm/tasks/unconditional-image-generation/data.d.ts +4 -0
- package/dist/esm/tasks/unconditional-image-generation/data.d.ts.map +1 -0
- package/dist/esm/tasks/unconditional-image-generation/data.js +63 -0
- package/dist/esm/tasks/video-classification/data.d.ts +4 -0
- package/dist/esm/tasks/video-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/video-classification/data.js +80 -0
- package/dist/esm/tasks/video-classification/inference.d.ts +60 -0
- package/dist/esm/tasks/video-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/video-classification/inference.js +1 -0
- package/dist/esm/tasks/video-text-to-text/data.d.ts +4 -0
- package/dist/esm/tasks/video-text-to-text/data.d.ts.map +1 -0
- package/dist/esm/tasks/video-text-to-text/data.js +61 -0
- package/dist/esm/tasks/visual-question-answering/data.d.ts +4 -0
- package/dist/esm/tasks/visual-question-answering/data.d.ts.map +1 -0
- package/dist/esm/tasks/visual-question-answering/data.js +91 -0
- package/dist/esm/tasks/visual-question-answering/inference.d.ts +63 -0
- package/dist/esm/tasks/visual-question-answering/inference.d.ts.map +1 -0
- package/dist/esm/tasks/visual-question-answering/inference.js +1 -0
- package/dist/esm/tasks/zero-shot-classification/data.d.ts +4 -0
- package/dist/esm/tasks/zero-shot-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-classification/data.js +64 -0
- package/dist/esm/tasks/zero-shot-classification/inference.d.ts +68 -0
- package/dist/esm/tasks/zero-shot-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-classification/inference.js +1 -0
- package/dist/esm/tasks/zero-shot-image-classification/data.d.ts +4 -0
- package/dist/esm/tasks/zero-shot-image-classification/data.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-image-classification/data.js +79 -0
- package/dist/esm/tasks/zero-shot-image-classification/inference.d.ts +62 -0
- package/dist/esm/tasks/zero-shot-image-classification/inference.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-image-classification/inference.js +1 -0
- package/dist/esm/tasks/zero-shot-object-detection/data.d.ts +4 -0
- package/dist/esm/tasks/zero-shot-object-detection/data.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-object-detection/data.js +60 -0
- package/dist/esm/tasks/zero-shot-object-detection/inference.d.ts +67 -0
- package/dist/esm/tasks/zero-shot-object-detection/inference.d.ts.map +1 -0
- package/dist/esm/tasks/zero-shot-object-detection/inference.js +1 -0
- package/dist/esm/tokenizer-data.d.ts +26 -0
- package/dist/esm/tokenizer-data.d.ts.map +1 -0
- package/dist/esm/tokenizer-data.js +10 -0
- package/dist/esm/widget-example.d.ts +83 -0
- package/dist/esm/widget-example.d.ts.map +1 -0
- package/dist/esm/widget-example.js +4 -0
- package/package.json +24 -20
- package/src/default-widget-inputs.ts +2 -2
- package/src/index.ts +23 -19
- package/src/library-to-tasks.ts +2 -2
- package/src/local-apps.ts +3 -3
- package/src/model-data.ts +3 -3
- package/src/model-libraries-snippets.ts +3 -3
- package/src/model-libraries.ts +3 -3
- package/src/snippets/common.ts +1 -1
- package/src/snippets/curl.spec.ts +2 -2
- package/src/snippets/index.ts +5 -4
- package/src/snippets/inputs.ts +3 -3
- package/src/snippets/js.spec.ts +10 -10
- package/src/snippets/js.ts +8 -8
- package/src/snippets/python.spec.ts +39 -2
- package/src/snippets/python.ts +22 -5
- package/src/snippets/types.ts +1 -1
- package/src/tasks/audio-classification/data.ts +1 -1
- package/src/tasks/audio-to-audio/data.ts +1 -1
- package/src/tasks/automatic-speech-recognition/data.ts +1 -1
- package/src/tasks/depth-estimation/data.ts +1 -1
- package/src/tasks/document-question-answering/data.ts +1 -1
- package/src/tasks/feature-extraction/data.ts +1 -1
- package/src/tasks/fill-mask/data.ts +1 -1
- package/src/tasks/image-classification/data.ts +1 -1
- package/src/tasks/image-feature-extraction/data.ts +1 -1
- package/src/tasks/image-segmentation/data.ts +1 -1
- package/src/tasks/image-text-to-text/data.ts +1 -1
- package/src/tasks/image-to-3d/data.ts +1 -1
- package/src/tasks/image-to-image/data.ts +1 -1
- package/src/tasks/image-to-text/data.ts +1 -1
- package/src/tasks/index.ts +70 -70
- package/src/tasks/keypoint-detection/data.ts +1 -1
- package/src/tasks/mask-generation/data.ts +1 -1
- package/src/tasks/object-detection/data.ts +1 -1
- package/src/tasks/placeholder/data.ts +1 -1
- package/src/tasks/question-answering/data.ts +1 -1
- package/src/tasks/reinforcement-learning/data.ts +1 -1
- package/src/tasks/sentence-similarity/data.ts +1 -1
- package/src/tasks/summarization/data.ts +1 -1
- package/src/tasks/table-question-answering/data.ts +1 -1
- package/src/tasks/tabular-classification/data.ts +1 -1
- package/src/tasks/tabular-regression/data.ts +1 -1
- package/src/tasks/text-classification/data.ts +1 -1
- package/src/tasks/text-generation/data.ts +1 -1
- package/src/tasks/text-to-3d/data.ts +1 -1
- package/src/tasks/text-to-image/data.ts +1 -1
- package/src/tasks/text-to-speech/data.ts +1 -1
- package/src/tasks/text-to-video/data.ts +1 -1
- package/src/tasks/token-classification/data.ts +1 -1
- package/src/tasks/translation/data.ts +1 -1
- package/src/tasks/unconditional-image-generation/data.ts +1 -1
- package/src/tasks/video-classification/data.ts +1 -1
- package/src/tasks/video-text-to-text/data.ts +1 -1
- package/src/tasks/visual-question-answering/data.ts +1 -1
- package/src/tasks/zero-shot-classification/data.ts +1 -1
- package/src/tasks/zero-shot-image-classification/data.ts +1 -1
- package/src/tasks/zero-shot-object-detection/data.ts +1 -1
- package/src/widget-example.ts +1 -1
- package/tsconfig.json +3 -3
- package/dist/index.cjs +0 -7976
- package/dist/index.js +0 -7933
- package/dist/scripts/inference-codegen.d.ts +0 -2
- package/dist/scripts/inference-codegen.d.ts.map +0 -1
- package/dist/scripts/inference-tei-import.d.ts +0 -2
- package/dist/scripts/inference-tei-import.d.ts.map +0 -1
- package/dist/scripts/inference-tgi-import.d.ts +0 -2
- package/dist/scripts/inference-tgi-import.d.ts.map +0 -1
- package/dist/src/default-widget-inputs.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/library-to-tasks.d.ts.map +0 -1
- package/dist/src/local-apps.d.ts.map +0 -1
- package/dist/src/model-data.d.ts.map +0 -1
- package/dist/src/model-libraries-snippets.d.ts.map +0 -1
- package/dist/src/snippets/common.d.ts.map +0 -1
- package/dist/src/snippets/index.d.ts +0 -6
- package/dist/src/snippets/index.d.ts.map +0 -1
- package/dist/src/snippets/inputs.d.ts +0 -4
- package/dist/src/snippets/inputs.d.ts.map +0 -1
- package/dist/src/snippets/types.d.ts.map +0 -1
- package/dist/src/tasks/audio-classification/data.d.ts +0 -4
- package/dist/src/tasks/audio-to-audio/data.d.ts +0 -4
- package/dist/src/tasks/automatic-speech-recognition/data.d.ts +0 -4
- package/dist/src/tasks/depth-estimation/data.d.ts +0 -4
- package/dist/src/tasks/document-question-answering/data.d.ts +0 -4
- package/dist/src/tasks/feature-extraction/data.d.ts +0 -4
- package/dist/src/tasks/fill-mask/data.d.ts +0 -4
- package/dist/src/tasks/image-classification/data.d.ts +0 -4
- package/dist/src/tasks/image-feature-extraction/data.d.ts +0 -4
- package/dist/src/tasks/image-segmentation/data.d.ts +0 -4
- package/dist/src/tasks/image-text-to-text/data.d.ts +0 -4
- package/dist/src/tasks/image-to-3d/data.d.ts +0 -4
- package/dist/src/tasks/image-to-image/data.d.ts +0 -4
- package/dist/src/tasks/image-to-text/data.d.ts +0 -4
- package/dist/src/tasks/index.d.ts.map +0 -1
- package/dist/src/tasks/keypoint-detection/data.d.ts +0 -4
- package/dist/src/tasks/mask-generation/data.d.ts +0 -4
- package/dist/src/tasks/object-detection/data.d.ts +0 -4
- package/dist/src/tasks/placeholder/data.d.ts +0 -4
- package/dist/src/tasks/question-answering/data.d.ts +0 -4
- package/dist/src/tasks/reinforcement-learning/data.d.ts +0 -4
- package/dist/src/tasks/sentence-similarity/data.d.ts +0 -4
- package/dist/src/tasks/summarization/data.d.ts +0 -4
- package/dist/src/tasks/table-question-answering/data.d.ts +0 -4
- package/dist/src/tasks/tabular-classification/data.d.ts +0 -4
- package/dist/src/tasks/tabular-regression/data.d.ts +0 -4
- package/dist/src/tasks/text-classification/data.d.ts +0 -4
- package/dist/src/tasks/text-generation/data.d.ts +0 -4
- package/dist/src/tasks/text-to-3d/data.d.ts +0 -4
- package/dist/src/tasks/text-to-image/data.d.ts +0 -4
- package/dist/src/tasks/text-to-speech/data.d.ts +0 -4
- package/dist/src/tasks/text-to-video/data.d.ts +0 -4
- package/dist/src/tasks/token-classification/data.d.ts +0 -4
- package/dist/src/tasks/translation/data.d.ts +0 -4
- package/dist/src/tasks/unconditional-image-generation/data.d.ts +0 -4
- package/dist/src/tasks/video-classification/data.d.ts +0 -4
- package/dist/src/tasks/video-text-to-text/data.d.ts +0 -4
- package/dist/src/tasks/visual-question-answering/data.d.ts +0 -4
- package/dist/src/tasks/zero-shot-classification/data.d.ts +0 -4
- package/dist/src/tasks/zero-shot-image-classification/data.d.ts +0 -4
- package/dist/src/tasks/zero-shot-object-detection/data.d.ts +0 -4
- package/dist/src/widget-example.d.ts.map +0 -1
- /package/dist/{src → commonjs}/dataset-libraries.d.ts +0 -0
- /package/dist/{src → commonjs}/dataset-libraries.d.ts.map +0 -0
- /package/dist/{src → commonjs}/gguf.d.ts +0 -0
- /package/dist/{src → commonjs}/gguf.d.ts.map +0 -0
- /package/dist/{src → commonjs}/hardware.d.ts +0 -0
- /package/dist/{src → commonjs}/hardware.d.ts.map +0 -0
- /package/dist/{src → commonjs}/model-libraries-downloads.d.ts +0 -0
- /package/dist/{src → commonjs}/model-libraries-downloads.d.ts.map +0 -0
- /package/dist/{src → commonjs}/snippets/curl.d.ts +0 -0
- /package/dist/{src → commonjs}/snippets/curl.d.ts.map +0 -0
- /package/dist/{src → commonjs}/snippets/curl.spec.d.ts +0 -0
- /package/dist/{src → commonjs}/snippets/curl.spec.d.ts.map +0 -0
- /package/dist/{src → commonjs}/snippets/js.d.ts +0 -0
- /package/dist/{src → commonjs}/snippets/js.d.ts.map +0 -0
- /package/dist/{src → commonjs}/snippets/js.spec.d.ts +0 -0
- /package/dist/{src → commonjs}/snippets/js.spec.d.ts.map +0 -0
- /package/dist/{src → commonjs}/snippets/python.spec.d.ts +0 -0
- /package/dist/{src → commonjs}/snippets/python.spec.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/audio-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/audio-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/automatic-speech-recognition/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/automatic-speech-recognition/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/chat-completion/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/chat-completion/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/depth-estimation/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/depth-estimation/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/document-question-answering/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/document-question-answering/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/feature-extraction/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/feature-extraction/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/fill-mask/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/fill-mask/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/image-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/image-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/image-segmentation/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/image-segmentation/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/image-to-image/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/image-to-image/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/image-to-text/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/image-to-text/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/object-detection/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/object-detection/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/question-answering/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/question-answering/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/sentence-similarity/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/sentence-similarity/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/summarization/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/summarization/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/table-question-answering/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/table-question-answering/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text-generation/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text-generation/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-audio/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-audio/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-image/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-image/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-speech/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text-to-speech/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/text2text-generation/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/text2text-generation/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/token-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/token-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/translation/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/translation/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/video-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/video-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/visual-question-answering/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/visual-question-answering/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-image-classification/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-image-classification/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-object-detection/inference.d.ts +0 -0
- /package/dist/{src → commonjs}/tasks/zero-shot-object-detection/inference.d.ts.map +0 -0
- /package/dist/{src → commonjs}/tokenizer-data.d.ts +0 -0
- /package/dist/{src → commonjs}/tokenizer-data.d.ts.map +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
description: "ImageNet-1K is a image classification dataset in which images are used to train image-feature-extraction models.",
|
|
7
|
+
id: "imagenet-1k",
|
|
8
|
+
},
|
|
9
|
+
],
|
|
10
|
+
demo: {
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
filename: "mask-generation-input.png",
|
|
14
|
+
type: "img",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
outputs: [
|
|
18
|
+
{
|
|
19
|
+
table: [
|
|
20
|
+
["Dimension 1", "Dimension 2", "Dimension 3"],
|
|
21
|
+
["0.21236686408519745", "1.0919708013534546", "0.8512550592422485"],
|
|
22
|
+
["0.809657871723175", "-0.18544459342956543", "-0.7851548194885254"],
|
|
23
|
+
["1.3103108406066895", "-0.2479034662246704", "-0.9107287526130676"],
|
|
24
|
+
["1.8536205291748047", "-0.36419737339019775", "0.09717650711536407"],
|
|
25
|
+
],
|
|
26
|
+
type: "tabular",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
metrics: [],
|
|
31
|
+
models: [
|
|
32
|
+
{
|
|
33
|
+
description: "A powerful image feature extraction model.",
|
|
34
|
+
id: "timm/vit_large_patch14_dinov2.lvd142m",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
description: "A strong image feature extraction model.",
|
|
38
|
+
id: "nvidia/MambaVision-T-1K",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
description: "A robust image feature extraction model.",
|
|
42
|
+
id: "facebook/dino-vitb16",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
description: "Strong image feature extraction model made for information retrieval from documents.",
|
|
46
|
+
id: "vidore/colpali",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
description: "Strong image feature extraction model that can be used on images and documents.",
|
|
50
|
+
id: "OpenGVLab/InternViT-6B-448px-V1-2",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
spaces: [],
|
|
54
|
+
summary: "Image feature extraction is the task of extracting features learnt in a computer vision model.",
|
|
55
|
+
widgetModels: [],
|
|
56
|
+
};
|
|
57
|
+
exports.default = taskData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-segmentation/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-segmentation/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cA8Ff,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
description: "Scene segmentation dataset.",
|
|
7
|
+
id: "scene_parse_150",
|
|
8
|
+
},
|
|
9
|
+
],
|
|
10
|
+
demo: {
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
filename: "image-segmentation-input.jpeg",
|
|
14
|
+
type: "img",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
outputs: [
|
|
18
|
+
{
|
|
19
|
+
filename: "image-segmentation-output.png",
|
|
20
|
+
type: "img",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
},
|
|
24
|
+
metrics: [
|
|
25
|
+
{
|
|
26
|
+
description: "Average Precision (AP) is the Area Under the PR Curve (AUC-PR). It is calculated for each semantic class separately",
|
|
27
|
+
id: "Average Precision",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
description: "Mean Average Precision (mAP) is the overall average of the AP values",
|
|
31
|
+
id: "Mean Average Precision",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
description: "Intersection over Union (IoU) is the overlap of segmentation masks. Mean IoU is the average of the IoU of all semantic classes",
|
|
35
|
+
id: "Mean Intersection over Union",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
description: "APα is the Average Precision at the IoU threshold of a α value, for example, AP50 and AP75",
|
|
39
|
+
id: "APα",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
models: [
|
|
43
|
+
{
|
|
44
|
+
// TO DO: write description
|
|
45
|
+
description: "Solid semantic segmentation model trained on ADE20k.",
|
|
46
|
+
id: "openmmlab/upernet-convnext-small",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
description: "Background removal model.",
|
|
50
|
+
id: "briaai/RMBG-1.4",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "A multipurpose image segmentation model for high resolution images.",
|
|
54
|
+
id: "ZhengPeng7/BiRefNet",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
description: "Powerful human-centric image segmentation model.",
|
|
58
|
+
id: "facebook/sapiens-seg-1b",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "Panoptic segmentation model trained on the COCO (common objects) dataset.",
|
|
62
|
+
id: "facebook/mask2former-swin-large-coco-panoptic",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
spaces: [
|
|
66
|
+
{
|
|
67
|
+
description: "A semantic segmentation application that can predict unseen instances out of the box.",
|
|
68
|
+
id: "facebook/ov-seg",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
description: "One of the strongest segmentation applications.",
|
|
72
|
+
id: "jbrinkma/segment-anything",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "A human-centric segmentation model.",
|
|
76
|
+
id: "facebook/sapiens-pose",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "An instance segmentation application to predict neuronal cell types from microscopy images.",
|
|
80
|
+
id: "rashmi/sartorius-cell-instance-segmentation",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
description: "An application that segments videos.",
|
|
84
|
+
id: "ArtGAN/Segment-Anything-Video",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
description: "An panoptic segmentation application built for outdoor environments.",
|
|
88
|
+
id: "segments/panoptic-segment-anything",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
summary: "Image Segmentation divides an image into segments where each pixel in the image is mapped to an object. This task has multiple variants such as instance segmentation, panoptic segmentation and semantic segmentation.",
|
|
92
|
+
widgetModels: ["nvidia/segformer-b0-finetuned-ade-512-512"],
|
|
93
|
+
youtubeId: "dKE8SIt9C-w",
|
|
94
|
+
};
|
|
95
|
+
exports.default = taskData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-text-to-text/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-text-to-text/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cAiGf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
description: "Instructions composed of image and text.",
|
|
7
|
+
id: "liuhaotian/LLaVA-Instruct-150K",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
description: "Conversation turns where questions involve image and text.",
|
|
11
|
+
id: "liuhaotian/LLaVA-Pretrain",
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
description: "A collection of datasets made for model fine-tuning.",
|
|
15
|
+
id: "HuggingFaceM4/the_cauldron",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
description: "Screenshots of websites with their HTML/CSS codes.",
|
|
19
|
+
id: "HuggingFaceM4/WebSight",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
demo: {
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
filename: "image-text-to-text-input.png",
|
|
26
|
+
type: "img",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
label: "Text Prompt",
|
|
30
|
+
content: "Describe the position of the bee in detail.",
|
|
31
|
+
type: "text",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
outputs: [
|
|
35
|
+
{
|
|
36
|
+
label: "Answer",
|
|
37
|
+
content: "The bee is sitting on a pink flower, surrounded by other flowers. The bee is positioned in the center of the flower, with its head and front legs sticking out.",
|
|
38
|
+
type: "text",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
},
|
|
42
|
+
metrics: [],
|
|
43
|
+
models: [
|
|
44
|
+
{
|
|
45
|
+
description: "Powerful vision language model with great visual understanding and reasoning capabilities.",
|
|
46
|
+
id: "meta-llama/Llama-3.2-11B-Vision-Instruct",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
description: "Cutting-edge vision language models.",
|
|
50
|
+
id: "allenai/Molmo-7B-D-0924",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "Small yet powerful model.",
|
|
54
|
+
id: "vikhyatk/moondream2",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
description: "Strong image-text-to-text model.",
|
|
58
|
+
id: "Qwen/Qwen2-VL-7B-Instruct",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "Strong image-text-to-text model.",
|
|
62
|
+
id: "mistralai/Pixtral-12B-2409",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
description: "Strong image-text-to-text model focused on documents.",
|
|
66
|
+
id: "stepfun-ai/GOT-OCR2_0",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
spaces: [
|
|
70
|
+
{
|
|
71
|
+
description: "Leaderboard to evaluate vision language models.",
|
|
72
|
+
id: "opencompass/open_vlm_leaderboard",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "Vision language models arena, where models are ranked by votes of users.",
|
|
76
|
+
id: "WildVision/vision-arena",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "Powerful vision-language model assistant.",
|
|
80
|
+
id: "akhaliq/Molmo-7B-D-0924",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
description: "An image-text-to-text application focused on documents.",
|
|
84
|
+
id: "stepfun-ai/GOT_official_online_demo",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
description: "An application to compare outputs of different vision language models.",
|
|
88
|
+
id: "merve/compare_VLMs",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
description: "An application for chatting with an image-text-to-text model.",
|
|
92
|
+
id: "GanymedeNil/Qwen2-VL-7B",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
summary: "Image-text-to-text models take in an image and text prompt and output text. These models are also called vision-language models, or VLMs. The difference from image-to-text models is that these models take an additional text input, not restricting the model to certain use cases like image captioning, and may also be trained to accept a conversation as input.",
|
|
96
|
+
widgetModels: ["meta-llama/Llama-3.2-11B-Vision-Instruct"],
|
|
97
|
+
youtubeId: "IoGaGfU1CIg",
|
|
98
|
+
};
|
|
99
|
+
exports.default = taskData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-3d/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-3d/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cAsEf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
description: "A large dataset of over 10 million 3D objects.",
|
|
7
|
+
id: "allenai/objaverse-xl",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
description: "A dataset of isolated object images for evaluating image-to-3D models.",
|
|
11
|
+
id: "dylanebert/iso3d",
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
demo: {
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
filename: "image-to-3d-image-input.png",
|
|
18
|
+
type: "img",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
outputs: [
|
|
22
|
+
{
|
|
23
|
+
label: "Result",
|
|
24
|
+
content: "image-to-3d-3d-output-filename.glb",
|
|
25
|
+
type: "text",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
metrics: [],
|
|
30
|
+
models: [
|
|
31
|
+
{
|
|
32
|
+
description: "Fast image-to-3D mesh model by Tencent.",
|
|
33
|
+
id: "TencentARC/InstantMesh",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
description: "Fast image-to-3D mesh model by StabilityAI",
|
|
37
|
+
id: "stabilityai/TripoSR",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
description: "A scaled up image-to-3D mesh model derived from TripoSR.",
|
|
41
|
+
id: "hwjiang/Real3D",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
description: "Generative 3D gaussian splatting model.",
|
|
45
|
+
id: "ashawkey/LGM",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
spaces: [
|
|
49
|
+
{
|
|
50
|
+
description: "Leaderboard to evaluate image-to-3D models.",
|
|
51
|
+
id: "dylanebert/3d-arena",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
description: "Image-to-3D demo with mesh outputs.",
|
|
55
|
+
id: "TencentARC/InstantMesh",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
description: "Image-to-3D demo with mesh outputs.",
|
|
59
|
+
id: "stabilityai/TripoSR",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
description: "Image-to-3D demo with mesh outputs.",
|
|
63
|
+
id: "hwjiang/Real3D",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
description: "Image-to-3D demo with splat outputs.",
|
|
67
|
+
id: "dylanebert/LGM-mini",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
summary: "Image-to-3D models take in image input and produce 3D output.",
|
|
71
|
+
widgetModels: [],
|
|
72
|
+
youtubeId: "",
|
|
73
|
+
};
|
|
74
|
+
exports.default = taskData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-image/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-image/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cAgGf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
description: "Synthetic dataset, for image relighting",
|
|
7
|
+
id: "VIDIT",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
description: "Multiple images of celebrities, used for facial expression translation",
|
|
11
|
+
id: "huggan/CelebA-faces",
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
demo: {
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
filename: "image-to-image-input.jpeg",
|
|
18
|
+
type: "img",
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
outputs: [
|
|
22
|
+
{
|
|
23
|
+
filename: "image-to-image-output.png",
|
|
24
|
+
type: "img",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
isPlaceholder: false,
|
|
29
|
+
metrics: [
|
|
30
|
+
{
|
|
31
|
+
description: "Peak Signal to Noise Ratio (PSNR) is an approximation of the human perception, considering the ratio of the absolute intensity with respect to the variations. Measured in dB, a high value indicates a high fidelity.",
|
|
32
|
+
id: "PSNR",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
description: "Structural Similarity Index (SSIM) is a perceptual metric which compares the luminance, contrast and structure of two images. The values of SSIM range between -1 and 1, and higher values indicate closer resemblance to the original image.",
|
|
36
|
+
id: "SSIM",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
description: "Inception Score (IS) is an analysis of the labels predicted by an image classification model when presented with a sample of the generated images.",
|
|
40
|
+
id: "IS",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
models: [
|
|
44
|
+
{
|
|
45
|
+
description: "An image-to-image model to improve image resolution.",
|
|
46
|
+
id: "fal/AuraSR-v2",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
description: "A model that increases the resolution of an image.",
|
|
50
|
+
id: "keras-io/super-resolution",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
description: "A model that creates a set of variations of the input image in the style of DALL-E using Stable Diffusion.",
|
|
54
|
+
id: "lambdalabs/sd-image-variations-diffusers",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
description: "A model that generates images based on segments in the input image and the text prompt.",
|
|
58
|
+
id: "mfidabel/controlnet-segment-anything",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
description: "A model that takes an image and an instruction to edit the image.",
|
|
62
|
+
id: "timbrooks/instruct-pix2pix",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
spaces: [
|
|
66
|
+
{
|
|
67
|
+
description: "Image enhancer application for low light.",
|
|
68
|
+
id: "keras-io/low-light-image-enhancement",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
description: "Style transfer application.",
|
|
72
|
+
id: "keras-io/neural-style-transfer",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
description: "An application that generates images based on segment control.",
|
|
76
|
+
id: "mfidabel/controlnet-segment-anything",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
description: "Image generation application that takes image control and text prompt.",
|
|
80
|
+
id: "hysts/ControlNet",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
description: "Colorize any image using this app.",
|
|
84
|
+
id: "ioclab/brightness-controlnet",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
description: "Edit images with instructions.",
|
|
88
|
+
id: "timbrooks/instruct-pix2pix",
|
|
89
|
+
},
|
|
90
|
+
],
|
|
91
|
+
summary: "Image-to-image is the task of transforming an input image through a variety of possible manipulations and enhancements, such as super-resolution, image inpainting, colorization, and more.",
|
|
92
|
+
widgetModels: ["stabilityai/stable-diffusion-2-inpainting"],
|
|
93
|
+
youtubeId: "",
|
|
94
|
+
};
|
|
95
|
+
exports.default = taskData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-text/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/tasks/image-to-text/data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,QAAA,MAAM,QAAQ,EAAE,cA6Ef,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const taskData = {
|
|
4
|
+
datasets: [
|
|
5
|
+
{
|
|
6
|
+
// TODO write proper description
|
|
7
|
+
description: "Dataset from 12M image-text of Reddit",
|
|
8
|
+
id: "red_caps",
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
// TODO write proper description
|
|
12
|
+
description: "Dataset from 3.3M images of Google",
|
|
13
|
+
id: "datasets/conceptual_captions",
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
demo: {
|
|
17
|
+
inputs: [
|
|
18
|
+
{
|
|
19
|
+
filename: "savanna.jpg",
|
|
20
|
+
type: "img",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
outputs: [
|
|
24
|
+
{
|
|
25
|
+
label: "Detailed description",
|
|
26
|
+
content: "a herd of giraffes and zebras grazing in a field",
|
|
27
|
+
type: "text",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
metrics: [],
|
|
32
|
+
models: [
|
|
33
|
+
{
|
|
34
|
+
description: "A robust image captioning model.",
|
|
35
|
+
id: "Salesforce/blip2-opt-2.7b",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
description: "A powerful and accurate image-to-text model that can also localize concepts in images.",
|
|
39
|
+
id: "microsoft/kosmos-2-patch14-224",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
description: "A strong optical character recognition model.",
|
|
43
|
+
id: "facebook/nougat-base",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
description: "A powerful model that lets you have a conversation with the image.",
|
|
47
|
+
id: "llava-hf/llava-1.5-7b-hf",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
spaces: [
|
|
51
|
+
{
|
|
52
|
+
description: "An application that compares various image captioning models.",
|
|
53
|
+
id: "nielsr/comparing-captioning-models",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
description: "A robust image captioning application.",
|
|
57
|
+
id: "flax-community/image-captioning",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
description: "An application that transcribes handwritings into text.",
|
|
61
|
+
id: "nielsr/TrOCR-handwritten",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
description: "An application that can caption images and answer questions about a given image.",
|
|
65
|
+
id: "Salesforce/BLIP",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
description: "An application that can caption images and answer questions with a conversational agent.",
|
|
69
|
+
id: "Salesforce/BLIP2",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
description: "An image captioning application that demonstrates the effect of noise on captions.",
|
|
73
|
+
id: "johko/capdec-image-captioning",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
summary: "Image to text models output a text from a given image. Image captioning or optical character recognition can be considered as the most common applications of image to text.",
|
|
77
|
+
widgetModels: ["Salesforce/blip-image-captioning-large"],
|
|
78
|
+
youtubeId: "",
|
|
79
|
+
};
|
|
80
|
+
exports.default = taskData;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import type { PipelineType } from "../pipelines";
|
|
2
|
-
export type * from "./audio-classification/inference";
|
|
3
|
-
export type * from "./automatic-speech-recognition/inference";
|
|
4
|
-
export type { ChatCompletionInput, ChatCompletionInputMessage, ChatCompletionOutput, ChatCompletionOutputComplete, ChatCompletionOutputMessage, ChatCompletionStreamOutput, ChatCompletionStreamOutputChoice, ChatCompletionStreamOutputDelta, } from "./chat-completion/inference";
|
|
5
|
-
export type * from "./document-question-answering/inference";
|
|
6
|
-
export type * from "./feature-extraction/inference";
|
|
7
|
-
export type * from "./fill-mask/inference";
|
|
8
|
-
export type { ImageClassificationInput, ImageClassificationOutput, ImageClassificationOutputElement, ImageClassificationParameters, } from "./image-classification/inference";
|
|
9
|
-
export type * from "./image-to-image/inference";
|
|
10
|
-
export type { ImageToTextInput, ImageToTextOutput, ImageToTextParameters } from "./image-to-text/inference";
|
|
11
|
-
export type * from "./image-segmentation/inference";
|
|
12
|
-
export type * from "./object-detection/inference";
|
|
13
|
-
export type * from "./depth-estimation/inference";
|
|
14
|
-
export type * from "./question-answering/inference";
|
|
15
|
-
export type * from "./sentence-similarity/inference";
|
|
16
|
-
export type * from "./summarization/inference";
|
|
17
|
-
export type * from "./table-question-answering/inference";
|
|
18
|
-
export type { TextToImageInput, TextToImageOutput, TextToImageParameters } from "./text-to-image/inference";
|
|
19
|
-
export type { TextToSpeechParameters, TextToSpeechInput, TextToSpeechOutput } from "./text-to-speech/inference";
|
|
20
|
-
export type * from "./token-classification/inference";
|
|
21
|
-
export type { TranslationInput, TranslationOutput } from "./translation/inference";
|
|
22
|
-
export type { ClassificationOutputTransform, TextClassificationInput, TextClassificationOutput, TextClassificationOutputElement, TextClassificationParameters, } from "./text-classification/inference";
|
|
23
|
-
export type { TextGenerationOutputFinishReason, TextGenerationOutputPrefillToken, TextGenerationInput, TextGenerationOutput, TextGenerationOutputDetails, TextGenerationInputGenerateParameters, TextGenerationOutputBestOfSequence, TextGenerationOutputToken, TextGenerationStreamOutputStreamDetails, TextGenerationStreamOutput, } from "./text-generation/inference";
|
|
24
|
-
export type * from "./video-classification/inference";
|
|
25
|
-
export type * from "./visual-question-answering/inference";
|
|
26
|
-
export type * from "./zero-shot-classification/inference";
|
|
27
|
-
export type * from "./zero-shot-image-classification/inference";
|
|
28
|
-
export type { BoundingBox, ZeroShotObjectDetectionInput, ZeroShotObjectDetectionInputData, ZeroShotObjectDetectionOutput, ZeroShotObjectDetectionOutputElement, } from "./zero-shot-object-detection/inference";
|
|
29
|
-
import type { ModelLibraryKey } from "../model-libraries";
|
|
1
|
+
import type { PipelineType } from "../pipelines.js";
|
|
2
|
+
export type * from "./audio-classification/inference.js";
|
|
3
|
+
export type * from "./automatic-speech-recognition/inference.js";
|
|
4
|
+
export type { ChatCompletionInput, ChatCompletionInputMessage, ChatCompletionOutput, ChatCompletionOutputComplete, ChatCompletionOutputMessage, ChatCompletionStreamOutput, ChatCompletionStreamOutputChoice, ChatCompletionStreamOutputDelta, } from "./chat-completion/inference.js";
|
|
5
|
+
export type * from "./document-question-answering/inference.js";
|
|
6
|
+
export type * from "./feature-extraction/inference.js";
|
|
7
|
+
export type * from "./fill-mask/inference.js";
|
|
8
|
+
export type { ImageClassificationInput, ImageClassificationOutput, ImageClassificationOutputElement, ImageClassificationParameters, } from "./image-classification/inference.js";
|
|
9
|
+
export type * from "./image-to-image/inference.js";
|
|
10
|
+
export type { ImageToTextInput, ImageToTextOutput, ImageToTextParameters } from "./image-to-text/inference.js";
|
|
11
|
+
export type * from "./image-segmentation/inference.js";
|
|
12
|
+
export type * from "./object-detection/inference.js";
|
|
13
|
+
export type * from "./depth-estimation/inference.js";
|
|
14
|
+
export type * from "./question-answering/inference.js";
|
|
15
|
+
export type * from "./sentence-similarity/inference.js";
|
|
16
|
+
export type * from "./summarization/inference.js";
|
|
17
|
+
export type * from "./table-question-answering/inference.js";
|
|
18
|
+
export type { TextToImageInput, TextToImageOutput, TextToImageParameters } from "./text-to-image/inference.js";
|
|
19
|
+
export type { TextToSpeechParameters, TextToSpeechInput, TextToSpeechOutput } from "./text-to-speech/inference.js";
|
|
20
|
+
export type * from "./token-classification/inference.js";
|
|
21
|
+
export type { TranslationInput, TranslationOutput } from "./translation/inference.js";
|
|
22
|
+
export type { ClassificationOutputTransform, TextClassificationInput, TextClassificationOutput, TextClassificationOutputElement, TextClassificationParameters, } from "./text-classification/inference.js";
|
|
23
|
+
export type { TextGenerationOutputFinishReason, TextGenerationOutputPrefillToken, TextGenerationInput, TextGenerationOutput, TextGenerationOutputDetails, TextGenerationInputGenerateParameters, TextGenerationOutputBestOfSequence, TextGenerationOutputToken, TextGenerationStreamOutputStreamDetails, TextGenerationStreamOutput, } from "./text-generation/inference.js";
|
|
24
|
+
export type * from "./video-classification/inference.js";
|
|
25
|
+
export type * from "./visual-question-answering/inference.js";
|
|
26
|
+
export type * from "./zero-shot-classification/inference.js";
|
|
27
|
+
export type * from "./zero-shot-image-classification/inference.js";
|
|
28
|
+
export type { BoundingBox, ZeroShotObjectDetectionInput, ZeroShotObjectDetectionInputData, ZeroShotObjectDetectionOutput, ZeroShotObjectDetectionOutputElement, } from "./zero-shot-object-detection/inference.js";
|
|
29
|
+
import type { ModelLibraryKey } from "../model-libraries.js";
|
|
30
30
|
/**
|
|
31
31
|
* Model libraries compatible with each ML task
|
|
32
32
|
*/
|
|
@@ -0,0 +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;AA4CpD,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,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,iCAAiC,CAAC;AACrD,mBAAmB,mCAAmC,CAAC;AACvD,mBAAmB,oCAAoC,CAAC;AACxD,mBAAmB,8BAA8B,CAAC;AAClD,mBAAmB,yCAAyC,CAAC;AAC7D,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAC/G,YAAY,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnH,mBAAmB,qCAAqC,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACtF,YAAY,EACX,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,+BAA+B,EAC/B,4BAA4B,GAC5B,MAAM,oCAAoC,CAAC;AAC5C,YAAY,EACX,gCAAgC,EAChC,gCAAgC,EAChC,mBAAmB,EACnB,oBAAoB,EACpB,2BAA2B,EAC3B,qCAAqC,EACrC,kCAAkC,EAClC,yBAAyB,EACzB,uCAAuC,EACvC,0BAA0B,GAC1B,MAAM,gCAAgC,CAAC;AACxC,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,0CAA0C,CAAC;AAC9D,mBAAmB,yCAAyC,CAAC;AAC7D,mBAAmB,+CAA+C,CAAC;AACnE,YAAY,EACX,WAAW,EACX,4BAA4B,EAC5B,gCAAgC,EAChC,6BAA6B,EAC7B,oCAAoC,GACpC,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,YAAY,EAAE,eAAe,EAAE,CA6DzE,CAAC;AAoBF,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,GAAG,SAAS,CAqDxD,CAAC;AAEX,MAAM,WAAW,WAAW;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,EAAE,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,aAAa,GACtB;IACA,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;CACb,GACD;IACA,IAAI,EAAE,KAAK,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;KACd,CAAC,CAAC;IACH,IAAI,EAAE,OAAO,CAAC;CACb,GACD;IACA,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC;CACX,GACD;IACA,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;CACf,GACD;IACA,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,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"}
|