@huggingface/tasks
Version:
List of ML tasks for huggingface.co/tasks
22 lines (19 loc) • 446 B
text/typescript
import type { TaskDataCustom } from "../index.js";
const taskData: TaskDataCustom = {
datasets: [],
demo: {
inputs: [],
outputs: [],
},
isPlaceholder: true,
metrics: [],
models: [],
spaces: [],
summary: "",
widgetModels: [],
youtubeId: undefined,
/// If this is a subtask, link to the most general task ID
/// (eg, text-generation is the canonical ID of text-simplification)
canonicalId: undefined,
};
export default taskData;