Binary Numbers (Bits and Bytes)
Level 1
Coming soon
This lesson is being written. Explore the graph meanwhile.
Unlocks
- ChecksumA checksum is a short number computed from a message and sent with it, so the receiver can recompute it and notice if the data was damaged in transit.
- Cryptographic Hash FunctionComing soon
- Discrete Logarithm ProblemGiven a generator g of a cyclic group and an element h, find the exponent x with g^x = h; this is easy to compute forward and believed hard to reverse.
- EntropyEntropy is the average surprise of a random outcome: a number, in bits, for how unpredictable a distribution is.
- Floating-Point NumbersComing soon
- GPU Memory HierarchyA GPU has very fast arithmetic units but slow access to its large memory, so a program runs at the speed of its memory traffic unless it reuses data on-chip.
- Lossless CompressionLossless compression shrinks data by giving common symbols short codes and rare ones long codes, and entropy sets the limit on how far this can go.
- Machine CodeComing soon
- Mutual InformationMutual information measures how many bits one variable tells you about another: the drop in uncertainty about one once you know the other.
- QuantizationQuantization stores a network's weights and activations as low-precision integers, such as 8-bit, instead of 32-bit floats, cutting memory and speeding up arithmetic at the cost of a small rounding error.
- Subword TokenizationSubword tokenization splits text into pieces that are more common than characters and smaller than words, so a model can read any text with a fixed vocabulary.
- Text TokenizationComing soon
- Virtual MemoryVirtual memory gives each program its own address space and maps those addresses to physical memory in fixed-size pages, so programs never see where their data really lives.