Graph
BART

🤖BART

NEW

Also known as: Bidirectional and Auto-Regressive Transformers

A sequence-to-sequence transformer combining a bidirectional encoder and autoregressive decoder, pretrained with denoising objectives for generation and understanding tasks.

DESCRIPTION

BART (Bidirectional and Auto-Regressive Transformers) merges BERT-style encoders with GPT-style decoders in an encoder–decoder architecture. It is pretrained as a denoising autoencoder using text corruption and reconstruction tasks, then fine-tuned for summarization, translation, and QA. BART excels at sequence generation while retaining strong comprehension capabilities. Many open implementations exist via Hugging Face Transformers. Variants and checkpoints target specific domains or efficiency.

ALTERNATIVE DEFINITIONS

Lewis et al. (Facebook AI)

We present BART, a denoising autoencoder for pretraining sequence-to-sequence models. It combines a bidirectional encoder (like BERT) and a left-to-right decoder (like GPT).

Defines BART’s architecture and denoising pretraining objective.

Source

Hugging Face

BART is a sequence-to-sequence model that uses a standard Transformer-based architecture with a bidirectional encoder and an autoregressive decoder, trained with denoising objectives.

Highlights encoder–decoder and denoising training in practical documentation.

Source

Transformer Model Encoder-Decoder Sequence-to-Sequence Denoising Autoencoder Pretraining Fine-Tuning

COMPETING TERMS

T5 BERT GPT

RELATIONS

KNOWLEDGE AREAS

AI Data Science MLOps

TARGET AUDIENCE

AI Engineer Data Scientist MLOps Engineer AI Product Manager

EXTERNAL SOURCES

TOP QUESTIONS

Why choose BART for text summarization?

Its encoder–decoder architecture and denoising pretraining yield strong generation quality with robust understanding, making it well-suited to abstractive summarization tasks.

Category: Relevancy

How is BART pretrained?

BART uses text corruption schemes (e.g., token masking, deletion, sentence permutation) and learns to reconstruct the original sequence via its encoder–decoder.

Category: Requirements

What is a common mistake when fine-tuning BART?

Neglecting length penalties and coverage leads to repetitive outputs. Proper decoding strategies and data preprocessing improve generation quality.

Category: Mistakes

How does BART compare to T5?

Both are encoder–decoder models; T5 frames tasks via text-to-text with C4 pretraining, while BART emphasizes denoising autoencoding corruptions.

Category: Alternatives

What decoding strategies are effective with BART?

Use beam search with length normalization, top-k/top-p sampling for creative tasks, and coverage controls to reduce repetition.

Category: Management

What is the biggest misunderstanding about BART’s encoder?

Some assume it’s identical to BERT; while similar, BART’s training objective and integration with the decoder differ from BERT’s masked LM.

Category: Misunderstanding

Can BART be used for classification?

Yes, use the encoder for representation learning and fine-tune classification heads; however, encoder–decoder excels at generation.

Category: Opinion

What risks arise from poor dataset quality when training BART?

Models learn spurious patterns and hallucinate. Curate clean datasets, evaluate for bias, and monitor output faithfulness.

Category: Risks

Where to start implementing BART?

Use Hugging Face Transformers examples, pretrained checkpoints, and follow best practices for tokenization, training schedules, and evaluation.

Category: Overview