<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fine-Tuning on Le Site de François</title><link>https://lesitedefrancois.be/en/tags/fine-tuning/</link><description>Recent content in Fine-Tuning on Le Site de François</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 François</copyright><atom:link href="https://lesitedefrancois.be/en/tags/fine-tuning/index.xml" rel="self" type="application/rss+xml"/><item><title>Fine-tuning / LoRA</title><link>https://lesitedefrancois.be/en/ai/fine-tuning-lora/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/fine-tuning-lora/</guid><description>&lt;p&gt;&lt;strong&gt;Fine-tuning&lt;/strong&gt; is &lt;strong&gt;training&lt;/strong&gt; continued from a pretrained &lt;strong&gt;LLM&lt;/strong&gt; (or other model) on a smaller, task-specific dataset so behavior matches a domain—support tone, internal jargon, classification format, or tool-use style—without pretraining from scratch. &lt;strong&gt;LoRA (Low-Rank Adaptation)&lt;/strong&gt; is a &lt;strong&gt;parameter-efficient&lt;/strong&gt; fine-tuning method: instead of updating all billions of weights, small low-rank matrices are inserted into attention (and sometimes MLP) layers and only those adapters are trained, drastically cutting VRAM and checkpoint size. The objective is better task accuracy or alignment at lower cost than full fine-tuning; adapters can be swapped per tenant while a frozen base model stays shared. Fine-tuning differs from &lt;strong&gt;RAG&lt;/strong&gt;, which injects external facts at inference time without changing weights.&lt;/p&gt;</description></item><item><title>Training</title><link>https://lesitedefrancois.be/en/ai/training/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://lesitedefrancois.be/en/ai/training/</guid><description>&lt;p&gt;&lt;strong&gt;Training&lt;/strong&gt; is the phase of machine learning where &lt;strong&gt;model parameters&lt;/strong&gt; are adjusted to minimize a &lt;strong&gt;loss&lt;/strong&gt; on a dataset. For deep learning, that means repeated &lt;strong&gt;forward passes&lt;/strong&gt; (compute predictions), &lt;strong&gt;backward passes&lt;/strong&gt; (propagate gradients via autodiff), and &lt;strong&gt;optimizer steps&lt;/strong&gt; (update weights)—from scratch pretraining, continued pretraining, or &lt;strong&gt;fine-tuning&lt;/strong&gt; (full, LoRA, or other parameter-efficient methods). The objective is model quality (accuracy, perplexity, task metrics) within a compute and time budget, not millisecond response to end users. Training jobs are batch-oriented: large minibatches, epochs over terabytes of tokens or images, checkpointing to durable storage, and experiment tracking. LLM training at scale uses &lt;strong&gt;distributed&lt;/strong&gt; strategies—data parallel, tensor parallel, pipeline parallel, and expert parallel for MoE—coordinated by frameworks such as PyTorch with FSDP or DeepSpeed.&lt;/p&gt;</description></item></channel></rss>