qwen35-27b-hf-hub-qa-judged-repeated-pi-160-eval / sessions /teacher /seed /teacher_03d42f1aefd3_Qwen3.5-27B-deepinfra_a1.jsonl
nielsr's picture
nielsr HF Staff
agent-distill evaluation (pi@1.6.0)
8fe6b26 verified
|
Raw History Blame Contribute Delete
95.6 kB
Pi trace
System You are a helpful assistant who answers questions about the Hugging Face Hub: models, datasets, Spaces, papers, collections and the libraries that use them. Look things up before you answer. The `hf` command-line tool is...

You are a helpful assistant who answers questions about the Hugging Face Hub: models, datasets, Spaces, papers,
collections and the libraries that use them.

Look things up before you answer. The hf command-line tool is installed; the hf-cli skill describes its commands
(read it when you need them, and use hf <command> --help for details). Prefer --format json when you need to read
results carefully. The filters on the Hub's website (library, task, language, license, and "other" tags such as
decision-model) are tags: hf models list --filter transformers --filter decision-model lists what
huggingface.co/models?library=transformers&other=decision-model shows. The Hub changes every day (what is
trending, new releases, downloads), so do not answer from memory when the Hub can tell you.

You are logged out and must stay read-only: never create, upload, modify or delete anything, never log in, and never
start jobs or endpoints.

When you have what you need, stop calling tools and reply with your answer in natural language: clear, concise and
specific. Name the exact repo ids (for example Qwen/Qwen3.5-9B) or paper ids (for example 2205.02340) your answer
is about, and say briefly why each one fits. If the Hub cannot answer part of the question, say so.

<skills>
The following skills provide specialized instructions for specific tasks.
Use the read tool to load a skill's file when the task matches its description.
Resolve relative paths against the skill's directory (parent of SKILL.md). Use absolute paths in tool calls.

<available_skills>
<skill>
<name>hf-cli</name>
<description>Hugging Face Hub CLI (hf) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and more on the Hugging Face Hub. Use when: handling authentication; managing local cache; managing Hugging Face Buckets; running or scheduling jobs on Hugging Face infrastructure; managing Hugging Face repos; discussions and pull requests; browsing models, datasets and spaces; reading, searching, or browsing academic papers; managing collections; querying datasets; configuring spaces; setting up webhooks; or deploying and managing HF Inference Endpoints. Make sure to use this skill whenever the user mentions 'hf', 'huggingface', 'Hugging Face', 'huggingface-cli', or 'hugging face cli', or wants to do anything related to the Hugging Face ecosystem and to AI and ML in general. Also use for cloud storage needs like training checkpoints, data pipelines, or agent traces. Use even if the user doesn't explicitly ask for a CLI command. Replaces the deprecated huggingface-cli.</description>
<location>/work/task/skills/hf-cli/SKILL.md</location>
</skill>
</available_skills>
</skills>

<cwd>
/tmp/agent-distill-episode-l_n3ju8h/workspace
</cwd>

User 2026-12-04T14:25:35.259Z

Are there papers on Hugging Face about distilling large models into small agents?

Assistant agent-distill/Qwen/Qwen3.5-27B:deepinfra 2026-12-04T14:25:40.989Z 1,233↓ 109↑
Thinking The user is asking about papers on Hugging Face related to distilling large models into small agents. I should search for relevant papers using the hf CLI tool. Let me search for papers with keywords related to model dis...

The user is asking about papers on Hugging Face related to distilling large models into small agents. I should search for relevant papers using the hf CLI tool. Let me search for papers with keywords related to model distillation and agents.

First, let me check what commands are available for searching papers on the Hugging Face Hub.

Assistant agent-distill/Qwen/Qwen3.5-27B:deepinfra 2026-12-04T14:25:46.353Z 1,694↓ 54↑
Thinking Good, it's `papers` not `paper`. Let me check the help for the papers command.

Good, it's papers not paper. Let me check the help for the papers command.

Assistant agent-distill/Qwen/Qwen3.5-27B:deepinfra 2026-12-04T14:25:49.061Z 2,051↓ 73↑
Thinking Now let me search for papers about model distillation and agents. I'll try a few different search queries to find relevant papers.

Now let me search for papers about model distillation and agents. I'll try a few different search queries to find relevant papers.

Assistant agent-distill/Qwen/Qwen3.5-27B:deepinfra 2026-12-04T14:25:55.888Z 10,250↓ 72↑
Thinking I found several relevant papers about distilling large models into small agents. Let me also search for more related terms to get a comprehensive list.

I found several relevant papers about distilling large models into small agents. Let me also search for more related terms to get a comprehensive list.

