mlsanityData to 7 Oct 2026

LlamaDuo: LLMOps Pipeline for Seamless Migration from Service LLMs to Small-Scale Local LLMs

arXiv 2408.13467 ↗First posted 24 Aug 2024cs.LG cs.AI cs.DCcited by 8

Not on the map. Why?

Abstract (arXiv)

The widespread adoption of cloud-based proprietary large language models (LLMs) has introduced significant challenges, including operational dependencies, privacy concerns, and the necessity of continuous internet connectivity. In this work, we introduce an LLMOps pipeline, "LlamaDuo", for the seamless migration of knowledge and abilities from service-oriented LLMs to smaller, locally manageable models. This pipeline is crucial for ensuring service continuity in the presence of operational failures, strict privacy policies, or offline requirements. Our LlamaDuo involves fine-tuning a small language model against the service LLM using a synthetic dataset generated by the latter. If the performance of the fine-tuned model falls short of expectations, it is automatically improved through additional fine-tuning using extra similar data generated by the service LLM. This multi-turn process guarantees that the smaller model can eventually match or even surpass the service LLM's capabilities in specific downstream tasks, offering a practical and scalable solution for managing AI deployments in constrained environments. Extensive experiments with leading-edge LLMs are conducted to demonstrate the effectiveness, adaptability, and affordability of LlamaDuo across various downstream tasks. Our pipeline implementation is available at https://github.com/deep-diver/llamaduo.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 36 of its 54 references that are in the map. First posted on arXiv 24 Aug 2024.

Builds on

36 of 54 references.

References · 36

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2020Scaling Laws for Neural Language Modelscited by 6,411
  7. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  9. 2023Mistral 7Bcited by 3,065
  10. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
  11. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  12. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
24 more
  1. 2023A Survey of Large Language Modelscited by 2,537
  2. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  3. 2024Mixtral of Expertscited by 1,785
  4. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  5. 2023LIMA: Less Is More for Alignmentcited by 1,080
  6. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  7. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  8. 2024Self-Rewarding Language Modelscited by 654
  9. 2024A Survey on Large Language Models for Code Generationcited by 646
  10. 2023A Comprehensive Overview of Large Language Modelscited by 639
  11. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  12. 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
  13. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  14. 2024Best Practices and Lessons Learned on Synthetic Datacited by 104
  15. 2020Training Question Answering Models From Synthetic Datacited by 95
  16. 2024Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templatescited by 94
  17. 2024A Survey on Data Selection for LLM Instruction Tuningcited by 76
  18. 2023Unveiling Security, Privacy, and Ethical Concerns of ChatGPTcited by 53
  19. 2023LLM-powered Data Augmentation for Enhanced Cross-lingual Performancecited by 51
  20. 2023Let's Synthesize Step by Step: Iterative Dataset Synthesis with Large Language Models by Extrapolating Errors from Small Modelscited by 30
  21. 2024HyperCLOVA X Technical Reportcited by 18
  22. 2023PULSAR at MEDIQA-Sum 2023: Large Language Models Augmented by Synthetic Dialogue Convert Patient Dialogues to Medical Recordscited by 11
  23. 2023Can LLMs Augment Low-Resource Reading Comprehension Datasets? Opportunities and Challengescited by 9
  24. 2023Improving Small Language Models on PubMedQA via Generative Data Augmentationcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 4.

8 papers.