Python
3 stories tagged Python on Learning Fanatic.
- Lesson 1.2: Setting up Python, NumPy and a tiny dataset Set up a repeatable workspace for a language model: seeds, a fixed dataset, number formats, a stable softmax and fast array code, each verified by running it.
- Lesson 2.2: Byte-pair encoding from scratch Write byte-pair encoding in about fifty lines: learn merges from text, encode and decode losslessly, and test it on unseen words and accented text.
- Lesson 3.4: Hands-on: build a first agent step by step Build a complete first agent from scratch: tools with permissions, validation, a loop with limits, a test set and a plug-in point for a real model.