Large Language Models
Inspiration
What is a Neural Network?
Frank Rosenblatt’s Perceptron
Deep Learning Networks
- Input Layers
- Output Layers
- Hidden Layers
- Activation
- Adaptation and Training
- Backpropagation
- Error Functions and Surfaces
- Working
- “Repeated Weighted Averaging with Thresholding”
- How does that end up “learning”? Is there an intuitive explanation?
Neural Nets in Code
Using torch
.
References
The Neural Network Zoo - The Asimov Institute. http://www.asimovinstitute.org/neural-network-zoo/
It’s just a linear model: neural networks edition. https://lucy.shinyapps.io/neural-net-linear/
Neural Network Playground. https://playground.tensorflow.org/
Rohit Patel (20 Oct 2024). Understanding LLMs from Scratch Using Middle School Math: A self-contained, full explanation to inner workings of an LLM. https://towardsdatascience.com/understanding-llms-from-scratch-using-middle-school-math-e602d27ec876
Machine Learning Tokyo: Interactive Tools for ML/DL, and Math. https://github.com/Machine-Learning-Tokyo/Interactive_Tool
Anyone Can Learn AI Using This Blog. https://colab.research.google.com/drive/1g5fj7W6QMER4-03jtou7k1t7zMVE9TVt#scrollTo=V8Vq_6Q3zivl
Neural Networks Visual with vcubingx
- Practical Deep Learning for Coders: An Online Free Course.https://course.fast.ai
Text Books
Michael Nielsen. Neural Networks and Deep Learning, a free online book. http://neuralnetworksanddeeplearning.com/index.html
Simone Scardapane. (2024) Alice’s Adventures in a differentiable Wonderland. https://www.sscardapane.it/alice-book/
Using R for DL
David Selby (9 January 2018). Tea and Stats Blog. Building a neural network from scratch in R. https://selbydavid.com/2018/01/09/neural-network/
torch for R: An open source machine learning framework based on PyTorch. https://torch.mlverse.org
Akshaj Verma. (2020-07-24). Building A Neural Net from Scratch Using R - Part 1 and Part 2. https://rviews.rstudio.com/2020/07/20/shallow-neural-net-from-scratch-using-r-part-1/ and https://rviews.rstudio.com/2020/07/24/building-a-neural-net-from-scratch-using-r-part-2/
Maths
- Parr and Howard (2018). The Matrix Calculus You Need for Deep Learning.https://arxiv.org/abs/1802.01528