Skip to lesson

مشین ترجمہ۔ انگریزی اور ہندی جائزہ شدہ نسخے ہیں۔Englishहिन्दी

3 sections show the reviewed English text because a کٲشُر translation was not available for it.

  1. Learn
  2. See
  3. Try
  4. Make

وڈٕ مشین بٲرٛہ ماڈل ٹون کرن

What this lesson is about

ماڈل سکھان چھ سستو طریقہ سکھو، ژیہ منز تہٕ چھ پورے ماڈل بٲرٛہ نہ سکھان بلکہ چھ ایک چھوٹ چھوٹ حصٲ سکھان۔

تُہند ژٕٹھ کہتھ کہ بٲڑ کمپیوٹر بٲغٕر ماڈل نٲہ ٹون کیٚا جاوٚن، تہ تُہند کول صرف مفت نوٹ بُک چھ۔ تُہند ژٕٹھ کیا کہنو؟

Why this matters

The Hugging Face page on cheap tuning says these methods train only a small adapter, not the whole model. That extra piece is usually a LoRA. It cuts the compute and storage cost, and lets big models be trained on ordinary hardware. The model's own numbers are left alone, which is why a free notebook is enough. One documented run, from Google's own LoRA tutorial, read on 14 Sep 2026. It tunes Gemma 3 1B on a Colab T4 at LoRA rank 4. One pass over 1,000 examples, batch size 1, inputs cut at 256 tokens. That pass took 923 seconds, about 15 minutes. The tutorial shows replies before and after, not a score, so the kept-aside score is yours to add.

Read the primary or official source: Hugging Face PEFT