Stay at the cutting edge of quantitative finance throughout your career
At the MLI we make Lifelong learning simple. At any point going forward all Alumni can access the next cohort. You will be able to join the new lectures live with the current crop of students.
This is for MLI Alumni only.
Thursday 7th March 2024:
Lifelong Learning, half day workshop: A Practical Guide to Customizing Large Language Models (LLMs) – Alexander Sokol
In this workshop, you will learn practical techniques for customizing LLMs for quant finance using prompt engineering, retrieval augmentation, and fine-tuning.
Prior knowledge of LLMs or Python programming not required. Open-source examples will be provided for those interested in running and modifying the code (CPU or GPU).
The workshop will include two 90-minute sessions (14:00 – 15:30 and 15:45 – 17:15) with 15 min coffee and Q&A breaks after each session.
Models: GPT-3.5, GPT-4, Llama 2, Code Llama
Session One: Prompting and Retrieval Augmentation – 14:00 to 15:30
- Prompting – natural language programming of LLMs
- Principles of prompt engineering
- Prompt types
- Retrieval augmentation – using information outside model training
- Embedding – asking questions over documents
- Chains – multi-step workflows
- Memory
- Overcoming limitations
- Context window
- Large documents
- Hallucinations
- Reproducibility
- Performance Optimization
- CPU and GPU performance profiles
- Quantization
- Hands-on examples with Python
- Comprehension of trade confirmations
Q&A – 15:30 to 15:45
Session Two: Fine-Tuning – 15:45 to 17:15
- Unsupervised fine-tuning
- Expanding the model dataset and vocabulary
- Self-supervised fine-tuning
- Supervised fine-tuning
- Generated datasets
- Curated datasets
- Performance Optimization
- Hands-on examples with Python
- Generation of draft model release notes
Q&A – 17:15 to 17:30
All MLI Alumni will be sent a password protected webinar link for this event.