GPU-Powered ML, AI, and Quant Finance with Google Colab (3)

The Python Quants
246 views β€’

AI Engineering Workflows with Google Colab β€” Session 3 πŸš€ Train a tiny GPT from scratch, fine-tune an LLM with LoRA, build a RAG pipeline, and serve a coding model on the CLI β€” all on a free Google Colab T4 GPU. In this final session of our free 3-part webinar series, Dr. Yves J. Hilpisch walks through four ready-to-run notebooks that cover the full AI engineering lifecycle: build, adapt, retrieve, and serve. πŸ“˜ Notebooks in this session: 09 β€” yoctoGPT: train a minimal character-level GPT from scratch 10 β€” LoRA Fine-Tuning: adapt a 360M LLM with only 0.23% trainable parameters 11 β€” RAG with FAISS: reduce hallucination via retrieval-augmented generation 12 β€” Coding LLM CLI: serve qwen2.5-coder:7b with Ollama, expose via cloudflared, and use with aider ⚑ Key highlights on a free T4 GPU: β€’ yoctoGPT: train a character-level model on Thoreau's Walden β€’ LoRA: fine-tune with 0.23% of total parameters β€’ RAG: grounded answers with FAISS-backed retrieval β€’ Coding LLM: OpenAI-compatible API from a Colab notebook β€” and in the live demo, the local aider-chat instance actually wrote a bsm.py file to disk (albeit to the parent directory), proving the full loop works πŸ”— Resources: πŸ“‘ Slides: https://tpq.io/tpq_colab_3.pdf πŸ“‚ Notebook repo: https://github.com/yhilpisch/colab πŸ“ˆ CPF: https://cpf.tpq.io πŸ€– TAE: https://theaiengineer.dev β‚Ώ TCE: https://thecryptoengineer.dev πŸ“Š TDS: https://thedatascientist.dev πŸ“Œ Disclaimer: This content is provided solely for illustration and educational purposes. The Python Quants GmbH is not affiliated with, endorsed by, or sponsored by Google. All numbers and specifications are indicative; always check the official Google Colab documentation for current and reliable information. #GoogleColab #GPU #AIEngineering #LoRA #RAG #FAISS #LLM #Ollama #Python #GenerativeAI

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close