UNPKG

@huggingface/tasks

Version:
69 lines (63 loc) 2.2 kB
export { LIBRARY_TASK_MAPPING } from "./library-to-tasks.js"; export { MAPPING_DEFAULT_WIDGET } from "./default-widget-inputs.js"; export type { TaskData, TaskDemo, TaskDemoEntry, ExampleRepo } from "./tasks/index.js"; export * from "./tasks/index.js"; export { PIPELINE_DATA, PIPELINE_TYPES, type WidgetType, type PipelineType, type PipelineData, type Modality, MODALITIES, MODALITY_LABELS, SUBTASK_TYPES, PIPELINE_TYPES_SET, } from "./pipelines.js"; export { ALL_DISPLAY_MODEL_LIBRARY_KEYS, ALL_MODEL_LIBRARY_KEYS, MODEL_LIBRARIES_UI_ELEMENTS, } from "./model-libraries.js"; export type { LibraryUiElement, ModelLibraryKey } from "./model-libraries.js"; export type { ModelData, TransformersInfo } from "./model-data.js"; export type { AddedToken, SpecialTokensMap, TokenizerConfig } from "./tokenizer-data.js"; export type { WidgetExample, WidgetExampleAttribute, WidgetExampleAssetAndPromptInput, WidgetExampleAssetAndTextInput, WidgetExampleAssetAndZeroShotInput, WidgetExampleAssetInput, WidgetExampleChatInput, WidgetExampleSentenceSimilarityInput, WidgetExampleStructuredDataInput, WidgetExampleTableDataInput, WidgetExampleTextAndContextInput, WidgetExampleTextAndTableInput, WidgetExampleTextInput, WidgetExampleZeroShotTextInput, WidgetExampleOutput, WidgetExampleOutputUrl, WidgetExampleOutputLabels, WidgetExampleOutputAnswerScore, WidgetExampleOutputText, } from "./widget-example.js"; export { SPECIAL_TOKENS_ATTRIBUTES } from "./tokenizer-data.js"; export * from "./gguf.js"; export { type InferenceSnippet, type InferenceSnippetLanguage, type ModelDataMinimal, inferenceSnippetLanguages, stringifyGenerationConfig, stringifyMessages, getModelInputSnippet, } from "./snippets/index.js"; export { SKUS, DEFAULT_MEMORY_OPTIONS } from "./hardware.js"; export type { HardwareSpec, SkuType } from "./hardware.js"; export { LOCAL_APPS } from "./local-apps.js"; export type { LocalApp, LocalAppKey, LocalAppSnippet } from "./local-apps.js"; export { DATASET_LIBRARIES_UI_ELEMENTS } from "./dataset-libraries.js"; export type { DatasetLibraryUiElement, DatasetLibraryKey } from "./dataset-libraries.js"; export * from "./inference-providers.js";