Machine Learning

Machine Learning Courses/Courselets

course
  • 2
  • 3 Students
  • All Levels

Courselet

Hidden-state memory, vanishing gradients and the LSTM with forget, input and output gates

  • 0 Rating
  • 0 Reviews
What you will learn
  • Describe how the words read so far are held in a hidden state updated with weights shared across time steps
  • Explain the vanishing of gradients over long sequences
  • Implement an LSTM cell with forget, input and output gates and apply gradient clipping

course
  • 2
  • 2 Students
  • All Levels

Courselet

Encoder-decoder models, the context-vector bottleneck, attention and BLEU for translation

  • 0 Rating
  • 0 Reviews
What you will learn
  • Build an encoder-decoder model with a context vector and teacher forcing
  • Explain the information bottleneck of a fixed-size context vector for long inputs
  • Implement attention over the encoder hidden states and evaluate translations with BLEU

course
  • 2
  • 2 Students
  • All Levels

Courselet

Masked language modeling in BERT, autoregressive pre-training in GPT and fine-tuning for a task

  • 0 Rating
  • 0 Reviews
What you will learn
  • Explain masked language modeling with the 15 per cent masking rule and its 80, 10 and 10 per cent split
  • Compare the bidirectional encoder of BERT with the autoregressive decoder of GPT
  • Fine-tune a pre-trained model for a classification task by adding a task-specific head

course
  • 2
  • 2 Students
  • All Levels

Courselet

Byte pair encoding, WordPiece and SentencePiece, vocabulary size and tokenization across languages

  • 0 Rating
  • 0 Reviews
What you will learn
  • Build a byte pair encoding vocabulary by merging the most frequent adjacent pair again and again
  • Compare BPE and WordPiece tokenizations of the same text
  • Train a tokenizer on a domain corpus with different vocabulary sizes and compare the sequence lengths

course
  • 2
  • 2 Students
  • All Levels

Courselet

Greedy decoding, beam search, temperature, top-k and top-p sampling and repetition penalties

  • 0 Rating
  • 0 Reviews
What you will learn
  • Implement greedy decoding and beam search with paths scored by the sum of log probabilities
  • Control randomness with temperature, top-k sampling and top-p sampling
  • Choose decoding settings for code, chat and story generation

course
  • 2
  • 3 Students
  • All Levels

Courselet

Full fine-tuning, LoRA, prompt patterns, chain-of-thought, instruction tuning and RLHF

  • 0 Rating
  • 0 Reviews
What you will learn
  • Implement a LoRA adapter whose rank r is far below the hidden size d
  • Write prompts with roles, explicit requirements and chain-of-thought steps
  • Choose between full fine-tuning, prompting, LoRA, instruction tuning and RLHF for a given task

course
  • 2
  • 2 Students
  • All Levels

Courselet

Quantization to INT8, knowledge distillation, pruning, mobile architectures and the energy cost of models

  • 0 Rating
  • 0 Reviews
What you will learn
  • Apply post-training quantization from FP32 to INT8
  • Train a student model on the soft labels of a teacher at temperature T, with distillation and true-label loss weighted b...
  • Prune weights by magnitude and describe the effect on model size and speed

course
  • 2
  • 2 Students
  • All Levels

Courselet

Bias measurement and fairness techniques, privacy, environmental cost and open questions on the future of NLP

  • 0 Rating
  • 0 Reviews
What you will learn
  • Detect bias in a language model with template-based tests, the Word Embedding Association Test and counterfactual evalua...
  • Distinguish pre-processing, in-processing and post-processing approaches to fairness
  • Name privacy techniques such as differential privacy and federated learning and weigh the carbon cost of accuracy gains

course
  • 2
  • 2 Students
  • All Levels

Courselet

Scaling laws, emergent abilities, sparse and flash attention, few-shot prompting and parallel training

  • 0 Rating
  • 0 Reviews
What you will learn
  • Describe emergent abilities and the scaling laws of large language models
  • Implement sparse attention with local and global patterns and compare its cost with dense attention
  • Write few-shot prompts and name the methods for training at scale, which are model parallelism, pipeline parallelism and...

course
  • 2
  • 4 Students
  • All Levels

Courselet

Self-attention with queries, keys and values, multi-head attention, positional encoding and the transformer block

  • 0 Rating
  • 0 Reviews
What you will learn
  • Compute scaled dot-product attention from queries, keys and values
  • Assemble a transformer block from multi-head attention, positional encoding, a feed-forward layer and residual connectio...
  • Distinguish encoder-only models such as BERT from decoder-only models such as GPT