Pinned
Brandon Rohrer
Brandon Rohrer
@brandonrohrer.com
Robotics and Reinforcement Learning tinkerer. brandonrohrer.org Wrangler of algorithms. Eater of bread. Sipper of whisky. Reports to a Shih Tzu.
3.7K followers2.2K following998 posts
For the handful of you who are following along this journey, the artisanal language model I'm building to do proofreading is getting more mature. brandonrohrer.org/alms_blended...
I recently published the redsho package for hyperparameter optimization. More than anything, I want it to be useful. I find it helpful to start with a working example. To this end I created a second repo called redsho-examples that walks through how to do it. codeberg.org/brohrer/reds...
As of right now, there are 4 examples, each in their own subdirectory: 1. sinc: optimizes a 2D variant of the sinc function, sin(x)/x codeberg.org/brohrer/reds... 2. perf: tests the execution time bottleneck in redsho and helps to streamline it codeberg.org/brohrer/reds...
3. xgboost_regression: optimizes an XGBoost regression model across a wide variety of hyperparameters and options codeberg.org/brohrer/reds... 4. xgboost_multiclass: same as the previous example, but with a multiclass classification problem codeberg.org/brohrer/reds...
I recently published the redsho package for hyperparameter optimization. More than anything, I want it to be useful. I find it helpful to start with a working example. To this end I created a second repo called redsho-examples that walks through how to do it. codeberg.org/brohrer/reds...
It looks through the parameter combinations it has tried already and picks one randomly, leaning heavily toward the best performers. Then it chooses one of those parameters and tries a few random values that it hasn't before. how it works explainer: brandonrohrer.at/evopowell.html
Available on pypi uv add redsho or pip install redsho Or you can check out the repo and dig into the guts. (It's very small - about 1kloc for the whole project) codeberg.org/brohrer/redsho
Brandon Rohrer reposted
Today is Pub Day for "Data Are Made, Not Found: A Story of Politics, Power, and the Civil Servants Who Saved the US Census"!!! ::bounce:: Please support me by buying a copy of the book or asking your library for a copy! press.uchicago.edu/ucp/books/bo...
Hey US eng friends, if you want to give Patreon a shot: Staff SWE, Data Infrastructure jobs.ashbyhq.com/patreon/e8f0... Senior MLE, Infrastructure (on my team) jobs.ashbyhq.com/patreon/722d... Staff SWE, Backend Platform jobs.ashbyhq.com/patreon/c277...
And for those with a managerial bent: Senior EM, Infrastructure jobs.ashbyhq.com/patreon/ba5d... Senior EM, Payments jobs.ashbyhq.com/patreon/f145...
Diving in to Python typechecking and stumbled on this @vickiboykis.com post vickiboykis.com/2023/12/11/w... The tldr: "The result of the deep dive is that I now no longer trust anything in the Python typing ecosystem." I'm now confused as ever, but on a higher level and about more important things
Josh, Luis, and I had a great time chatting the other day and recorded in case you'd like to listen in www.youtube.com/live/Yx-ZkLf...
If you’re into such things, I’m going to be chatting with Josh Starmer and Luis Serrano (two of the best ML educators I know) in a YouTube livestream, answering viewer questions, at 11:00am EDT Thursday (tomorrow/today). 8am PDT, 3pm UTC, 5pm CEST m.youtube.com/live/Yx-ZkLf...
@ellecordova.bsky.social is a wonder. If you'd like to tell her so, pop over to Patreon and buy her a coffee. www.patreon.com/cw/ellecordova
Gulp .... www.youtube.com/shorts/kdvUJ...
My Artisanal Language Model for proofreading continues to evolve. Pairing forward and backward first-order Markov models is proving to be just good enough to merit further exploration. brandonrohrer.com/alms_composi...
RSS is the vinyl records of the web. And the Current RSS reader is the $5000 turntable whose clean design matches the medium. Except it’s only $10. www.currentreader.app Built by one designer with a vision ( @terrygodier.com ), Current shows what the web can be.
Find and replace all occurrences of a string in a directory's Python files sed -i '.bak' -e 's/old string/new string/g' *.py To drill deeper on any of these run man <command>. I find the examples section at the end most helpful. I'm compiling a list of these here brandonrohrer.org/shell_tricks...
Brandon Rohrer reposted
Heads up ruff users - with the release of 0.16.0 this week the number of default rules went up from 59 to to 413. This means that if you're ruff version auto updates, your CI pipelines might start failing on you all of a sudden.
Ruff 0.16.0 - Astral's fast Python linter - came out a few days ago and increased the number of default-enabled rules from 59 to 413, which highlighted all sorts of problems across my projects (1618 in sqlite-utils alone) simonwillison.net/2026/Jul/25/...
Living small is part of the artisanal process. The constraints are not a barrier to the final product. They are an important shaping force. You can't come in at the end and magically shrink it. You can only build small if you start small and work with what you've got as you go. brandonrohrer.org
Artisanal Language Models take a step closer to being able to do proofreading. Trained and hosted on an old Mac. These are small but mighty. Kind of. Aspirationally mighty, at least. brandonrohrer.org/alms_data.html
My favorite thing to do is find a narrow problem that doesn't have a good solution, and then build one. Here are the highlights, from my blog. brandonrohrer.org/blog.html#al...
Some are minor tweaks to existing methods, oknn (online k-nearest neighbors). Some are grander in scope, like Ziptie and Cartographer, which give a new way for robots to model their worlds. But they share a thread of curiosity, experimentation, and visceral satisfaction of pieces snapping into place
I shut down by online courses at End-to-End Machine Learning 18 months ago. Wrote a blog post and everything. But the platform I was using hasn't bothered to take them down. So they're just sitting there, all for free. Prego. end-to-end-machine-learning.teachable.com