HubCloneHubClone

topic-router-jax

topic-router-jax is a zero shot classification model. It was released by draftline with 184M parameters.

Model details

Model description

  • Developed by: draftline
  • Model type: llama (Zero Shot Classification)
  • Parameters: 184M
  • Language(s): English (primary), multilingual
  • License: apache-2.0

Model sources

  • Repository: draftline/topic-router-jax
  • Report: coming soon

Uses

Direct use

topic-router-jax can be used out of the box for zero shot classification. Typical uses include prototyping, research on generative media, and building applications on top of the released weights.

Out-of-scope use

The model should not be used to generate content that violates the license, to impersonate real people, or for high-stakes decisions without human review.

How to use

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "draftline/topic-router-jax"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype="auto", device_map="auto")

messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
outputs = model.generate(inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))

Training data

The model was trained on a mixture of 22T tokens of licensed, publicly available and synthetic data, followed by supervised fine-tuning and preference optimization. Data was filtered for quality, deduplicated and decontaminated against the evaluation sets listed below.

Evaluation

Benchmarktopic-router-jaxPrevious release
MMLU-Pro63.455.8
GPQA Diamond73.567.0
LiveCodeBench v776.970.6
AIME 202660.158.6
IFEval64.658.8

Scores are self-reported by the authors with greedy decoding unless stated otherwise.

Limitations and bias

Like other models of its class, topic-router-jax can produce inaccurate or biased outputs. Evaluate it on your own use case before deploying it.

Citation

@misc{draftline2026topicrouterjax,
  title  = {topic-router-jax},
  author = {draftline Team},
  year   = {2026},
  note   = {Model card}
}