Using Pipeline import Pipeline from "https://esm.town/v/iamseeley/pipeline";
const pipeline = new Pipeline("task", "model");
const result = await pipeline.run(inputs);
exampleTranslation exampleTextClassification exampleFeatureExtraction exampleTextGeneration exampleSummarization exampleQuestionAnswering