f
bart-large-cnn Beta
Summarization • facebookBART is a transformer encoder-encoder (seq2seq) model with a bidirectional (BERT-like) encoder and an autoregressive (GPT-like) decoder. You can use this model for text summarization.
Usage
Workers - TypeScript
curl
Parameters
Input
-
input_text
string min 1The text that you want the model to summarize
-
max_length
integer default 1024The maximum length of the generated summary in tokens
Output
-
summary
stringThe summarized version of the input text
API Schemas
The following schemas are based on JSON Schema