Downloads · 30 days
11
6% of all-time downloads
Felladrin/onnx-flan-t5-base-samsum
onnx-flan-t5-base-samsum is a machine learning model from Felladrin. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.js. The card lists the license as apache-2.0.
INT8 ONNX version of philschmid/flan-t5-base-samsum to use with Transformers.js.
Downloads · 30 days
11
6% of all-time downloads
All-time downloads
200
Public
Repo size
2.9 GB
Likes
0
Public
Click a slice to open those files.
.onnx2.9 GB · 100%
From the Hugging Face model README
INT8 ONNX version of philschmid/flan-t5-base-samsum to use with Transformers.js.
import { pipeline } from '@xenova/transformers';
const generator = await pipeline('text2text-generation', 'Felladrin/onnx-flan-t5-base-samsum');
const output = await generator("Val: it's raining! Candy: I know, just started... Val: r we going? we will be wet Candy: maybe wait a little? see if stops Val: ok. let's wait half h and than see Candy: god idea, I call u then Val: great :)", { add_special_tokens: true, max_new_tokens: 60, repetition_penalty: 1.2});
console.log(output); // It's raining. Val and Candy will wait half an hour and then see if...