KOSMOS1Options

Options & Configuration · AiDotNet.VisionLanguage.Generative

Options for KOSMOS-1 (Huang et al. 2023, “Language Is Not All You Need: Aligning Perception with Language Models”).

Inheritance: ModelOptions → GenerativeVLMOptions → KosmosOptions → KOSMOS1Options

How It Works

KOSMOS-1 has no released code. The defaults follow the paper:

  • A MAGNETO decoder with xPos relative positions and a 64K vocabulary.
  • A CLIP ViT-L/14 image encoder.
  • A Flamingo-style perceiver resampler with 64 latents. Its depth follows Flamingo (6), because the

paper does not state one.

Constructors

Constructor Summary
KOSMOS1Options() Initializes the options with the paper’s values.
KOSMOS1Options(KOSMOS1Options other) Initializes a new instance by copying from another instance.

Properties

Property Summary
int ResamplerDepth { get; set; } Gets or sets the perceiver resampler depth.