gauravm
Efficient training and inference is table stakes for LLMs these days, and these two algorithmic efficiency techniques work really well for reducing LLM latency as well as memory usage, while retaining the model performance. Feel free to give it a read, and drop a note if I missed something.
Free book on optimizing deep learning models for training and inference
We now have a new chapter focusing on sparsity and clustering, two advanced compression techniques that you can use to reduce the footprint of your model (size, latency, etc.) while retaining your model accuracy. You can read the five chapters released so far, and go through the accompanying codelabs in the form of Jupyter notebooks.
We hope that our readers can make their models 4-20x smaller, faster, and better in quality. We would truly appreciate any sort of comments / feedback.
Book: efficientdlbook.com Feedback: [email protected]
Efficient Deep Learning: A Survey on Making DL Models Smaller, Faster, & Better
Back to Basics: Reservoir Sampling
Lambda: A Lisp Interpreter Written in Go That Runs in an iOS App
Facebook expands Search to 2 Trillion posts
Though I don't have time/RoI to improve this, but potential ideas are to use labeled data to cluster porny words and get a probablistic metric of porni-ness of a sentence.
This is a very naive implementation to quickly get a handle of amount of porny documents. I intend to do some more work around clustering of porny words. I think understanding sentiment would be hard and involves a lot of labeled data, but that is a potentially very useful project.
Show HN: A naive classifier to figure out if a sentence contains dirty words
A Gentle Intro to Libevent
Random Quotes from Breaking Bad, GoT, LoTR as an API (written in Golang)
Facebook's Distributed SQL Query Engine for Big Data - Presto
Scalable Bloom Filters in Go
I have implemented Bloom Filters which are Scalable in Go. This is similar to the bit.ly dablooms project. But, my construction is in Go, and simpler.