Code Monkey home page Code Monkey logo

mats-application-2024's Introduction

mats-application-2024

My submission to the Nanda stream of the 2024 MATS program - ten hours of work on a concrete subproblem within mechanistic interpretability.

Google doc explaining the results is here.

Colab link is here.

Complication to the time requirement is here:

newborn

Addendum - a guide to setting up a Windows dev env in a hurry

POV: you have realised that your ancient desktop with a fancy new 4070 SUPER no longer has a functional Linux install, but the deadline for the MATS application is in 2 days.

  1. Install VSCode.
  2. Install WSL.
  3. Realise that you don't have virtualization enabled in your BIOS - go to 'Advanced Frequency -> Enable SVM', since its AMD.
  4. Install Windows Terminal, boot Ubuntu (wsl).
  5. Generate new SSH keys, add to Github.
  6. git clone your new repo from your WSL terminal, use code . to open the repo in WSL/VSCode.
  7. From then on, use the integrated terminal. Use eval "$(ssh-agent -s)" then ssh-add to ensure you can push commits.
  8. Install zsh/oh-my-zsh (useful for gco, gst aliases).
  9. Install conda, create an mechinterp env. (conda create -n mechinterp python=3.11 numpy scipy matplotlib scikit-learn)
  10. Install the Jupyter and Python extensions for VSCode.
  11. Activate your conda env, install Jupyter.
  12. Install torch with CUDA (surprisingly easy - conda install pytorch pytorch-cuda=11.8 -c pytorch -c nvidia)

mats-application-2024's People

Contributors

wllgrnt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.