An architecture walkthrough

From input
to embedding.

We went through the backbone, vision encoder, and audio encoder one package at a time to understand their layers and check that the Core ML exports matched PyTorch.

Shared backbone

Text tokens and media vectors enter one sequence. The backbone encodes it, averages the real tokens, and projects and normalizes the result.

Explore the shared backbone →

Vision encoder

The vision encoder turns an image or video frame into tokens for the shared backbone.

Explore the vision encoder →

Audio encoder

The pipeline turns a waveform into log-mel features. The encoder reduces the time axis before using local attention and projecting to 512 values per token.

Explore the audio encoder →

Pipeline

The Python pipeline prepares the request, calls the encoders it needs, and sends one ordered sequence to the backbone.

Explore the pipeline →