Why Is the Sea Salty but Rivers Are Fresh?
Rain slowly dissolves minerals from rocks, rivers carry them to the sea, and evaporation leaves the salt behind — for hundreds of millions of…
Read article →Excel, SAP, Oracle & automation tips — plus wacky facts
Rain slowly dissolves minerals from rocks, rivers carry them to the sea, and evaporation leaves the salt behind — for hundreds of millions of…
Read article →Rename scanned invoices, photos or reports in bulk using an Excel sheet of old and new names — with a dry run, a log,…
Read article →Everything about looking up data in Excel in one place: exact and approximate matches, left lookups, two-way lookups, multiple criteria, last match, returning all…
Read article →Shrink models with quantization: fp32 to int8 with PyTorch dynamic quantization, size and speed trade-offs, GGUF and 4-bit formats, and running open models locally…
Read article →Turn a text predictor into an assistant: instruction-response data, chat templates with role tokens, masking the loss on prompts, and why each model needs…
Read article →Fine-tune efficiently with LoRA: freeze the base model, add low-rank adapter matrices to attention layers, train under 2% of the parameters, and how the…
Read article →Measure a language model: cross-entropy loss, perplexity and what it means, validation sets, fixed test prompts, and why benchmarks and human checks are both…
Read article →How a language model picks the next token: greedy decoding, temperature, top-k and nucleus (top-p) sampling, implemented in a dozen lines and compared side…
Read article →Airport, café and hotel Wi-Fi explained honestly: why HTTPS protects most browsing, the real risks (fake hotspots, login-page phishing, file sharing) and simple habits…
Read article →Stack transformer blocks into a GPT, add token and position embeddings, train it on a text file with AdamW on a laptop CPU, watch…
Read article →Extend single-head self-attention to multi-head attention, add the feed-forward network, layer norm and residual connections, and test the causal mask — the full transformer…
Read article →Understand and code the attention mechanism behind transformers: queries, keys, values, the causal mask and softmax — first with NumPy on four tokens, then…
Read article →The brain uses about 20% of the body’s energy.
Although it is only around 2% of body weight, the brain consumes roughly a fifth of the body’s energy at rest.