AIAny
AI Model2026
Icon for item

CLM-v0.1-8B

Scores candidate actions against a textual state using contrastive state/action embeddings for very fast zero-shot ranking and typed decision-making. Built as two small projection heads on frozen Qwen3-8B; fine-tunable as a verifier for agentic benchmarks.

Introduction

CLM offers a different way to make decisions with language models: instead of generating text, it learns a joint embedding space where a state is pulled toward the correct action and pushed away from alternatives. That reframing makes verification and ranking orders of magnitude cheaper at serving time, because fresh inputs only require one embedding and comparisons reduce to dot products against cached action embeddings.

Key Capabilities
  • Contrastive state↔action scoring: trains separate state and action encoders (frozen LLM backbones + small projection heads) with an InfoNCE objective so the model can directly score candidate actions given a state.
  • Extremely cheap inference at scale: action embeddings are cached and reused; with ~1k candidates CLM is reported to be an order of magnitude faster than generative verifiers, with much lower latency in tool-calling and long-horizon tasks.
  • Practical fine-tuning path: only the projection heads are trained, so adapting to downstream verifier tasks is compute- and data-efficient; fine-tuned CLM heads reached SOTA on DeepSWE and Terminal-Bench 2.1 in reported evaluations.
  • Deterministic, typed decisions: supports typed questions (choices, scores, noul) and probability-like rankings over a provided candidate set rather than open-ended generation.
Who it's for and trade-offs

Great fit if you need fast, repeatable ranking or verification across many cached candidates (e.g., tool selection, action ranking in agents, reranking best-of-N outputs) and want a light-weight fine-tuning surface. Look elsewhere if you need free-form generation, multimodal grounding (this checkpoint is encoder-locked), or models that generalize without the specific Qwen3-8B last-token-pooling setup. The approach trades generative flexibility for scalability and inference cost predictability.

Where it fits

Positioned as a "System One" verifier/reranker for agentic systems: complements generative LLMs by offloading the scoring/selection role to a contrastive matcher that scales to many candidates and long-horizon decision problems.

Practical notes

Training recipe emphasizes large-scale Q&A pretraining, synthetic hard negatives, and agentic trace post-training. The provided checkpoint is designed to be served with Qwen3-8B embeddings and a small CLM head; replication requires matching encoder and pooling semantics.

Information

  • Websitehuggingface.co
  • OrganizationsContrastive-LM
  • AuthorsJacky Kwok, Hangoo Kang, Tarun Suresh, Jon Saad-Falcon, Marco Pavone, Christopher Ré, Azalia Mirhoseini
  • Published date2026/09/21

Categories

More Items

Hugging Face
AI Model2026

Turns images into structured visual data—scene descriptions, objects, text, masks, and spatial relations—on local devices. Its quantized model is about 22 MB, targeting phones, wearables, and robots.

Hugging Face
AI Audio2026

Turns English text into speech, with normalization for natural readings of numbers, dates, prices, and codes. The 40.6 MB model runs locally on a CPU with NumPy and includes Juno and Mira voices.

Hugging Face
AI Model2026

Provides GGUF quantizations of a refusal-ablated Gemma 4 31B instruction model, with options spanning file size and precision plus separate image-processing components.