Writing
AI Tool Review - Langflow
How to use the open source project Langflow to build RAG pipelines in a drag-and-drop no-code interface
AI Tool Review - Langfuse + LiteLLM
How to use the open source projects Langfuse and LiteLLM to automatically log your LLM calls across 100+ providers under a single interface
Transformer Math (Part 1) - Counting Model Parameters
January 18, 2024
•
ai
|
gpt
|
machine learning
|
python
|
tutorial
|
transformers
|
gpt2
|
transformer math
|
huggingface
|
pytorch
How many parameters are in a HuggingFace model? A case study with GPT2
AI Tool Review - LM-Format-Enforcer for controlling LLM outputs
How to use LM Format Enforcer to guarantee your LLM outputs valid JSON
How to properly take screenshots with Playwright and Selenium
A trick for capturing <select> menu popups that won't normally get included.
How to view (x,y) coordinates in Chrome Debugger
Get the (x,y) coordinates of arbitrary points on a webpage
AI Tool Review - ChromaDB as a local vector database for RAG
Some code snippets / tips for using ChromaDB
AI Tool Review - Outlines library for controlling LLM outputs
A quick tutorial on how to use Outlines to guarantee your LLM outputs valid JSON
AI Tool Review - Microsoft LIDA for data exploration
September 27, 2023
•
llms
|
ai
|
ml
|
data exploration
|
lida
|
eda
|
microsoft
|
pandas
|
python
|
ai tool review
Trying out LIDA, an LLM-based data exploration tool from Microsoft Research
Diffusion Models from Scratch
Beginner's tutorial on how diffusion models work, with Python code + mathematical derivations and explanations
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
Add `termcapinfo xterm* ti@:te@` to your `~/.screenrc` to enable normal scrolling
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
Figure out how much GPU memory is available on an Nvidia device in real-time, how many params are in a PyTorch model, etc.
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.