Giter Site home page Giter Site logo

Dataflowr

Code and notebooks for the deep learning course dataflowr. Here is the schedule followed at école polytechnique in 2023:

🌻Session1️⃣ Finetuning VGG

Things to remember
  • you do not need to understand everything to run a deep learning model! But the main goal of this course will be to come back to each step done today and understand them...
  • to use the dataloader from Pytorch, you need to follow the API (i.e. for classification store your dataset in folders)
  • using a pretrained model and modifying it to adapt it to a similar task is easy.
  • if you do not understand why we take this loss, that's fine, we'll cover that in Module 3.
  • even with a GPU, avoid unnecessary computations!

🌻Session2️⃣ PyTorch tensors and Autodiff

Things to remember
  • Pytorch tensors = Numpy on GPU + gradients!
  • in deep learning, broadcasting is used everywhere. The rules are the same as for Numpy.
  • Automatic differentiation is not only the chain rule! Backpropagation algorithm (or dual numbers) is a clever algorithm to implement automatic differentiation...

🌻Session3️⃣

Things to remember
  • Loss vs Accuracy. Know your loss for a classification task!
  • know your optimizer (Module 4)
  • know how to build a neural net with torch.nn.module (Module 5)
  • know how to use convolution and pooling layers (kernel, stride, padding)
  • know how to use dropout

🌻Session4️⃣

Things to remember
  • know how to use dataloader
  • to deal with categorical variables in deep learning, use embeddings
  • in the case of word embedding, starting in an unsupervised setting, we built a supervised task (i.e. predicting central / context words in a window) and learned the representation thanks to negative sampling
  • know your batchnorm
  • architectures with skip connections allows deeper models

🌻Session5️⃣

🌻Session6️⃣

🌻Session7️⃣

🌻Session8️⃣

🌻Session9️⃣

For more updates: Twitter URL

🌻 All notebooks

Usage

If you want to run locally, follow the instructions of Module 0 - Running the notebooks locally

2020 version of the course

Archives are available on the archive-2020 branch.

dataflowr's Projects

project-bitfit icon project-bitfit

Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

project-diwa icon project-diwa

DiWA: Diverse Weight Averaging for Out-of-Distribution Generalization

project-fixmatch icon project-fixmatch

Unofficial PyTorch implementation of "FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence"

project-graphtransformer icon project-graphtransformer

Graph Transformer Architecture. Source code for "A Generalization of Transformer Networks to Graphs", DLG-AAAI'21.

project-hlb-cifar10 icon project-hlb-cifar10

Train to 94% on CIFAR-10 in less than 10 seconds on a single A100, the current world record. Or ~95.77% in ~188 seconds.

project-lost icon project-lost

Pytorch implementation of LOST unsupervised object discovery method

project-moco icon project-moco

PyTorch implementation of MoCo: https://arxiv.org/abs/1911.05722

project-poda icon project-poda

Official implementation of "PODA: Prompt-driven Zero-shot Domain adaptation"

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.