How manohar-07-git/soc---translations-to-tokens works
This is a learning repository of notebooks and scratch implementations tracing language-model and sequence-model development, culminating in an English-to-French Transformer translator. The documented workflow progresses from character-level models and neural-network foundations through recurrent and attention-based sequence models. The sampled runtime shows local translation tokenizing input, invoking the Transformer autoregressively, and decoding the result. Most notebook relationships below reflect README descriptions; their implementations were not sampled.
Main entry points: engine.py Translation Runtime · English_to_French_translator.ipynb Translator Capstone · tiktoken_implementation.ipynb BPE Tokenizer · micrograd_lec_1.ipynb Micrograd Engine
Components 19
Model Foundations
- Micrograd Engine
SOC/Week-1/micrograd_lec_1.ipynb - MNIST Practice
SOC/Week-2/MINST.ipynb - Initialization & Folding
SOC/Week-2/folding.ipynb - Manual Backprop
SOC/Week-3/build_makemore_backprop_ninja.ipynb
Language Models
- Bigram Model
SOC/Week-1/makemore_lec_2.ipynb - Embedding MLP
SOC/Week-2/makemore_part3.ipynb - WaveNet Model
SOC/Week-3/wavenet.ipynb
Sequence Architectures
- LSTM Studies
SOC/Week-4/LSTM.ipynb - BPE Tokenizer
SOC/Week-4/tiktoken_implementation.ipynb - Emoji Predictor
SOC/Week-4/Emoji_predictor.ipynb - Word Embeddings
SOC/Week-4/word_emb.ipynb
Translation Runtime
- Seq2Seq Studies
SOC/seq2seq/1 - Sequence to Sequence Learning with Neural Networks.ipynb - Attention Studies
SOC/seq2seq/6 - Attention is All You Need.ipynb - Translator Capstone
SOC/Week-5/English_to_French_translator.ipynb - Translation Runtime
SOC/Week-5/engine.py - Transformer Model
SOC/Week-5/engine.py - Attention Blocks
SOC/Week-5/engine.py - Trained Weights
Other components
- Learner
Connections 20
- Learner → Micrograd Engine: studies
README.md - Learner → Bigram Model: studies
README.md - Learner → Embedding MLP: studies
README.md - Learner → MNIST Practice: practices
README.md - Learner → Initialization & Folding: studies
README.md - Learner → Manual Backprop: studies
README.md - Learner → WaveNet Model: studies
README.md - Learner → LSTM Studies: studies
README.md - Learner → BPE Tokenizer: studies
README.md - Learner → Emoji Predictor: builds
README.md - Learner → Word Embeddings: studies
README.md - Learner → Seq2Seq Studies: studies
README.md - Learner → Attention Studies: studies
README.md - Learner → Translator Capstone: trains
README.md - Learner → Translation Runtime: runs
SOC/Week-5/engine.py - Translator Capstone → Translation Runtime: implements translation
README.md - Translation Runtime → Transformer Model: invokes
SOC/Week-5/engine.py - Translation Runtime → Trained Weights: loads
SOC/Week-5/engine.py - Transformer Model → Attention Blocks: uses
SOC/Week-5/engine.py - Translation Runtime → BPE Tokenizer: encodes and decodes