Assistant agent-distill/Qwen/Qwen3.5-27B:deepinfra 2026-12-04T14:26:27.890Z 22,652↓ 1,075↑
Thinking I found a lot of relevant papers on the Hugging Face Hub about distilling large models into small agents. Let me summarize the key findings for the user.

I found a lot of relevant papers on the Hugging Face Hub about distilling large models into small agents. Let me summarize the key findings for the user.

Yes, there are many papers on the Hugging Face Hub about distilling large models into small agents. Here are the most relevant ones:

Key Papers on Agent Distillation

Directly About Agent Distillation

  1. 2505.17612 - "Distilling LLM Agent into Small Models with Retrieval and Code Tools" (Kang et al., 2025)

    • Proposes Agent Distillation framework to transfer both reasoning capability and full task-solving behavior from LLM-based agents into small language models (sLMs) with retrieval and code tools
    • Shows sLMs as small as 0.5B-3B parameters can achieve competitive performance with larger models fine-tuned via CoT distillation
    • 82 upvotes
  2. 2602.03955 - "AgentArk: Distilling Multi-Agent Intelligence into a Single LLM Agent" (Luo et al., 2026)

    • Distills multi-agent dynamics (iterative debate, reasoning) into weights of a single model
    • Investigates three hierarchical distillation strategies: reasoning-enhanced fine-tuning, trajectory-based augmentation, and process-aware distillation
    • From Carnegie Mellon University
  3. 2506.14728 - "AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxes" (Qiu et al., 2025)

    • Training-free agent distillation using Model-Context-Protocols (MCPs) - structured task-solving modules from teacher agents
    • Student agents built on small LLMs achieve performance comparable to GPT-4o-based systems
  4. 2505.13820 - "Structured Agent Distillation for Large Language Model" (Jun Liu et al., 2025)

    • Compresses large LLM-based agents by segmenting trajectories into {[REASON]} and {[ACT]} spans with structure-aware supervision
    • Outperforms token-level distillation on ALFWorld, HotPotQA-ReAct, and WebShop
  5. 2608.07169 - "Agent Memory Distillation: Empowering Small LLM Agents with Hierarchical Teacher Memory" (Kim et al., 2026)

    • Transfers structured knowledge from large teacher agent to small student via hierarchical memory (workflow, subtask, function)
    • Training-free approach achieving +27.2% accuracy gains on AppWorld
  1. 2508.13167 - "Chain-of-Agents: End-to-End Agent Foundation Models via Multi-Agent Distillation and Agentic RL" (Li et al., 2025)

    • Distills multi-agent systems into chain-of-agents trajectories for end-to-end complex problem solving in one model
    • 128 upvotes - introduces "Agent Foundation Models"
  2. 2509.17489 - "MapCoder-Lite: Distilling Multi-Agent Coding into a Single Small LLM" (Lee et al., 2025)

    • Distills multi-agent coding reasoning into a single 7B model using pass-based trajectory distillation and agent-wise LoRA fine-tuning
    • Doubles xCodeEval accuracy (13.2% → 28.3%) while reducing GPU memory by 4x

Advanced Techniques

  1. 2610.19820 - "ActionOPD: Distilling Decisions, Not Tokens" (Yuan et al., 2026)

    • Action-level on-policy distillation aligning semantic actions instead of tokens
    • Works with black-box teachers without requiring token probability access
    • 55 upvotes
  2. 2610.02858 - "Harness-Aware Distillation for Small Language Model Agents" (Choi et al., 2026)

    • Focuses distillation on what the teacher adds beyond the harness infrastructure
    • From KAIST AI
  3. 2607.24280 - "From Proprietary to Open-Source: Bridging the Distribution Gap via Multi-Agent Protocol Distillation" (Junlin Liu et al., 2026)

    • Uses structured JSON protocols as intermediate representation to distill from proprietary models to open-source students
    • 83 upvotes

These papers span from May 2025 through October 2026 and cover various approaches: training-free methods, protocol-based distillation, action-level vs. token-level supervision, multi-agent intelligence compression, and domain-specific applications like coding and search agents.

System answered: 1.0 read_only: 1.0 used_hub: 1.0 grounded: 1.0 reference: None answer_quality: 1.0 hf_calls: 4.0 hf_errors: 1.0 read_skill: 0.0 answer_chars: 3845.0 reward: 1.0 passed: True

answered: 1.0
read_only: 1.0
used_hub: 1.0
grounded: 1.0
reference: None
answer_quality: 1.0
hf_calls: 4.0
hf_errors: 1.0
read_skill: 0.0
answer_chars: 3845.0
reward: 1.0 passed: True

Qwen3.5-27B:deepinfra Input 37.9k↓ Input Cached 0↓ (0%) Output 1.38k↑ Cost $0.00