AI Cookbooks

Colab and Jupyter notebooks for training, fine-tuning, and other AI tasks I keep running into.

Colab and Jupyter notebooks I put together while doing real work: training pipelines, fine-tuning, and a few custom implementations. Written mostly so I stop rebuilding the same pipeline from memory.

  • NLLB-600M Fine-Tune - LoRA + Flash Attention for any translation task
  • Gemma 3 1B/4B Fine-Tune - LoRA & QLoRA with Unsloth for instruction-following
  • XLM-R Text Classifier - Multilingual text classification (100+ languages)
  • Sentence Transformer Fine-Tune - Contrastive learning on text pairs (3-notebook pipeline)

Source: GitHub