export interface Section { | |
title: string | |
items: string[] | |
} | |
export interface ClassificationOutput { | |
sequence: string | |
labels: string[] | |
scores: number[] | |
} | |
export interface WorkerMessage { | |
status: 'initiate' | 'ready' | 'output' | 'complete' | 'progress' | |
output?: any | |
} | |
export interface ZeroShotWorkerInput { | |
text: string | |
labels: string[] | |
model: string | |
} | |
export interface TextClassificationWorkerInput { | |
text: string | |
model: string | |
} | |
export type AppStatus = 'idle' | 'loading' | 'processing' | |
export interface ModelInfo { | |
name: string | |
architecture: string | |
parameters: number | |
likes: number | |
downloads: number | |
} | |