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

Interprets medical text and images, with clinical reasoning, tool calling, and retrieval-based grounding for developer workflows. This 26B mixture-of-experts variant targets on-premises and private-cloud deployments; its outputs require independent validation and are not for direct clinical decisions.

Hugging Face
AI Model2026

Provides FP8-quantized weights for a multimodal model that handles text and image inputs with a native one-million-token context. Hybrid attention and sparse experts reduce inference compute, though long-context deployment still requires substantial hardware resources.

Hugging Face
AI Model2026

Runs work, coding, and tool-use agent tasks locally on phones, PCs, and other edge devices. Its sparse MoE design activates 2.5B of 15B total parameters per token and supports contexts up to 524K tokens.