@huggingface/tasks 0.13.0-test → 0.13.0-test3
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/dataset-libraries.d.cts +87 -0
- package/dist/dataset-libraries.d.cts.map +1 -0
- package/dist/dataset-libraries.d.ts.map +1 -0
- package/dist/default-widget-inputs.d.cts +6 -0
- package/dist/default-widget-inputs.d.cts.map +1 -0
- package/dist/default-widget-inputs.d.ts.map +1 -0
- package/dist/gguf.d.cts +35 -0
- package/dist/gguf.d.cts.map +1 -0
- package/dist/gguf.d.ts.map +1 -0
- package/dist/hardware.d.cts +478 -0
- package/dist/hardware.d.cts.map +1 -0
- package/dist/hardware.d.ts.map +1 -0
- package/dist/index.d.cts +21 -0
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/library-to-tasks.d.cts +11 -0
- package/dist/library-to-tasks.d.cts.map +1 -0
- package/dist/library-to-tasks.d.ts.map +1 -0
- package/dist/local-apps.d.cts +195 -0
- package/dist/local-apps.d.cts.map +1 -0
- package/dist/local-apps.d.ts.map +1 -0
- package/dist/model-data.d.cts +146 -0
- package/dist/model-data.d.cts.map +1 -0
- package/dist/model-data.d.ts.map +1 -0
- package/dist/model-libraries-downloads.d.cts +18 -0
- package/dist/model-libraries-downloads.d.cts.map +1 -0
- package/dist/model-libraries-downloads.d.ts.map +1 -0
- package/dist/model-libraries-snippets.d.cts +72 -0
- package/dist/model-libraries-snippets.d.cts.map +1 -0
- package/dist/model-libraries-snippets.d.ts.map +1 -0
- package/dist/model-libraries.d.cts +804 -0
- package/dist/model-libraries.d.cts.map +1 -0
- package/dist/{src/model-libraries.d.ts.map → model-libraries.d.ts.map} +1 -1
- package/dist/pipelines.d.cts +425 -0
- package/dist/pipelines.d.cts.map +1 -0
- package/dist/pipelines.d.ts.map +1 -0
- package/dist/snippets/common.d.cts +14 -0
- package/dist/snippets/common.d.cts.map +1 -0
- package/dist/snippets/common.d.ts.map +1 -0
- package/dist/snippets/curl.d.cts +17 -0
- package/dist/snippets/curl.d.cts.map +1 -0
- package/dist/snippets/curl.d.ts.map +1 -0
- package/dist/snippets/curl.spec.d.cts +2 -0
- package/dist/snippets/curl.spec.d.cts.map +1 -0
- package/dist/{src/snippets → snippets}/curl.spec.d.ts.map +1 -1
- package/dist/snippets/index.d.cts +6 -0
- package/dist/snippets/index.d.cts.map +1 -0
- package/dist/snippets/index.d.ts.map +1 -0
- package/dist/snippets/inputs.d.cts +4 -0
- package/dist/snippets/inputs.d.cts.map +1 -0
- package/dist/snippets/inputs.d.ts.map +1 -0
- package/dist/snippets/js.d.cts +19 -0
- package/dist/snippets/js.d.cts.map +1 -0
- package/dist/snippets/js.d.ts.map +1 -0
- package/dist/snippets/js.spec.d.cts +2 -0
- package/dist/snippets/js.spec.d.cts.map +1 -0
- package/dist/{src/snippets → snippets}/js.spec.d.ts.map +1 -1
- package/dist/snippets/python.d.cts +22 -0
- package/dist/snippets/python.d.cts.map +1 -0
- package/dist/snippets/python.d.ts.map +1 -0
- package/dist/snippets/python.spec.d.cts +2 -0
- package/dist/snippets/python.spec.d.cts.map +1 -0
- package/dist/snippets/python.spec.d.ts.map +1 -0
- package/dist/snippets/types.d.cts +12 -0
- package/dist/snippets/types.d.cts.map +1 -0
- package/dist/snippets/types.d.ts.map +1 -0
- package/dist/tasks/audio-classification/data.d.cts +4 -0
- package/dist/tasks/audio-classification/data.d.cts.map +1 -0
- package/dist/tasks/audio-classification/data.d.ts.map +1 -0
- package/dist/tasks/audio-classification/inference.d.cts +53 -0
- package/dist/tasks/audio-classification/inference.d.cts.map +1 -0
- package/dist/tasks/audio-classification/inference.d.ts.map +1 -0
- package/dist/tasks/audio-to-audio/data.d.cts +4 -0
- package/dist/tasks/audio-to-audio/data.d.cts.map +1 -0
- package/dist/{src/tasks/translation → tasks/audio-to-audio}/data.d.ts.map +1 -1
- package/dist/tasks/automatic-speech-recognition/data.d.cts +4 -0
- package/dist/tasks/automatic-speech-recognition/data.d.cts.map +1 -0
- package/dist/{src/tasks/visual-question-answering → tasks/automatic-speech-recognition}/data.d.ts.map +1 -1
- package/dist/tasks/automatic-speech-recognition/inference.d.cts +155 -0
- package/dist/tasks/automatic-speech-recognition/inference.d.cts.map +1 -0
- package/dist/tasks/automatic-speech-recognition/inference.d.ts.map +1 -0
- package/dist/tasks/chat-completion/inference.d.cts +291 -0
- package/dist/tasks/chat-completion/inference.d.cts.map +1 -0
- package/dist/tasks/chat-completion/inference.d.ts.map +1 -0
- package/dist/tasks/depth-estimation/data.d.cts +4 -0
- package/dist/tasks/depth-estimation/data.d.cts.map +1 -0
- package/dist/{src/tasks/summarization → tasks/depth-estimation}/data.d.ts.map +1 -1
- package/dist/tasks/depth-estimation/inference.d.cts +36 -0
- package/dist/tasks/depth-estimation/inference.d.cts.map +1 -0
- package/dist/tasks/depth-estimation/inference.d.ts.map +1 -0
- package/dist/tasks/document-question-answering/data.d.cts +4 -0
- package/dist/tasks/document-question-answering/data.d.cts.map +1 -0
- package/dist/{src/tasks/image-feature-extraction → tasks/document-question-answering}/data.d.ts.map +1 -1
- package/dist/tasks/document-question-answering/inference.d.cts +111 -0
- package/dist/tasks/document-question-answering/inference.d.cts.map +1 -0
- package/dist/tasks/document-question-answering/inference.d.ts.map +1 -0
- package/dist/tasks/feature-extraction/data.d.cts +4 -0
- package/dist/tasks/feature-extraction/data.d.cts.map +1 -0
- package/dist/{src/tasks/mask-generation → tasks/feature-extraction}/data.d.ts.map +1 -1
- package/dist/tasks/feature-extraction/inference.d.cts +38 -0
- package/dist/tasks/feature-extraction/inference.d.cts.map +1 -0
- package/dist/tasks/feature-extraction/inference.d.ts.map +1 -0
- package/dist/tasks/fill-mask/data.d.cts +4 -0
- package/dist/tasks/fill-mask/data.d.cts.map +1 -0
- package/dist/tasks/fill-mask/data.d.ts.map +1 -0
- package/dist/tasks/fill-mask/inference.d.cts +63 -0
- package/dist/tasks/fill-mask/inference.d.cts.map +1 -0
- package/dist/tasks/fill-mask/inference.d.ts.map +1 -0
- package/dist/tasks/image-classification/data.d.cts +4 -0
- package/dist/tasks/image-classification/data.d.cts.map +1 -0
- package/dist/tasks/image-classification/data.d.ts.map +1 -0
- package/dist/tasks/image-classification/inference.d.cts +53 -0
- package/dist/tasks/image-classification/inference.d.cts.map +1 -0
- package/dist/tasks/image-classification/inference.d.ts.map +1 -0
- package/dist/tasks/image-feature-extraction/data.d.cts +4 -0
- package/dist/tasks/image-feature-extraction/data.d.cts.map +1 -0
- package/dist/tasks/image-feature-extraction/data.d.ts.map +1 -0
- package/dist/tasks/image-segmentation/data.d.cts +4 -0
- package/dist/tasks/image-segmentation/data.d.cts.map +1 -0
- package/dist/{src/tasks/text-generation → tasks/image-segmentation}/data.d.ts.map +1 -1
- package/dist/tasks/image-segmentation/inference.d.cts +70 -0
- package/dist/tasks/image-segmentation/inference.d.cts.map +1 -0
- package/dist/tasks/image-segmentation/inference.d.ts.map +1 -0
- package/dist/tasks/image-text-to-text/data.d.cts +4 -0
- package/dist/tasks/image-text-to-text/data.d.cts.map +1 -0
- package/dist/tasks/image-text-to-text/data.d.ts.map +1 -0
- package/dist/tasks/image-to-3d/data.d.cts +4 -0
- package/dist/tasks/image-to-3d/data.d.cts.map +1 -0
- package/dist/tasks/image-to-3d/data.d.ts.map +1 -0
- package/dist/tasks/image-to-image/data.d.cts +4 -0
- package/dist/tasks/image-to-image/data.d.cts.map +1 -0
- package/dist/{src/tasks/image-to-3d → tasks/image-to-image}/data.d.ts.map +1 -1
- package/dist/tasks/image-to-image/inference.d.cts +65 -0
- package/dist/tasks/image-to-image/inference.d.cts.map +1 -0
- package/dist/tasks/image-to-image/inference.d.ts.map +1 -0
- package/dist/tasks/image-to-text/data.d.cts +4 -0
- package/dist/tasks/image-to-text/data.d.cts.map +1 -0
- package/dist/{src/tasks/text-to-3d → tasks/image-to-text}/data.d.ts.map +1 -1
- package/dist/tasks/image-to-text/inference.d.cts +139 -0
- package/dist/tasks/image-to-text/inference.d.cts.map +1 -0
- package/dist/tasks/image-to-text/inference.d.ts.map +1 -0
- package/dist/tasks/index.d.cts +87 -0
- package/dist/tasks/index.d.cts.map +1 -0
- package/dist/tasks/index.d.ts.map +1 -0
- package/dist/tasks/keypoint-detection/data.d.cts +4 -0
- package/dist/tasks/keypoint-detection/data.d.cts.map +1 -0
- package/dist/tasks/keypoint-detection/data.d.ts.map +1 -0
- package/dist/tasks/mask-generation/data.d.cts +4 -0
- package/dist/tasks/mask-generation/data.d.cts.map +1 -0
- package/dist/tasks/mask-generation/data.d.ts.map +1 -0
- package/dist/tasks/object-detection/data.d.cts +4 -0
- package/dist/tasks/object-detection/data.d.cts.map +1 -0
- package/dist/{src/tasks/image-to-text → tasks/object-detection}/data.d.ts.map +1 -1
- package/dist/tasks/object-detection/inference.d.cts +76 -0
- package/dist/tasks/object-detection/inference.d.cts.map +1 -0
- package/dist/tasks/object-detection/inference.d.ts.map +1 -0
- package/dist/tasks/placeholder/data.d.cts +4 -0
- package/dist/tasks/placeholder/data.d.cts.map +1 -0
- package/dist/tasks/placeholder/data.d.ts.map +1 -0
- package/dist/tasks/question-answering/data.d.cts +4 -0
- package/dist/tasks/question-answering/data.d.cts.map +1 -0
- package/dist/tasks/question-answering/data.d.ts.map +1 -0
- package/dist/tasks/question-answering/inference.d.cts +100 -0
- package/dist/tasks/question-answering/inference.d.cts.map +1 -0
- package/dist/tasks/question-answering/inference.d.ts.map +1 -0
- package/dist/tasks/reinforcement-learning/data.d.cts +4 -0
- package/dist/tasks/reinforcement-learning/data.d.cts.map +1 -0
- package/dist/{src/tasks/sentence-similarity → tasks/reinforcement-learning}/data.d.ts.map +1 -1
- package/dist/tasks/sentence-similarity/data.d.cts +4 -0
- package/dist/tasks/sentence-similarity/data.d.cts.map +1 -0
- package/dist/{src/tasks/object-detection → tasks/sentence-similarity}/data.d.ts.map +1 -1
- package/dist/tasks/sentence-similarity/inference.d.cts +32 -0
- package/dist/tasks/sentence-similarity/inference.d.cts.map +1 -0
- package/dist/tasks/sentence-similarity/inference.d.ts.map +1 -0
- package/dist/tasks/summarization/data.d.cts +4 -0
- package/dist/tasks/summarization/data.d.cts.map +1 -0
- package/dist/tasks/summarization/data.d.ts.map +1 -0
- package/dist/tasks/summarization/inference.d.cts +56 -0
- package/dist/tasks/summarization/inference.d.cts.map +1 -0
- package/dist/tasks/summarization/inference.d.ts.map +1 -0
- package/dist/tasks/table-question-answering/data.d.cts +4 -0
- package/dist/tasks/table-question-answering/data.d.cts.map +1 -0
- package/dist/tasks/table-question-answering/data.d.ts.map +1 -0
- package/dist/tasks/table-question-answering/inference.d.cts +62 -0
- package/dist/tasks/table-question-answering/inference.d.cts.map +1 -0
- package/dist/tasks/table-question-answering/inference.d.ts.map +1 -0
- package/dist/tasks/tabular-classification/data.d.cts +4 -0
- package/dist/tasks/tabular-classification/data.d.cts.map +1 -0
- package/dist/{src/tasks/text-classification → tasks/tabular-classification}/data.d.ts.map +1 -1
- package/dist/tasks/tabular-regression/data.d.cts +4 -0
- package/dist/tasks/tabular-regression/data.d.cts.map +1 -0
- package/dist/tasks/tabular-regression/data.d.ts.map +1 -0
- package/dist/tasks/text-classification/data.d.cts +4 -0
- package/dist/tasks/text-classification/data.d.cts.map +1 -0
- package/dist/{src/tasks/depth-estimation → tasks/text-classification}/data.d.ts.map +1 -1
- package/dist/tasks/text-classification/inference.d.cts +52 -0
- package/dist/tasks/text-classification/inference.d.cts.map +1 -0
- package/dist/tasks/text-classification/inference.d.ts.map +1 -0
- package/dist/tasks/text-generation/data.d.cts +4 -0
- package/dist/tasks/text-generation/data.d.cts.map +1 -0
- package/dist/tasks/text-generation/data.d.ts.map +1 -0
- package/dist/tasks/text-generation/inference.d.cts +188 -0
- package/dist/tasks/text-generation/inference.d.cts.map +1 -0
- package/dist/tasks/text-generation/inference.d.ts.map +1 -0
- package/dist/tasks/text-to-3d/data.d.cts +4 -0
- package/dist/tasks/text-to-3d/data.d.cts.map +1 -0
- package/dist/tasks/text-to-3d/data.d.ts.map +1 -0
- package/dist/tasks/text-to-audio/inference.d.cts +139 -0
- package/dist/tasks/text-to-audio/inference.d.cts.map +1 -0
- package/dist/tasks/text-to-audio/inference.d.ts.map +1 -0
- package/dist/tasks/text-to-image/data.d.cts +4 -0
- package/dist/tasks/text-to-image/data.d.cts.map +1 -0
- package/dist/tasks/text-to-image/data.d.ts.map +1 -0
- package/dist/tasks/text-to-image/inference.d.cts +72 -0
- package/dist/tasks/text-to-image/inference.d.cts.map +1 -0
- package/dist/tasks/text-to-image/inference.d.ts.map +1 -0
- package/dist/tasks/text-to-speech/data.d.cts +4 -0
- package/dist/tasks/text-to-speech/data.d.cts.map +1 -0
- package/dist/{src/tasks/placeholder → tasks/text-to-speech}/data.d.ts.map +1 -1
- package/dist/tasks/text-to-speech/inference.d.cts +141 -0
- package/dist/tasks/text-to-speech/inference.d.cts.map +1 -0
- package/dist/tasks/text-to-speech/inference.d.ts.map +1 -0
- package/dist/tasks/text-to-video/data.d.cts +4 -0
- package/dist/tasks/text-to-video/data.d.cts.map +1 -0
- package/dist/tasks/text-to-video/data.d.ts.map +1 -0
- package/dist/tasks/text2text-generation/inference.d.cts +54 -0
- package/dist/tasks/text2text-generation/inference.d.cts.map +1 -0
- package/dist/tasks/text2text-generation/inference.d.ts.map +1 -0
- package/dist/tasks/token-classification/data.d.cts +4 -0
- package/dist/tasks/token-classification/data.d.cts.map +1 -0
- package/dist/tasks/token-classification/data.d.ts.map +1 -0
- package/dist/tasks/token-classification/inference.d.cts +86 -0
- package/dist/tasks/token-classification/inference.d.cts.map +1 -0
- package/dist/tasks/token-classification/inference.d.ts.map +1 -0
- package/dist/tasks/translation/data.d.cts +4 -0
- package/dist/tasks/translation/data.d.cts.map +1 -0
- package/dist/tasks/translation/data.d.ts.map +1 -0
- package/dist/tasks/translation/inference.d.cts +66 -0
- package/dist/tasks/translation/inference.d.cts.map +1 -0
- package/dist/tasks/translation/inference.d.ts.map +1 -0
- package/dist/tasks/unconditional-image-generation/data.d.cts +4 -0
- package/dist/tasks/unconditional-image-generation/data.d.cts.map +1 -0
- package/dist/{src/tasks/document-question-answering → tasks/unconditional-image-generation}/data.d.ts.map +1 -1
- package/dist/tasks/video-classification/data.d.cts +4 -0
- package/dist/tasks/video-classification/data.d.cts.map +1 -0
- package/dist/tasks/video-classification/data.d.ts.map +1 -0
- package/dist/tasks/video-classification/inference.d.cts +60 -0
- package/dist/tasks/video-classification/inference.d.cts.map +1 -0
- package/dist/tasks/video-classification/inference.d.ts.map +1 -0
- package/dist/tasks/video-text-to-text/data.d.cts +4 -0
- package/dist/tasks/video-text-to-text/data.d.cts.map +1 -0
- package/dist/tasks/video-text-to-text/data.d.ts.map +1 -0
- package/dist/tasks/visual-question-answering/data.d.cts +4 -0
- package/dist/tasks/visual-question-answering/data.d.cts.map +1 -0
- package/dist/{src/tasks/reinforcement-learning → tasks/visual-question-answering}/data.d.ts.map +1 -1
- package/dist/tasks/visual-question-answering/inference.d.cts +63 -0
- package/dist/tasks/visual-question-answering/inference.d.cts.map +1 -0
- package/dist/tasks/visual-question-answering/inference.d.ts.map +1 -0
- package/dist/tasks/zero-shot-classification/data.d.cts +4 -0
- package/dist/tasks/zero-shot-classification/data.d.cts.map +1 -0
- package/dist/tasks/zero-shot-classification/data.d.ts.map +1 -0
- package/dist/tasks/zero-shot-classification/inference.d.cts +68 -0
- package/dist/tasks/zero-shot-classification/inference.d.cts.map +1 -0
- package/dist/tasks/zero-shot-classification/inference.d.ts.map +1 -0
- package/dist/tasks/zero-shot-image-classification/data.d.cts +4 -0
- package/dist/tasks/zero-shot-image-classification/data.d.cts.map +1 -0
- package/dist/tasks/zero-shot-image-classification/data.d.ts.map +1 -0
- package/dist/tasks/zero-shot-image-classification/inference.d.cts +62 -0
- package/dist/tasks/zero-shot-image-classification/inference.d.cts.map +1 -0
- package/dist/tasks/zero-shot-image-classification/inference.d.ts.map +1 -0
- package/dist/tasks/zero-shot-object-detection/data.d.cts +4 -0
- package/dist/tasks/zero-shot-object-detection/data.d.cts.map +1 -0
- package/dist/tasks/zero-shot-object-detection/data.d.ts.map +1 -0
- package/dist/tasks/zero-shot-object-detection/inference.d.cts +67 -0
- package/dist/tasks/zero-shot-object-detection/inference.d.cts.map +1 -0
- package/dist/tasks/zero-shot-object-detection/inference.d.ts.map +1 -0
- package/dist/tokenizer-data.d.cts +26 -0
- package/dist/tokenizer-data.d.cts.map +1 -0
- package/dist/tokenizer-data.d.ts.map +1 -0
- package/dist/widget-example.d.cts +83 -0
- package/dist/widget-example.d.cts.map +1 -0
- package/dist/widget-example.d.ts.map +1 -0
- package/package.json +5 -3
- package/tsconfig.json +1 -1
- 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/dataset-libraries.d.ts.map +0 -1
- package/dist/src/default-widget-inputs.d.ts.map +0 -1
- package/dist/src/gguf.d.ts.map +0 -1
- package/dist/src/hardware.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-downloads.d.ts.map +0 -1
- package/dist/src/model-libraries-snippets.d.ts.map +0 -1
- package/dist/src/pipelines.d.ts.map +0 -1
- package/dist/src/snippets/common.d.ts.map +0 -1
- package/dist/src/snippets/curl.d.ts.map +0 -1
- package/dist/src/snippets/index.d.ts.map +0 -1
- package/dist/src/snippets/inputs.d.ts.map +0 -1
- package/dist/src/snippets/js.d.ts.map +0 -1
- package/dist/src/snippets/python.d.ts.map +0 -1
- package/dist/src/snippets/python.spec.d.ts.map +0 -1
- package/dist/src/snippets/types.d.ts.map +0 -1
- package/dist/src/tasks/audio-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/audio-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/audio-to-audio/data.d.ts.map +0 -1
- package/dist/src/tasks/automatic-speech-recognition/data.d.ts.map +0 -1
- package/dist/src/tasks/automatic-speech-recognition/inference.d.ts.map +0 -1
- package/dist/src/tasks/chat-completion/inference.d.ts.map +0 -1
- package/dist/src/tasks/depth-estimation/inference.d.ts.map +0 -1
- package/dist/src/tasks/document-question-answering/inference.d.ts.map +0 -1
- package/dist/src/tasks/feature-extraction/data.d.ts.map +0 -1
- package/dist/src/tasks/feature-extraction/inference.d.ts.map +0 -1
- package/dist/src/tasks/fill-mask/data.d.ts.map +0 -1
- package/dist/src/tasks/fill-mask/inference.d.ts.map +0 -1
- package/dist/src/tasks/image-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/image-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/image-segmentation/data.d.ts.map +0 -1
- package/dist/src/tasks/image-segmentation/inference.d.ts.map +0 -1
- package/dist/src/tasks/image-text-to-text/data.d.ts.map +0 -1
- package/dist/src/tasks/image-to-image/data.d.ts.map +0 -1
- package/dist/src/tasks/image-to-image/inference.d.ts.map +0 -1
- package/dist/src/tasks/image-to-text/inference.d.ts.map +0 -1
- package/dist/src/tasks/index.d.ts.map +0 -1
- package/dist/src/tasks/keypoint-detection/data.d.ts.map +0 -1
- package/dist/src/tasks/object-detection/inference.d.ts.map +0 -1
- package/dist/src/tasks/question-answering/data.d.ts.map +0 -1
- package/dist/src/tasks/question-answering/inference.d.ts.map +0 -1
- package/dist/src/tasks/sentence-similarity/inference.d.ts.map +0 -1
- package/dist/src/tasks/summarization/inference.d.ts.map +0 -1
- package/dist/src/tasks/table-question-answering/data.d.ts.map +0 -1
- package/dist/src/tasks/table-question-answering/inference.d.ts.map +0 -1
- package/dist/src/tasks/tabular-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/tabular-regression/data.d.ts.map +0 -1
- package/dist/src/tasks/text-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/text-generation/inference.d.ts.map +0 -1
- package/dist/src/tasks/text-to-audio/inference.d.ts.map +0 -1
- package/dist/src/tasks/text-to-image/data.d.ts.map +0 -1
- package/dist/src/tasks/text-to-image/inference.d.ts.map +0 -1
- package/dist/src/tasks/text-to-speech/data.d.ts.map +0 -1
- package/dist/src/tasks/text-to-speech/inference.d.ts.map +0 -1
- package/dist/src/tasks/text-to-video/data.d.ts.map +0 -1
- package/dist/src/tasks/text2text-generation/inference.d.ts.map +0 -1
- package/dist/src/tasks/token-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/token-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/translation/inference.d.ts.map +0 -1
- package/dist/src/tasks/unconditional-image-generation/data.d.ts.map +0 -1
- package/dist/src/tasks/video-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/video-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/video-text-to-text/data.d.ts.map +0 -1
- package/dist/src/tasks/visual-question-answering/inference.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-image-classification/data.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-image-classification/inference.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-object-detection/data.d.ts.map +0 -1
- package/dist/src/tasks/zero-shot-object-detection/inference.d.ts.map +0 -1
- package/dist/src/tokenizer-data.d.ts.map +0 -1
- package/dist/src/widget-example.d.ts.map +0 -1
- /package/dist/{src/dataset-libraries.d.ts → dataset-libraries.d.ts} +0 -0
- /package/dist/{src/default-widget-inputs.d.ts → default-widget-inputs.d.ts} +0 -0
- /package/dist/{src/gguf.d.ts → gguf.d.ts} +0 -0
- /package/dist/{src/hardware.d.ts → hardware.d.ts} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/library-to-tasks.d.ts → library-to-tasks.d.ts} +0 -0
- /package/dist/{src/local-apps.d.ts → local-apps.d.ts} +0 -0
- /package/dist/{src/model-data.d.ts → model-data.d.ts} +0 -0
- /package/dist/{src/model-libraries-downloads.d.ts → model-libraries-downloads.d.ts} +0 -0
- /package/dist/{src/model-libraries-snippets.d.ts → model-libraries-snippets.d.ts} +0 -0
- /package/dist/{src/model-libraries.d.ts → model-libraries.d.ts} +0 -0
- /package/dist/{src/pipelines.d.ts → pipelines.d.ts} +0 -0
- /package/dist/{src/snippets → snippets}/common.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/curl.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/curl.spec.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/index.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/inputs.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/js.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/js.spec.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/python.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/python.spec.d.ts +0 -0
- /package/dist/{src/snippets → snippets}/types.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/audio-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/audio-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/audio-to-audio/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/automatic-speech-recognition/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/automatic-speech-recognition/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/chat-completion/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/depth-estimation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/depth-estimation/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/document-question-answering/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/document-question-answering/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/feature-extraction/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/feature-extraction/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/fill-mask/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/fill-mask/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-feature-extraction/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-segmentation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-segmentation/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-text-to-text/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-to-3d/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-to-image/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-to-image/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-to-text/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/image-to-text/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/index.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/keypoint-detection/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/mask-generation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/object-detection/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/object-detection/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/placeholder/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/question-answering/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/question-answering/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/reinforcement-learning/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/sentence-similarity/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/sentence-similarity/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/summarization/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/summarization/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/table-question-answering/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/table-question-answering/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/tabular-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/tabular-regression/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-generation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-generation/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-3d/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-audio/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-image/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-image/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-speech/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-speech/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text-to-video/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/text2text-generation/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/token-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/token-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/translation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/translation/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/unconditional-image-generation/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/video-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/video-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/video-text-to-text/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/visual-question-answering/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/visual-question-answering/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-image-classification/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-image-classification/inference.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-object-detection/data.d.ts +0 -0
- /package/dist/{src/tasks → tasks}/zero-shot-object-detection/inference.d.ts +0 -0
- /package/dist/{src/tokenizer-data.d.ts → tokenizer-data.d.ts} +0 -0
- /package/dist/{src/widget-example.d.ts → widget-example.d.ts} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Elements configurable by a dataset library.
|
|
3
|
+
*/
|
|
4
|
+
export interface DatasetLibraryUiElement {
|
|
5
|
+
/**
|
|
6
|
+
* Pretty name of the library.
|
|
7
|
+
* displayed (in tags?, and) on the main
|
|
8
|
+
* call-to-action button on the dataset page.
|
|
9
|
+
*/
|
|
10
|
+
prettyLabel: string;
|
|
11
|
+
/**
|
|
12
|
+
* Repo name of the library's (usually on GitHub) code repo
|
|
13
|
+
*/
|
|
14
|
+
repoName: string;
|
|
15
|
+
/**
|
|
16
|
+
* URL to library's (usually on GitHub) code repo
|
|
17
|
+
*/
|
|
18
|
+
repoUrl: string;
|
|
19
|
+
/**
|
|
20
|
+
* URL to library's docs
|
|
21
|
+
*/
|
|
22
|
+
docsUrl?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const DATASET_LIBRARIES_UI_ELEMENTS: {
|
|
25
|
+
mlcroissant: {
|
|
26
|
+
prettyLabel: string;
|
|
27
|
+
repoName: string;
|
|
28
|
+
repoUrl: string;
|
|
29
|
+
docsUrl: string;
|
|
30
|
+
};
|
|
31
|
+
webdataset: {
|
|
32
|
+
prettyLabel: string;
|
|
33
|
+
repoName: string;
|
|
34
|
+
repoUrl: string;
|
|
35
|
+
docsUrl: string;
|
|
36
|
+
};
|
|
37
|
+
datasets: {
|
|
38
|
+
prettyLabel: string;
|
|
39
|
+
repoName: string;
|
|
40
|
+
repoUrl: string;
|
|
41
|
+
docsUrl: string;
|
|
42
|
+
};
|
|
43
|
+
pandas: {
|
|
44
|
+
prettyLabel: string;
|
|
45
|
+
repoName: string;
|
|
46
|
+
repoUrl: string;
|
|
47
|
+
docsUrl: string;
|
|
48
|
+
};
|
|
49
|
+
dask: {
|
|
50
|
+
prettyLabel: string;
|
|
51
|
+
repoName: string;
|
|
52
|
+
repoUrl: string;
|
|
53
|
+
docsUrl: string;
|
|
54
|
+
};
|
|
55
|
+
distilabel: {
|
|
56
|
+
prettyLabel: string;
|
|
57
|
+
repoName: string;
|
|
58
|
+
repoUrl: string;
|
|
59
|
+
docsUrl: string;
|
|
60
|
+
};
|
|
61
|
+
fiftyone: {
|
|
62
|
+
prettyLabel: string;
|
|
63
|
+
repoName: string;
|
|
64
|
+
repoUrl: string;
|
|
65
|
+
docsUrl: string;
|
|
66
|
+
};
|
|
67
|
+
argilla: {
|
|
68
|
+
prettyLabel: string;
|
|
69
|
+
repoName: string;
|
|
70
|
+
repoUrl: string;
|
|
71
|
+
docsUrl: string;
|
|
72
|
+
};
|
|
73
|
+
polars: {
|
|
74
|
+
prettyLabel: string;
|
|
75
|
+
repoName: string;
|
|
76
|
+
repoUrl: string;
|
|
77
|
+
docsUrl: string;
|
|
78
|
+
};
|
|
79
|
+
duckdb: {
|
|
80
|
+
prettyLabel: string;
|
|
81
|
+
repoName: string;
|
|
82
|
+
repoUrl: string;
|
|
83
|
+
docsUrl: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export type DatasetLibraryKey = keyof typeof DATASET_LIBRARIES_UI_ELEMENTS;
|
|
87
|
+
//# sourceMappingURL=dataset-libraries.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset-libraries.d.cts","sourceRoot":"","sources":["../src/dataset-libraries.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACvC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DS,CAAC;AAGpD,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataset-libraries.d.ts","sourceRoot":"","sources":["../src/dataset-libraries.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACvC;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DS,CAAC;AAGpD,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { WidgetExample } from "./widget-example";
|
|
2
|
+
import type { WidgetType } from "./pipelines";
|
|
3
|
+
type PerLanguageMapping = Map<WidgetType, string[] | WidgetExample[]>;
|
|
4
|
+
export declare const MAPPING_DEFAULT_WIDGET: Map<string, PerLanguageMapping>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=default-widget-inputs.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-widget-inputs.d.cts","sourceRoot":"","sources":["../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;AAyrBtE,eAAO,MAAM,sBAAsB,iCAejC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"default-widget-inputs.d.ts","sourceRoot":"","sources":["../src/default-widget-inputs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAI9C,KAAK,kBAAkB,GAAG,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,aAAa,EAAE,CAAC,CAAC;AAyrBtE,eAAO,MAAM,sBAAsB,iCAejC,CAAC"}
|
package/dist/gguf.d.cts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare enum GGMLQuantizationType {
|
|
2
|
+
F32 = 0,
|
|
3
|
+
F16 = 1,
|
|
4
|
+
Q4_0 = 2,
|
|
5
|
+
Q4_1 = 3,
|
|
6
|
+
Q5_0 = 6,
|
|
7
|
+
Q5_1 = 7,
|
|
8
|
+
Q8_0 = 8,
|
|
9
|
+
Q8_1 = 9,
|
|
10
|
+
Q2_K = 10,
|
|
11
|
+
Q3_K = 11,
|
|
12
|
+
Q4_K = 12,
|
|
13
|
+
Q5_K = 13,
|
|
14
|
+
Q6_K = 14,
|
|
15
|
+
Q8_K = 15,
|
|
16
|
+
IQ2_XXS = 16,
|
|
17
|
+
IQ2_XS = 17,
|
|
18
|
+
IQ3_XXS = 18,
|
|
19
|
+
IQ1_S = 19,
|
|
20
|
+
IQ4_NL = 20,
|
|
21
|
+
IQ3_S = 21,
|
|
22
|
+
IQ2_S = 22,
|
|
23
|
+
IQ4_XS = 23,
|
|
24
|
+
I8 = 24,
|
|
25
|
+
I16 = 25,
|
|
26
|
+
I32 = 26,
|
|
27
|
+
I64 = 27,
|
|
28
|
+
F64 = 28,
|
|
29
|
+
IQ1_M = 29,
|
|
30
|
+
BF16 = 30
|
|
31
|
+
}
|
|
32
|
+
export declare const GGUF_QUANT_RE: RegExp;
|
|
33
|
+
export declare const GGUF_QUANT_RE_GLOBAL: RegExp;
|
|
34
|
+
export declare function parseGGUFQuantLabel(fname: string): string | undefined;
|
|
35
|
+
//# sourceMappingURL=gguf.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gguf.d.cts","sourceRoot":"","sources":["../src/gguf.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC/B,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,EAAE,KAAK;IACP,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,KAAK,KAAK;IACV,IAAI,KAAK;CACT;AAGD,eAAO,MAAM,aAAa,QAAmF,CAAC;AAC9G,eAAO,MAAM,oBAAoB,QAAiC,CAAC;AAEnE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGrE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gguf.d.ts","sourceRoot":"","sources":["../src/gguf.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC/B,GAAG,IAAI;IACP,GAAG,IAAI;IACP,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,IAAI;IACR,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,IAAI,KAAK;IACT,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,OAAO,KAAK;IACZ,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,KAAK,KAAK;IACV,MAAM,KAAK;IACX,EAAE,KAAK;IACP,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,GAAG,KAAK;IACR,KAAK,KAAK;IACV,IAAI,KAAK;CACT;AAGD,eAAO,MAAM,aAAa,QAAmF,CAAC;AAC9G,eAAO,MAAM,oBAAoB,QAAiC,CAAC;AAEnE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGrE"}
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Biden AI Executive Order
|
|
3
|
+
* https://www.whitehouse.gov/briefing-room/presidential-actions/2023/10/30/executive-order-on-the-safe-secure-and-trustworthy-development-and-use-of-artificial-intelligence/
|
|
4
|
+
*/
|
|
5
|
+
export declare const TFLOPS_THRESHOLD_WHITE_HOUSE_MODEL_TRAINING_TOTAL: number;
|
|
6
|
+
export declare const TFLOPS_THRESHOLD_WHITE_HOUSE_MODEL_TRAINING_TOTAL_BIOLOGY: number;
|
|
7
|
+
export declare const TFLOPS_THRESHOLD_WHITE_HOUSE_CLUSTER: number;
|
|
8
|
+
/**
|
|
9
|
+
* EU AI Act
|
|
10
|
+
* https://ec.europa.eu/commission/presscorner/detail/en/qanda_21_1683
|
|
11
|
+
*/
|
|
12
|
+
export declare const TFLOPS_THRESHOLD_EU_AI_ACT_MODEL_TRAINING_TOTAL: number;
|
|
13
|
+
export interface HardwareSpec {
|
|
14
|
+
/**
|
|
15
|
+
* Approximate value, in FP16 whenever possible.
|
|
16
|
+
* This is only approximate/theoretical and shouldn't be taken too seriously.
|
|
17
|
+
* Currently the CPU values are from cpu-monkey.com
|
|
18
|
+
* while the GPU values are from techpowerup.com
|
|
19
|
+
*
|
|
20
|
+
* Note to reviewers: I got fed up with data entry,
|
|
21
|
+
* and HuggingChat running Llama3 with Web search was failing a bit,
|
|
22
|
+
* so some of those values might be slightly inaccurate. Forgive me and please feel free to improve.
|
|
23
|
+
*/
|
|
24
|
+
tflops: number;
|
|
25
|
+
/**
|
|
26
|
+
* If an array is specified, options of memory size (can be VRAM, unified RAM)
|
|
27
|
+
* e.g. an A100 exists in 40 or 80 GB.
|
|
28
|
+
*/
|
|
29
|
+
memory?: number[];
|
|
30
|
+
}
|
|
31
|
+
export declare const DEFAULT_MEMORY_OPTIONS: number[];
|
|
32
|
+
export declare const SKUS: {
|
|
33
|
+
GPU: {
|
|
34
|
+
NVIDIA: {
|
|
35
|
+
H100: {
|
|
36
|
+
tflops: number;
|
|
37
|
+
memory: number[];
|
|
38
|
+
};
|
|
39
|
+
L40: {
|
|
40
|
+
tflops: number;
|
|
41
|
+
memory: number[];
|
|
42
|
+
};
|
|
43
|
+
"RTX 6000 Ada": {
|
|
44
|
+
tflops: number;
|
|
45
|
+
memory: number[];
|
|
46
|
+
};
|
|
47
|
+
"RTX 5880 Ada": {
|
|
48
|
+
tflops: number;
|
|
49
|
+
memory: number[];
|
|
50
|
+
};
|
|
51
|
+
"RTX 5000 Ada": {
|
|
52
|
+
tflops: number;
|
|
53
|
+
memory: number[];
|
|
54
|
+
};
|
|
55
|
+
"RTX 4500 Ada": {
|
|
56
|
+
tflops: number;
|
|
57
|
+
memory: number[];
|
|
58
|
+
};
|
|
59
|
+
"RTX 4000 Ada": {
|
|
60
|
+
tflops: number;
|
|
61
|
+
memory: number[];
|
|
62
|
+
};
|
|
63
|
+
"RTX 4000 SFF Ada": {
|
|
64
|
+
tflops: number;
|
|
65
|
+
memory: number[];
|
|
66
|
+
};
|
|
67
|
+
"RTX 2000 Ada": {
|
|
68
|
+
tflops: number;
|
|
69
|
+
memory: number[];
|
|
70
|
+
};
|
|
71
|
+
"RTX A4000": {
|
|
72
|
+
tflops: number;
|
|
73
|
+
memory: number[];
|
|
74
|
+
};
|
|
75
|
+
A100: {
|
|
76
|
+
tflops: number;
|
|
77
|
+
memory: number[];
|
|
78
|
+
};
|
|
79
|
+
A40: {
|
|
80
|
+
tflops: number;
|
|
81
|
+
memory: number[];
|
|
82
|
+
};
|
|
83
|
+
A10: {
|
|
84
|
+
tflops: number;
|
|
85
|
+
memory: number[];
|
|
86
|
+
};
|
|
87
|
+
A2: {
|
|
88
|
+
tflops: number;
|
|
89
|
+
memory: number[];
|
|
90
|
+
};
|
|
91
|
+
"RTX 4090": {
|
|
92
|
+
tflops: number;
|
|
93
|
+
memory: number[];
|
|
94
|
+
};
|
|
95
|
+
"RTX 4090D": {
|
|
96
|
+
tflops: number;
|
|
97
|
+
memory: number[];
|
|
98
|
+
};
|
|
99
|
+
"RTX 4080 SUPER": {
|
|
100
|
+
tflops: number;
|
|
101
|
+
memory: number[];
|
|
102
|
+
};
|
|
103
|
+
"RTX 4080": {
|
|
104
|
+
tflops: number;
|
|
105
|
+
memory: number[];
|
|
106
|
+
};
|
|
107
|
+
"RTX 4070": {
|
|
108
|
+
tflops: number;
|
|
109
|
+
memory: number[];
|
|
110
|
+
};
|
|
111
|
+
"RTX 4070 Ti": {
|
|
112
|
+
tflops: number;
|
|
113
|
+
memory: number[];
|
|
114
|
+
};
|
|
115
|
+
"RTX 4070 Super": {
|
|
116
|
+
tflops: number;
|
|
117
|
+
memory: number[];
|
|
118
|
+
};
|
|
119
|
+
"RTX 4070 Ti Super": {
|
|
120
|
+
tflops: number;
|
|
121
|
+
memory: number[];
|
|
122
|
+
};
|
|
123
|
+
"RTX 4060": {
|
|
124
|
+
tflops: number;
|
|
125
|
+
memory: number[];
|
|
126
|
+
};
|
|
127
|
+
"RTX 4060 Ti": {
|
|
128
|
+
tflops: number;
|
|
129
|
+
memory: number[];
|
|
130
|
+
};
|
|
131
|
+
"RTX 3090": {
|
|
132
|
+
tflops: number;
|
|
133
|
+
memory: number[];
|
|
134
|
+
};
|
|
135
|
+
"RTX 3090 Ti": {
|
|
136
|
+
tflops: number;
|
|
137
|
+
memory: number[];
|
|
138
|
+
};
|
|
139
|
+
"RTX 3080": {
|
|
140
|
+
tflops: number;
|
|
141
|
+
memory: number[];
|
|
142
|
+
};
|
|
143
|
+
"RTX 3080 Ti": {
|
|
144
|
+
tflops: number;
|
|
145
|
+
memory: number[];
|
|
146
|
+
};
|
|
147
|
+
"RTX 3070": {
|
|
148
|
+
tflops: number;
|
|
149
|
+
memory: number[];
|
|
150
|
+
};
|
|
151
|
+
"RTX 3070 Ti": {
|
|
152
|
+
tflops: number;
|
|
153
|
+
memory: number[];
|
|
154
|
+
};
|
|
155
|
+
"RTX 3070 Ti Laptop": {
|
|
156
|
+
tflops: number;
|
|
157
|
+
memory: number[];
|
|
158
|
+
};
|
|
159
|
+
"RTX 3060 Ti": {
|
|
160
|
+
tflops: number;
|
|
161
|
+
memory: number[];
|
|
162
|
+
};
|
|
163
|
+
"RTX 3060": {
|
|
164
|
+
tflops: number;
|
|
165
|
+
memory: number[];
|
|
166
|
+
};
|
|
167
|
+
"RTX 2080 Ti": {
|
|
168
|
+
tflops: number;
|
|
169
|
+
memory: number[];
|
|
170
|
+
};
|
|
171
|
+
"RTX 2080": {
|
|
172
|
+
tflops: number;
|
|
173
|
+
memory: number[];
|
|
174
|
+
};
|
|
175
|
+
"RTX 2070": {
|
|
176
|
+
tflops: number;
|
|
177
|
+
memory: number[];
|
|
178
|
+
};
|
|
179
|
+
"RTX 2070 SUPER Mobile": {
|
|
180
|
+
tflops: number;
|
|
181
|
+
memory: number[];
|
|
182
|
+
};
|
|
183
|
+
"RTX 2070 SUPER": {
|
|
184
|
+
tflops: number;
|
|
185
|
+
memory: number[];
|
|
186
|
+
};
|
|
187
|
+
"RTX 3050 Mobile": {
|
|
188
|
+
tflops: number;
|
|
189
|
+
memory: number[];
|
|
190
|
+
};
|
|
191
|
+
"RTX 2060 Mobile": {
|
|
192
|
+
tflops: number;
|
|
193
|
+
memory: number[];
|
|
194
|
+
};
|
|
195
|
+
"GTX 1080 Ti": {
|
|
196
|
+
tflops: number;
|
|
197
|
+
memory: number[];
|
|
198
|
+
};
|
|
199
|
+
"GTX 1070 Ti": {
|
|
200
|
+
tflops: number;
|
|
201
|
+
memory: number[];
|
|
202
|
+
};
|
|
203
|
+
"RTX Titan": {
|
|
204
|
+
tflops: number;
|
|
205
|
+
memory: number[];
|
|
206
|
+
};
|
|
207
|
+
"GTX 1660": {
|
|
208
|
+
tflops: number;
|
|
209
|
+
memory: number[];
|
|
210
|
+
};
|
|
211
|
+
"GTX 1650 Mobile": {
|
|
212
|
+
tflops: number;
|
|
213
|
+
memory: number[];
|
|
214
|
+
};
|
|
215
|
+
T4: {
|
|
216
|
+
tflops: number;
|
|
217
|
+
memory: number[];
|
|
218
|
+
};
|
|
219
|
+
V100: {
|
|
220
|
+
tflops: number;
|
|
221
|
+
memory: number[];
|
|
222
|
+
};
|
|
223
|
+
"Quadro P6000": {
|
|
224
|
+
tflops: number;
|
|
225
|
+
memory: number[];
|
|
226
|
+
};
|
|
227
|
+
P40: {
|
|
228
|
+
tflops: number;
|
|
229
|
+
memory: number[];
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
AMD: {
|
|
233
|
+
MI300: {
|
|
234
|
+
tflops: number;
|
|
235
|
+
memory: number[];
|
|
236
|
+
};
|
|
237
|
+
MI250: {
|
|
238
|
+
tflops: number;
|
|
239
|
+
memory: number[];
|
|
240
|
+
};
|
|
241
|
+
MI210: {
|
|
242
|
+
tflops: number;
|
|
243
|
+
memory: number[];
|
|
244
|
+
};
|
|
245
|
+
MI100: {
|
|
246
|
+
tflops: number;
|
|
247
|
+
memory: number[];
|
|
248
|
+
};
|
|
249
|
+
MI60: {
|
|
250
|
+
tflops: number;
|
|
251
|
+
memory: number[];
|
|
252
|
+
};
|
|
253
|
+
MI50: {
|
|
254
|
+
tflops: number;
|
|
255
|
+
memory: number[];
|
|
256
|
+
};
|
|
257
|
+
"RX 7900 XTX": {
|
|
258
|
+
tflops: number;
|
|
259
|
+
memory: number[];
|
|
260
|
+
};
|
|
261
|
+
"RX 7900 XT": {
|
|
262
|
+
tflops: number;
|
|
263
|
+
memory: number[];
|
|
264
|
+
};
|
|
265
|
+
"RX 7900 GRE": {
|
|
266
|
+
tflops: number;
|
|
267
|
+
memory: number[];
|
|
268
|
+
};
|
|
269
|
+
"RX 7800 XT": {
|
|
270
|
+
tflops: number;
|
|
271
|
+
memory: number[];
|
|
272
|
+
};
|
|
273
|
+
"RX 7700 XT": {
|
|
274
|
+
tflops: number;
|
|
275
|
+
memory: number[];
|
|
276
|
+
};
|
|
277
|
+
"RX 7600 XT": {
|
|
278
|
+
tflops: number;
|
|
279
|
+
memory: number[];
|
|
280
|
+
};
|
|
281
|
+
"RX 6950 XT": {
|
|
282
|
+
tflops: number;
|
|
283
|
+
memory: number[];
|
|
284
|
+
};
|
|
285
|
+
"RX 6800": {
|
|
286
|
+
tflops: number;
|
|
287
|
+
memory: number[];
|
|
288
|
+
};
|
|
289
|
+
"RX 6700 XT": {
|
|
290
|
+
tflops: number;
|
|
291
|
+
memory: number[];
|
|
292
|
+
};
|
|
293
|
+
"RX 6700": {
|
|
294
|
+
tflops: number;
|
|
295
|
+
memory: number[];
|
|
296
|
+
};
|
|
297
|
+
"Radeon Pro VII": {
|
|
298
|
+
tflops: number;
|
|
299
|
+
memory: number[];
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
QUALCOMM: {
|
|
303
|
+
"Snapdragon X Elite X1E-00-1DE": {
|
|
304
|
+
tflops: number;
|
|
305
|
+
};
|
|
306
|
+
"Snapdragon X Elite X1E-84-100": {
|
|
307
|
+
tflops: number;
|
|
308
|
+
};
|
|
309
|
+
"Snapdragon X Elite X1E-80-100": {
|
|
310
|
+
tflops: number;
|
|
311
|
+
};
|
|
312
|
+
"Snapdragon X Elite X1E-78-100": {
|
|
313
|
+
tflops: number;
|
|
314
|
+
};
|
|
315
|
+
"Snapdragon X Plus X1P-64-100": {
|
|
316
|
+
tflops: number;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
CPU: {
|
|
321
|
+
Intel: {
|
|
322
|
+
"Xeon 4th Generation (Sapphire Rapids)": {
|
|
323
|
+
tflops: number;
|
|
324
|
+
};
|
|
325
|
+
"Xeon 3th Generation (Ice Lake)": {
|
|
326
|
+
tflops: number;
|
|
327
|
+
};
|
|
328
|
+
"Xeon 2th Generation (Cascade Lake)": {
|
|
329
|
+
tflops: number;
|
|
330
|
+
};
|
|
331
|
+
"Intel Core 13th Generation (i9)": {
|
|
332
|
+
tflops: number;
|
|
333
|
+
};
|
|
334
|
+
"Intel Core 13th Generation (i7)": {
|
|
335
|
+
tflops: number;
|
|
336
|
+
};
|
|
337
|
+
"Intel Core 13th Generation (i5)": {
|
|
338
|
+
tflops: number;
|
|
339
|
+
};
|
|
340
|
+
"Intel Core 13th Generation (i3)": {
|
|
341
|
+
tflops: number;
|
|
342
|
+
};
|
|
343
|
+
"Intel Core 12th Generation (i9)": {
|
|
344
|
+
tflops: number;
|
|
345
|
+
};
|
|
346
|
+
"Intel Core 12th Generation (i7)": {
|
|
347
|
+
tflops: number;
|
|
348
|
+
};
|
|
349
|
+
"Intel Core 12th Generation (i5)": {
|
|
350
|
+
tflops: number;
|
|
351
|
+
};
|
|
352
|
+
"Intel Core 12th Generation (i3)": {
|
|
353
|
+
tflops: number;
|
|
354
|
+
};
|
|
355
|
+
"Intel Core 11th Generation (i9)": {
|
|
356
|
+
tflops: number;
|
|
357
|
+
};
|
|
358
|
+
"Intel Core 11th Generation (i7)": {
|
|
359
|
+
tflops: number;
|
|
360
|
+
};
|
|
361
|
+
"Intel Core 11th Generation (i5)": {
|
|
362
|
+
tflops: number;
|
|
363
|
+
};
|
|
364
|
+
"Intel Core 11th Generation (i3)": {
|
|
365
|
+
tflops: number;
|
|
366
|
+
};
|
|
367
|
+
"Intel Core 10th Generation (i9)": {
|
|
368
|
+
tflops: number;
|
|
369
|
+
};
|
|
370
|
+
"Intel Core 10th Generation (i7)": {
|
|
371
|
+
tflops: number;
|
|
372
|
+
};
|
|
373
|
+
"Intel Core 10th Generation (i5)": {
|
|
374
|
+
tflops: number;
|
|
375
|
+
};
|
|
376
|
+
"Intel Core 10th Generation (i3)": {
|
|
377
|
+
tflops: number;
|
|
378
|
+
};
|
|
379
|
+
};
|
|
380
|
+
AMD: {
|
|
381
|
+
"EPYC 4th Generation (Genoa)": {
|
|
382
|
+
tflops: number;
|
|
383
|
+
};
|
|
384
|
+
"EPYC 3th Generation (Milan)": {
|
|
385
|
+
tflops: number;
|
|
386
|
+
};
|
|
387
|
+
"EPYC 2th Generation (Rome)": {
|
|
388
|
+
tflops: number;
|
|
389
|
+
};
|
|
390
|
+
"EPYC 1st Generation (Naples)": {
|
|
391
|
+
tflops: number;
|
|
392
|
+
};
|
|
393
|
+
"Ryzen Zen4 7000 (Ryzen 9)": {
|
|
394
|
+
tflops: number;
|
|
395
|
+
};
|
|
396
|
+
"Ryzen Zen4 7000 (Ryzen 7)": {
|
|
397
|
+
tflops: number;
|
|
398
|
+
};
|
|
399
|
+
"Ryzen Zen4 7000 (Ryzen 5)": {
|
|
400
|
+
tflops: number;
|
|
401
|
+
};
|
|
402
|
+
"Ryzen Zen3 5000 (Ryzen 9)": {
|
|
403
|
+
tflops: number;
|
|
404
|
+
};
|
|
405
|
+
"Ryzen Zen3 5000 (Ryzen 7)": {
|
|
406
|
+
tflops: number;
|
|
407
|
+
};
|
|
408
|
+
"Ryzen Zen3 5000 (Ryzen 5)": {
|
|
409
|
+
tflops: number;
|
|
410
|
+
};
|
|
411
|
+
"Ryzen Zen 2 3000 (Threadripper)": {
|
|
412
|
+
tflops: number;
|
|
413
|
+
};
|
|
414
|
+
"Ryzen Zen 2 3000 (Ryzen 9)": {
|
|
415
|
+
tflops: number;
|
|
416
|
+
};
|
|
417
|
+
"Ryzen Zen 2 3000 (Ryzen 7)": {
|
|
418
|
+
tflops: number;
|
|
419
|
+
};
|
|
420
|
+
"Ryzen Zen 2 3000 (Ryzen 5)": {
|
|
421
|
+
tflops: number;
|
|
422
|
+
};
|
|
423
|
+
"Ryzen Zen 2 3000 (Ryzen 3)": {
|
|
424
|
+
tflops: number;
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
"Apple Silicon": {
|
|
429
|
+
"-": {
|
|
430
|
+
"Apple M1": {
|
|
431
|
+
tflops: number;
|
|
432
|
+
memory: number[];
|
|
433
|
+
};
|
|
434
|
+
"Apple M1 Pro": {
|
|
435
|
+
tflops: number;
|
|
436
|
+
memory: number[];
|
|
437
|
+
};
|
|
438
|
+
"Apple M1 Max": {
|
|
439
|
+
tflops: number;
|
|
440
|
+
memory: number[];
|
|
441
|
+
};
|
|
442
|
+
"Apple M1 Ultra": {
|
|
443
|
+
tflops: number;
|
|
444
|
+
memory: number[];
|
|
445
|
+
};
|
|
446
|
+
"Apple M2": {
|
|
447
|
+
tflops: number;
|
|
448
|
+
memory: number[];
|
|
449
|
+
};
|
|
450
|
+
"Apple M2 Pro": {
|
|
451
|
+
tflops: number;
|
|
452
|
+
memory: number[];
|
|
453
|
+
};
|
|
454
|
+
"Apple M2 Max": {
|
|
455
|
+
tflops: number;
|
|
456
|
+
memory: number[];
|
|
457
|
+
};
|
|
458
|
+
"Apple M2 Ultra": {
|
|
459
|
+
tflops: number;
|
|
460
|
+
memory: number[];
|
|
461
|
+
};
|
|
462
|
+
"Apple M3": {
|
|
463
|
+
tflops: number;
|
|
464
|
+
memory: number[];
|
|
465
|
+
};
|
|
466
|
+
"Apple M3 Pro": {
|
|
467
|
+
tflops: number;
|
|
468
|
+
memory: number[];
|
|
469
|
+
};
|
|
470
|
+
"Apple M3 Max": {
|
|
471
|
+
tflops: number;
|
|
472
|
+
memory: number[];
|
|
473
|
+
};
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
export type SkuType = keyof typeof SKUS;
|
|
478
|
+
//# sourceMappingURL=hardware.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hardware.d.cts","sourceRoot":"","sources":["../src/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAAqD,CAAC;AAEzF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4buD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hardware.d.ts","sourceRoot":"","sources":["../src/hardware.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iDAAiD,QAAW,CAAC;AAC1E,eAAO,MAAM,yDAAyD,QAAW,CAAC;AAClF,eAAO,MAAM,oCAAoC,QAAU,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,+CAA+C,QAAW,CAAC;AAExE,MAAM,WAAW,YAAY;IAC5B;;;;;;;;;OASG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,eAAO,MAAM,sBAAsB,UAAqD,CAAC;AAEzF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4buD,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,IAAI,CAAC"}
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { LIBRARY_TASK_MAPPING } from "./library-to-tasks";
|
|
2
|
+
export { MAPPING_DEFAULT_WIDGET } from "./default-widget-inputs";
|
|
3
|
+
export type { TaskData, TaskDemo, TaskDemoEntry, ExampleRepo } from "./tasks";
|
|
4
|
+
export * from "./tasks";
|
|
5
|
+
export { PIPELINE_DATA, PIPELINE_TYPES, type WidgetType, type PipelineType, type PipelineData, type Modality, MODALITIES, MODALITY_LABELS, SUBTASK_TYPES, PIPELINE_TYPES_SET, } from "./pipelines";
|
|
6
|
+
export { ALL_DISPLAY_MODEL_LIBRARY_KEYS, ALL_MODEL_LIBRARY_KEYS, MODEL_LIBRARIES_UI_ELEMENTS } from "./model-libraries";
|
|
7
|
+
export type { LibraryUiElement, ModelLibraryKey } from "./model-libraries";
|
|
8
|
+
export type { ModelData, TransformersInfo } from "./model-data";
|
|
9
|
+
export type { AddedToken, SpecialTokensMap, TokenizerConfig } from "./tokenizer-data";
|
|
10
|
+
export type { WidgetExample, WidgetExampleAttribute, WidgetExampleAssetAndPromptInput, WidgetExampleAssetAndTextInput, WidgetExampleAssetAndZeroShotInput, WidgetExampleAssetInput, WidgetExampleChatInput, WidgetExampleSentenceSimilarityInput, WidgetExampleStructuredDataInput, WidgetExampleTableDataInput, WidgetExampleTextAndContextInput, WidgetExampleTextAndTableInput, WidgetExampleTextInput, WidgetExampleZeroShotTextInput, WidgetExampleOutput, WidgetExampleOutputUrl, WidgetExampleOutputLabels, WidgetExampleOutputAnswerScore, WidgetExampleOutputText, } from "./widget-example";
|
|
11
|
+
export { SPECIAL_TOKENS_ATTRIBUTES } from "./tokenizer-data";
|
|
12
|
+
import * as snippets from "./snippets";
|
|
13
|
+
export * from "./gguf";
|
|
14
|
+
export { snippets };
|
|
15
|
+
export { SKUS, DEFAULT_MEMORY_OPTIONS } from "./hardware";
|
|
16
|
+
export type { HardwareSpec, SkuType } from "./hardware";
|
|
17
|
+
export { LOCAL_APPS } from "./local-apps";
|
|
18
|
+
export type { LocalApp, LocalAppKey, LocalAppSnippet } from "./local-apps";
|
|
19
|
+
export { DATASET_LIBRARIES_UI_ELEMENTS } from "./dataset-libraries";
|
|
20
|
+
export type { DatasetLibraryUiElement, DatasetLibraryKey } from "./dataset-libraries";
|
|
21
|
+
//# sourceMappingURL=index.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC9E,cAAc,SAAS,CAAC;AACxB,OAAO,EACN,aAAa,EACb,cAAc,EACd,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,UAAU,EACV,eAAe,EACf,aAAa,EACb,kBAAkB,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AACxH,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACtF,YAAY,EACX,aAAa,EACb,sBAAsB,EACtB,gCAAgC,EAChC,8BAA8B,EAC9B,kCAAkC,EAClC,uBAAuB,EACvB,sBAAsB,EACtB,oCAAoC,EACpC,gCAAgC,EAChC,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,sBAAsB,EACtB,8BAA8B,EAC9B,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,8BAA8B,EAC9B,uBAAuB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,cAAc,QAAQ,CAAC;AAEvB,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EAAE,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC9E,cAAc,SAAS,CAAC;AACxB,OAAO,EACN,aAAa,EACb,cAAc,EACd,KAAK,UAAU,EACf,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,UAAU,EACV,eAAe,EACf,aAAa,EACb,kBAAkB,GAClB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AACxH,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC3E,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChE,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACtF,YAAY,EACX,aAAa,EACb,sBAAsB,EACtB,gCAAgC,EAChC,8BAA8B,EAC9B,kCAAkC,EAClC,uBAAuB,EACvB,sBAAsB,EACtB,oCAAoC,EACpC,gCAAgC,EAChC,2BAA2B,EAC3B,gCAAgC,EAChC,8BAA8B,EAC9B,sBAAsB,EACtB,8BAA8B,EAC9B,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,EACzB,8BAA8B,EAC9B,uBAAuB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,cAAc,QAAQ,CAAC;AAEvB,OAAO,EAAE,QAAQ,EAAE,CAAC;AAEpB,OAAO,EAAE,IAAI,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AAC1D,YAAY,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ModelLibraryKey } from "./model-libraries";
|
|
2
|
+
import type { PipelineType } from "./pipelines";
|
|
3
|
+
/**
|
|
4
|
+
* Mapping from library name to its supported tasks.
|
|
5
|
+
* Inference API (serverless) should be disabled for all other (library, task) pairs beyond this mapping.
|
|
6
|
+
* This mapping is partially generated automatically by "python-api-export-tasks" action in
|
|
7
|
+
* huggingface/api-inference-community repo upon merge. For transformers, the mapping is manually
|
|
8
|
+
* based on api-inference (hf_types.rs).
|
|
9
|
+
*/
|
|
10
|
+
export declare const LIBRARY_TASK_MAPPING: Partial<Record<ModelLibraryKey, PipelineType[]>>;
|
|
11
|
+
//# sourceMappingURL=library-to-tasks.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"library-to-tasks.d.cts","sourceRoot":"","sources":["../src/library-to-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,YAAY,EAAE,CAAC,CAiEjF,CAAC"}
|