ModelHub XC 4876251e89 初始化项目,由ModelHub XC社区提供模型
Model: swadeshb/Qwen2.5-3B-scopd-teacher
Source: Original Platform
2026-07-24 08:20:11 +08:00

base_model, library_name, model_name, tags, licence
base_model library_name model_name tags licence
Qwen/Qwen2.5-3B transformers Qwen2.5-3B-scopd-teacher
generated_from_trainer
trl
distillation
license

Model Card for Qwen2.5-3B-scopd-teacher

This model is a fine-tuned version of Qwen/Qwen2.5-3B. It has been trained using TRL.

Quick start

from transformers import pipeline

question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="swadeshb/Qwen2.5-3B-scopd-teacher", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])

Training procedure

Visualize in Weights & Biases

This model was trained with Distillation, a method introduced in On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes.

Framework versions

  • TRL: 1.6.0
  • Transformers: 4.57.6
  • Pytorch: 2.11.0+cu130
  • Datasets: 4.8.5
  • Tokenizers: 0.22.2

Citations

Cite Distillation as:

@inproceedings{agarwal2024on-policy,
    title        = {{On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes}},
    author       = {Rishabh Agarwal and Nino Vieillard and Yongchao Zhou and Piotr Stanczyk and Sabela Ramos Garea and Matthieu Geist and Olivier Bachem},
    year         = 2024,
    booktitle    = {The Twelfth International Conference on Learning Representations, {ICLR} 2024, Vienna, Austria, May 7-11, 2024},
    publisher    = {OpenReview.net},
    url          = {https://openreview.net/forum?id=3zKtaqxLhW},
}

Cite TRL as:

@software{vonwerra2020trl,
  title   = {{TRL: Transformers Reinforcement Learning}},
  author  = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
  license = {Apache-2.0},
  url     = {https://github.com/huggingface/trl},
  year    = {2020}
}
Description
Model synced from source: swadeshb/Qwen2.5-3B-scopd-teacher
Readme 2 MiB
Languages
Jinja 100%