Writing
AI Tool Review - Langfuse + LiteLLM
Transformer Math (Part 1) - Counting Model Parameters
AI Tool Review - LM-Format-Enforcer for controlling LLM outputs
How to properly take screenshots with Playwright and Selenium
How to view (x,y) coordinates in Chrome Debugger
AI Tool Review - ChromaDB as a local vector database for RAG
AI Tool Review - Outlines library for controlling LLM outputs
AI Tool Review - Microsoft LIDA for data exploration
Diffusion Models from Scratch
Publish Python Package on PyPI with Poetry
How to package a Python library using Poetry and publish it on PyPI.
Screen utility - Enable scrolling by default
The default screen
utility annoyingly requires you to hit Ctrl+A [
to scroll back through your terminal’s output buffer (by switching to “copy mode”). Otherwise, scrolling will cause you to cycle past your previous commands instead of scrolling back up in your terminal’s output.
Flaregun - A Tiny PyTorch Helper Library
Notes for Harvard's CS 287 NLP Course
NOTE: These are all taken from Chris Tanner’s great NLP course CS 287 (taught at Harvard). None of this is my own work. This is just a collection of screenshots and notes from my own reading of the course’s lecture slides for my own reference and understanding. I would highly recommend reading the full lecture slides available here.
Helpful Linux Commands
How to Analyze Memory Usage of Folders/Files on your Mac
Three ways to view memory usage (i.e. “disk usage”) on your Mac, in descending order of preference.
Walkthrough of the OMOP CDM (Part 1)
In Part 1 of this series on the OMOP CDM, we explain what the OMOP CDM is, define key terms such as “concept”, “source value”, “vocabulary”, and “domain”, and describe how they related to each other.
Python Line-by-Line Profiling of a Program's Speed
How long does each line in your Python program take to run?