Downloads · 30 days
30
31% of all-time downloads
inference4j/distilbart-cnn-12-6
distilbart-cnn-12-6 is a summarization model from inference4j. Use it when you need a shorter version of a longer text. It is set up for onnx. The card lists the license as apache-2.0.
ONNX export of DistilBART CNN 12-6 (306M parameters) with encoder-decoder architecture and KV cache support.
Downloads · 30 days
30
31% of all-time downloads
All-time downloads
96
Public
Repo size
2.4 GB
Likes
0
Public
Click a slice to open those files.
.onnx2.4 GB · 100%
From the Hugging Face model README
ONNX export of DistilBART CNN 12-6 (306M parameters) with encoder-decoder architecture and KV cache support.
A distilled version of BART Large CNN, fine-tuned for text summarization on the CNN/DailyMail dataset.
Converted for use with inference4j, an inference-only AI library for Java.
try (var summarizer = BartSummarizer.distilBartCnn().build()) {
System.out.println(summarizer.summarize("Long article text..."));
}
| Property | Value |
|---|---|
| Architecture | BART encoder-decoder (306M parameters, 12 encoder + 6 decoder layers) |
| Task | Text summarization |
| Training data | CNN/DailyMail |
| Tokenizer | BPE (50,265 tokens) |
| Original framework | PyTorch (transformers) |
| Export method | Hugging Face Optimum (encoder-decoder with KV cache) |
This model is licensed under the Apache License 2.0. Original model by Sam Shleifer.