﻿# How can you tell which teacher scored a TRL distillation example?

How can you tell which teacher scored a TRL distillation example? Release a distilled checkpoint with its data assignment and teacher revisions.

Author: Retrivium editorial team
Updated: 2026-11-29
Canonical URL: https://retrivium.ai/journal/research-20261129-trl-multi-teacher-reproducibility/
Language: en

TRL v1.19.0, released November 25, lets DistillationTrainer select among named teachers using the example's teacher_id. This makes teacher assignment an explicit part of the dataset. Results still depend on the teacher revisions and the composition of each group.

## What the source establishes

A task category and a teacher assignment serve different purposes. Persist the assignment with the example and version mapping so experiments can reconstruct which model scored each answer. Pin the dataset split, checkpoint, software environment and training settings for the comparison.

## Design the comparison

Prepare familiar tasks split across teachers. Shuffle the dataset while keeping example IDs constant and confirm assignment stays stable. Include a held-out group of similar examples scored under the same teacher mapping. Repeat a short matched run before spending the full compute budget. Record the inputs to scoring and the outcome on held-out cases.

## Read the results

Report task results and the number of examples scored by each teacher. Investigate unexpected coverage and changes in agreement before attributing aggregate improvement to the student. Report throughput and task quality on distinct axes. Watch for effects introduced by different sequence lengths, data filtering or training schedules. Collect the primary outcome together with a measure of workload size. Preserve errors, timeouts and explicit fallbacks in the reported population. A median from successful samples can conceal a subgroup that operates on a different path. Store enough diagnostic context for another engineer to explain which part of the system caused the difference.

## Decide what goes into service

Release a distilled checkpoint with its data assignment and teacher revisions. Reproduce results on individual task groups before combining them. State the acceptance threshold before choosing the implementation. Add the tested boundary and conditions for revisiting it to the release record. If an observed behavior differs from expectations, narrow the scope of the rollout while collecting evidence for that case. Keep the prior artifact or configuration available so the comparison remains repeatable.

## Sources

- [Primary source · trl #7215](https://github.com/huggingface/trl/pull/7215)
- [Primary source · trl v1.19.0](https://github.com/huggingface/trl/releases/tag/v1.19.0)

## Related reading

- [Compare a swarm with a single-agent control on the same task](/journal/frontier-swarm-single-agent-evaluation-control/)
- [WikiText: preserve the original tokenization contract](/journal/data-guide-wikitext-tokenization-contract/)
