2,179 karma · joined July 30, 2012
matt@matt-rickard.com
[0] https://matt-rickard.com/a-list-of-leaked-system-prompts
[0] https://matt-rickard.com/categorization-and-classification-w...
* Regex completion for LLMs
* Context-free Grammar completion for LLMs
[0] https://github.com/r2d4/rellm
[1] https://github.com/r2d4/parserllm
[2] https://github.com/thiggle/api
There's also another API on Thiggle that I've build that supports classification via a similar logit-based strategy.
LLMs are excellent reasoning engines. But nudging them to the desired output is challenging. They might return categories outside the ones that you determined. They might return multiple categories when you only want one (or the opposite — a single category when you want multiple). Even if you steer the AI toward the correct answer, parsing the output can be difficult. Asking the LLM to output structure data works 80% of the time. But the 20% of the time that your code parses the response fails takes up 99% of your time and is unacceptable for most real-world use cases.
[0] https://twitter.com/mattrickard/status/1678603390337822722
But here's Marc Andreessen thoughts:
> "Seek to be a double/triple/quadruple threat."
He talks about the MBA + Undergrad Engineering combo in this blog post. https://fictivekin.github.io/pmarchive-jekyll/guide_to_caree...
779 blog posts. Writing about engineering, startups, math, and AI.
Many of the posts have rich discussions on HN. You can see the top ones here: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
---
* Reflections on 10k Hours of Programming (421 points) - https://news.ycombinator.com/item?id=28086836
* Don't Use Kubernetes Yet (306 points) - https://news.ycombinator.com/item?id=31795160
* Google search's death by a thousand cuts (292 points) - https://news.ycombinator.com/item?id=36564042
* The Unreasonable Effectiveness of Makefiles (256 points) - https://news.ycombinator.com/item?id=32438616
* I Miss the Programmable Web (248 points) - https://news.ycombinator.com/item?id=32284375
* What Comes After Git? (227 points) - https://news.ycombinator.com/item?id=31984450
---
RSS Feed: https://matt-rickard.com/rss
Email list: https://matt-rickard.com/subscribe
You have to go one token at a time, otherwise the masking becomes combinatoric rather than linear (two tokens at a time -- need to generate all two token pairs, etc.).
But otherwise, that's what the code does! https://github.com/r2d4/rellm/blob/main/rellm/rellm.py#L21
For now, this is a good way to make sure that I can parse the output reliably in the minimal amount of completions (instead of looping until conformant).
A regex is a better fit for a different class of problems. You might implement a JSONformer/clownfish with this instead.
Now, with diffusion-based models like Stable Diffusion and DALL-E, we have an encoder – text-to-image.
Natural analogy to how humans perceive the world and how we've designed our own human-computer interfaces.
[0] https://matt-rickard.com/screenshots-as-the-universal-api [1] https://twitter.com/mattrickard/status/1577321709350268928
[0] https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpo...
Pulumi might be moving away from pure Typescript constructs because it's difficult to compete against something like AWS CDK, which will always be better because (1) it's specific to one provider and (2) is a first-class citizen.
I forget what they were using it for, but it boiled down to packing up a json file or two in a tarball and pushing it to the local daemon with a special suffix. Then it could pull that and unpack it on the next run.
[0] https://docs.docker.com/build/buildx/#build-multi-platform-i...
I use the Tailscale extension to let my development pods talk to my tailnet. It's really handy (would be even better if it worked with the local Kubernetes cluster in Desktop). Of course you can do this yourself fairly easily, but it's nice to have it "managed" for a non-essential part of the workflow.
[0] https://www.gnu.org/software/make/manual/html_node/Choosing-...
- Alternative docker frontends - https://matt-rickard.com/building-a-new-dockerfile-frontend/ (https://github.com/r2d4/mockerfile)
- Docker merge - https://matt-rickard.com/docker-merge/ (https://github.com/r2d4/docker-merge)