@huggingface/tasks
Version:
List of ML tasks for huggingface.co/tasks
79 lines (70 loc) • 2.69 kB
text/typescript
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 type { AmdGpuHardwareSpec } from "./hardware-amd.js";
export type { NvidiaHardwareSpec } from "./hardware-nvidia.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 { KERNEL_LIBRARIES_UI_ELEMENTS } from "./kernel-libraries.js";
export type { KernelLibraryKey, KernelLibraryUiElement } from "./kernel-libraries.js";
export * from "./inference-providers.js";
export { EVALUATION_FRAMEWORKS } from "./eval.js";
export { AGENT_HARNESSES, STANDARD_AGENT_ENV_VARS } from "./agent-harnesses.js";
export type { AgentHarness, AgentHarnessKey } from "./agent-harnesses.js";