AiVibe

AI & Machine Learning

Fine-Tuning

Fine-tuning continues training a pre-trained model on a smaller, task-specific dataset so that it adapts to a particular domain, style or task, such as classifying defect images or following an organisation's response format.

Full fine-tuning updates all model weights, which for large models requires substantial GPU memory. Parameter-efficient fine-tuning (PEFT) methods such as low-rank adaptation (LoRA) train small additional matrices while freezing the original weights, and QLoRA combines this with a quantised base model to cut memory further. For LLMs, supervised fine-tuning on instruction-response pairs is often followed by preference tuning such as RLHF or direct preference optimisation.

Fine-tuning suits tasks that need a consistent output format, domain-specific classification or specialised vocabulary, and it can produce smaller, cheaper models that perform well on a narrow task. In vision, fine-tuning pre-trained networks on plant images is the usual way to build inspection models.

For adding factual or frequently changing knowledge, retrieval-augmented generation is usually more practical, because knowledge can be updated without retraining. Fine-tuning needs clean, representative examples, held-out evaluation and checks for regressions in general capability and safety behaviour. The licence terms of the base model govern whether and how a fine-tuned model may be used.

Key points

Where AiVibe comes in

AiVibe delivers AI and machine learning services, chatbots and virtual assistants with RAG, MCP tools and voice, AI quality management including bias detection and model validation, and the AIMURUGA AI agent, and builds Intel-based edge AI devices using the Intel Distribution of OpenVINO toolkit.

Explore AiVibe’s work in AI & Machine Learning →

Related terms

Terms that refer to Fine-Tuning

Ask AiMuruga can explain Fine-Tuning for your plant, product or security programme, and draw how it fits.