Aprillion / ARENA_2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This GitHub repo hosts the exercises and Streamlit pages for the ARENA 2.0 program.

You can find a summary of each of the chapters below. For more detailed information (including the different ways you can access the exercises), click on the links in the chapter headings.

Chapter 0: Fundamentals

The material on this page covers the first five days of the curriculum. It can be seen as a grounding in all the fundamentals necessary to complete the more advanced sections of this course (such as RL, transformers, mechanistic interpretability, and generative models).

Some highlights from this chapter include:

  • Building your own 1D and 2D convolution functions
  • Building and loading weights into a Residual Neural Network, and finetuning it on a classification task
  • Working with weights and biases to optimise hyperparameters
  • Implementing your own backpropagation mechanism

Chapter 1: Transformers

The material on this page covers the next 8 days of the curriculum. It will cover transformers (what they are, how they are trained, how they are used to generate output) as well as mechanistic interpretability (what it is, what are some of the most important results in the field so far, why it might be important for alignment).

Some highlights from this chapter include:

  • Building your own transformer from scratch, and using it to sample autoregressive output
  • Using the TransformerLens library developed by Neel Nanda to locate induction heads in a 2-layer model
  • Finding a circuit for indirect object identification in GPT-2 small
  • Intepreting model trained on toy tasks, e.g. classification of bracket strings, or modular arithmetic
  • Replicating Anthropic's results on superposition

Unlike the first chapter (where all the material was compulsory), this chapter has 4 days of compulsory content and 4 days of bonus content. During the compulsory days you will build and train transformers, and get a basic understanding of mechanistic interpretability of transformer models which includes induction heads & use of TransformerLens. The next 4 days, you have the option to continue with whatever material interests you out of the remaining sets of exercises. There will also be bonus material if you want to leave the beaten track of exercises all together!

Chapter 2: Reinforcement Learning

Links coming soon!

Chapter 3: Training at Scale

Links coming soon!

About


Languages

Language:HTML 76.4%Language:Python 23.6%