liveBook · Manning

BART

BART is a denoising sequence-to-sequence Transformer model with a bidirectional encoder and an autoregressive decoder.

How 2 Manning books explain it

Build a Text-to-Image Generator (from Scratch)

BART is a denoising sequence-to-sequence transformer model whose encoder is bidirectional and whose decoder is autoregressive.

How it is used
Maps text prompts to image-token sequences within a transformer-based text-to-image generation pipeline.
How deep it goes
Explains encoder-decoder roles, token flow, training alignment, and autoregressive prediction, stopping short of internal layer implementation.
Examples
Uses paired image-caption data, discrete image tokens, and the prompt “panda with a top hat reading a book.”
What you can do after
Build it from scratch as a text-to-image pipeline that encodes prompts, predicts image tokens, and reconstructs images.

Read how Build a Text-to-Image Generator (from Scratch) explains BART →

Causal AI

BART is a denoising sequence-to-sequence transformer language model developed for generating text from input text.

How it is used
Uses BART to represent conditional causal Markov kernels over generated text.
How deep it goes
Explains sequence mapping, fine-tuning, tokenization, training, generation, and log probabilities, but does not derive Transformer internals.
Examples
Uses King, Prince, and Kingdom action vignettes as paired inputs, targets, and generated story components.
What you can do after
Builds and fine-tunes BART sequence-to-sequence models with Hugging Face Transformers for conditional text generation.

Read how Causal AI explains BART →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.