Posts Tagged "python"
Understanding Attention: A Code-First Journey Through Transformers
Build attention mechanisms from scratch in PyTorch. We'll start with raw tensors and progressively build to multi-head attention, explaining every reshape, transpose, and dimension along the way.
Read Post
Mistral 7B on consumer hardware
Run Mistral 7B locally on Mac with Ollama for fast seed data generation. Learn CLI setup, prompt formatting, and downstream parsing to generate thousands of samples on consumer hardware.
Read Post
t-distributed Stochastic Neighbor Embedding says "what"
Understand t-SNE dimensionality reduction for visualizing high-dimensional data. Covers perplexity parameter tuning, implementation with TF-IDF vectors, and interactive visualization best practices.
Read Post
Mining word collocations
Extract common bigrams and trigrams from text using Gensim and NPMI scoring. Learn to mine jargon, phrases, and collocations from customer reviews, feedback, and text corpora.
Read Post
Kernel Density Estimation
Updated on
How a KDE plot is built, my favorite seaborn settings for one, and the four settings that change what it shows - bins, bandwidth, bounded data and groups of different sizes - each with a side-by-side example.
Read Post
Favorite Jupyter Notebook Settings
Essential Jupyter Notebook customizations to improve your data science workflow. Configuration tips for enhanced productivity and better user experience.
Read Post
Subscribe
All the latest posts directly in your inbox.