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

Scans long documents rendered as compressed page-images, locates relevant pages, and selectively expands only those pages to full text for question answering; built on Qwen3.5-9B, supports 5x/10x/15x compression and is released under Apple’s research-only model license.

Hugging Face
AI Model2026

Converts multimodal inputs (text, image, audio, video) plus a question and options into calibrated probability distributions over choices. Built on Gemma 4 12B with a 30,000-question fine-tune, optimized for per-question decision classification and low-latency inference (Apache-2.0).

Hugging Face
AI Image2026

A distilled LoRA adapter for Qwen-Image-2.1 that runs text-to-image generation and instruction-driven image editing in a few transformer passes (shipped as a 6-step r256 LoRA). Samples with a fixed sigma schedule, no classifier-free guidance; non-commercial research license.