Skip to content
StackDecode
LLM Library
Mixture of expertsClosed (API only)Architecture animation

Gemini 1.5

A natively multimodal family with a very long context window.

At a glance

Made by
Google DeepMind
Released
2024
Type
Mixture of experts
Access
Closed (API only)
Parameters
Not published
Active per token
Not published
Context window
Up to 1M tokens (2M later)
Attention
Not published in detail

How it works

Google's report describes a sparse mixture-of-experts transformer that handles text, images, audio and video in one model and can use a million tokens of context.

Architecture, step by step

This lab has not published the architecture, so this is a generic stack shown for illustration only.

× N layersText inTokenizerEmbedding + positionNormSelf-attentionAdd (residual)NormRouter picks top-k expertsSelected experts (MLPs)Add (residual)Final normLM head (vocabulary scores)Softmax, then sample next token

Raw text enters the system, for example "The cat sat on the".

stage:
1/13
part:
Text in
1/13

The green dot is one token travelling through the model. The boxed section repeats for every layer.

What stands out

  • Multimodal from the start
  • Mixture of experts (per the technical report)
  • Very long context

Keep in mind

Exact size and architecture details are not disclosed.

Related models