Research map / Large language models / Instruction and fine-tuning
LlamaDuo: LLMOps Pipeline for Seamless Migration from Service LLMs to Small-Scale Local LLMs
Chansung Park, Juyong Jiang, Fan Wang, Sayak Paul, Jing Tang
Electronics and Telecommunications Research Institute · Hong Kong University of Science and Technology · Hugging Face
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| increase synthetic data volume from 1k to 256k samples (ablation) | LlamaDuo fine-tuned Gemma 7B · Summarization | precision and similarity (all judges) | Improved |
| scale synthetic data to 64k-256k samples (ablation) | LlamaDuo fine-tuned Gemma 7B · Summarization | precision and similarity | Improved |
| use Claude 3 Sonnet instead of GPT4o or Gemini 1.5 Flash as synthetic data generator (ablation) | LlamaDuo fine-tuned Gemma 7B · Summarization | precision and similarity | Improved |
| vary the service LLM used as data generator (ablation) | LlamaDuo fine-tuned Gemma 7B · Summarization | precision and similarity | No clear effect |
| vary the service LLM used as judge (ablation) | LlamaDuo fine-tuned Gemma 7B · Summarization | precision and similarity | Mixed |
| fine-tune Gemma 2B instead of 7B models (ablation) | LlamaDuo · Closed QA, Claude 3 Sonnet judge | precision (mean score): 80.22 vs 88.83 (Gemma 7B), 88.25 (Mistral 7B), 86.03 (LLaMA3 8B) | Hurt |
| deploy fine-tuned Gemma 7B locally instead of using GPT4o API (light workload, 12 months) | Gemma 7B vs GPT4o · Monthly operational cost | cost (USD): $23,400 -> $3,699 | Improved |
| deploy fine-tuned Gemma 7B locally instead of using GPT4o API (heavy workload, 2 months) | Gemma 7B vs GPT4o · Monthly operational cost | cost (USD): $19,500 (GPT4o) vs $21,592 (Gemma 7B) | Hurt |
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- MESS+: Dynamically Learned Inference-Time LLM Routing in Model Zoos with Service Level Guarantees (NeurIPS 2025 · similarity 0.87)
- Bridging On-Device and Cloud LLMs for Collaborative Reasoning: A Unified Methodology for Local Routing and Post-Training (ICML 2026 · similarity 0.87)
- Hybrid LLM: Cost-Efficient and Quality-Aware Query Routing (ICLR 2024 · similarity 0.85)
- Gorilla: Large Language Model Connected with Massive APIs (NeurIPS 2024 · similarity 0.85)
- MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Cases (ICML 2024 · similarity 0.84)
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets (ICLR 2024 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.