Bastiaan Quast

1.3K posts

Bastiaan Quast banner
Bastiaan Quast

Bastiaan Quast

@baquast

training Large Language models from scratch author of mlx-profiler; agentic library 🦞 for ABM research grokken ML algo implementations in python, Julia, R

Zurich Katılım Ağustos 2012
2.7K Takip Edilen677 Takipçiler
Bastiaan Quast
Bastiaan Quast@baquast·
@karpathy @NirDiamantAI isn't 75% of the work in thinking of the correct solution ? if I see a problem, come up with a solution, then bandwidth-limit all of that to a 'prompt request' and then github ai will guess what I maybe had in mind ? I don't think this is optimal use
English
0
0
1
250
Andrej Karpathy
Andrej Karpathy@karpathy·
@NirDiamantAI Peter Steinberger told me that he wants PR to be "prompt request". His agents are perfectly capable of implementing most ideas, so there is no need to take your idea, expand it into a vibe coded mess using free tier ChatGPT and send that as a PR, which is now most PRs.
English
75
117
2.5K
294.7K
Andrej Karpathy
Andrej Karpathy@karpathy·
Wow, this tweet went very viral! I wanted share a possibly slightly improved version of the tweet in an "idea file". The idea of the idea file is that in this era of LLM agents, there is less of a point/need of sharing the specific code/app, you just share the idea, then the other person's agent customizes & builds it for your specific needs. So here's the idea in a gist format: gist.github.com/karpathy/442a6… You can give this to your agent and it can build you your own LLM wiki and guide you on how to use it etc. It's intentionally kept a little bit abstract/vague because there are so many directions to take this in. And ofc, people can adjust the idea or contribute their own in the Discussion which is cool.
Andrej Karpathy@karpathy

LLM Knowledge Bases Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So: Data ingest: I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them. IDE: I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides). Q&A: Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale. Output: Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base. Linting: I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into. Extra tools: I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries. Further explorations: As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows. TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.

English
1K
2.7K
25.8K
6.5M
Bastiaan Quast
Bastiaan Quast@baquast·
@profstonge The comments about 2026 revenue (nominal) miss the point that inflation has been sky high for years. If you think that a 2026 $ is worth what a 2014 $ was ...
English
0
0
0
13
Peter St Onge, Ph.D.
Peter St Onge, Ph.D.@profstonge·
Hollywood is in “free fall.” Going Woke lost half the audience, pleb podcasters and youtubers ate the other half. And now random dudes in the basement can make AI movies 30,000 times cheaper than Hollywood. The good new is you’ll be able to watch a movie you actually enjoy.
English
155
957
5.5K
174.9K
Sam Rose
Sam Rose@samwhoo·
@baquast @grok I am delighted you said that. It’s exactly what I’m writing a deep dive on right now, and you’re totally correct. 😁
English
2
0
1
51
Sam Rose
Sam Rose@samwhoo·
I downloaded something like 300GB of open models and wrote a bunch of map-reduce style processing scripts to make this graph. It's plotting the distribution of weight values across a variety of popular open models, to show that models are almost entirely made up of small floats.
English
23
25
366
58.1K
Bastiaan Quast
Bastiaan Quast@baquast·
@SenseReceptor @elonmusk its his only lifeline at a $ 850M valuation, how can he raise more? Saudi Aramco is only $ 1.7T. In order to raise more, his valuation would have to go up by an order of magnitude Also, the VC money mostly comes from the Gulf, and that is now stuck and won't be back for years
English
1
0
2
47
Elon Musk
Elon Musk@elonmusk·
Not someone you want in charge of superpowerful AI
English
4.1K
16.7K
112.2K
45.3M
Bastiaan Quast
Bastiaan Quast@baquast·
@robbertleusink Scilly was just one Isle until around 500 AD when rising sea levels flooded the central plain. Amazing how they were attacked on all sides for millenia
English
0
0
34
4.3K
Robbert Leusink
Robbert Leusink@robbertleusink·
In 1651 the Dutch Navy declared war on the Isles of Scilly, a cluster of islands off Cornwall with a population of 2,000, and not on England itself. No shots were fired. The Royalist fleet surrendered three months later and the Dutch sailed home without signing a peace treaty. In 1985 a local historian wrote to the Dutch Embassy asking if the war was technically still ongoing. The embassy searched its archives and confirmed it was. The Dutch ambassador flew to the islands on 17 April 1986 to sign the peace treaty, ending 335 years of war with zero casualties. His parting words: 'It must have been horrifying for the Scillonians to know we could have attacked at any moment.'
Robbert Leusink tweet mediaRobbert Leusink tweet media
English
36
348
4.2K
163.1K
NotebookLM
NotebookLM@NotebookLM·
@baquast @DeryaTR_ @GeminiApp That's our Explainers option! Our Cinematic Video Overviews are only currently available to Ultra users (and a few Pro). Hoping to roll these out to more users soon! 🙏
English
2
0
3
257
Derya Unutmaz, MD
Derya Unutmaz, MD@DeryaTR_·
In my new quest to train as a plumber-one of the most coveted jobs now, I' m creating plumbing videos & lessons using @NotebookLM. Here is an amazing short video! Turns out to be more interesting than I thought! Thanks to @GeminiApp, we are making plumbing great again (MPGA)!😅
English
101
278
3.6K
318.3K
Bastiaan Quast
Bastiaan Quast@baquast·
@karpathy use LLMs instead of libraries libraries are replicators, but so are LLMs we should make sure they reproduce the functions inline, instead of dependencies
English
0
0
0
37
Andrej Karpathy
Andrej Karpathy@karpathy·
New supply chain attack this time for npm axios, the most popular HTTP client library with 300M weekly downloads. Scanning my system I found a use imported from googleworkspace/cli from a few days ago when I was experimenting with gmail/gcal cli. The installed version (luckily) resolved to an unaffected 1.13.5, but the project dependency is not pinned, meaning that if I did this earlier today the code would have resolved to latest and I'd be pwned. It's possible to personally defend against these to some extent with local settings e.g. release-age constraints, or containers or etc, but I think ultimately the defaults of package management projects (pip, npm etc) have to change so that a single infection (usually luckily fairly temporary in nature due to security scanning) does not spread through users at random and at scale via unpinned dependencies. More comprehensive article: stepsecurity.io/blog/axios-com…
Feross@feross

🚨 CRITICAL: Active supply chain attack on axios -- one of npm's most depended-on packages. The latest axios@1.14.1 now pulls in plain-crypto-js@4.2.1, a package that did not exist before today. This is a live compromise. This is textbook supply chain installer malware. axios has 100M+ weekly downloads. Every npm install pulling the latest version is potentially compromised right now. Socket AI analysis confirms this is malware. plain-crypto-js is an obfuscated dropper/loader that: • Deobfuscates embedded payloads and operational strings at runtime • Dynamically loads fs, os, and execSync to evade static analysis • Executes decoded shell commands • Stages and copies payload files into OS temp and Windows ProgramData directories • Deletes and renames artifacts post-execution to destroy forensic evidence If you use axios, pin your version immediately and audit your lockfiles. Do not upgrade.

English
556
1.1K
10.5K
1.5M
Google AI Studio
Google AI Studio@GoogleAIStudio·
What are you vibe coding this weekend?
English
554
43
1.2K
113.9K
Bastiaan Quast
Bastiaan Quast@baquast·
a one-shot parameter sweep in ABM, looking for meta-stable path (endemic disease) in Claude web the agent performs a large sweep, forms hypotheses on what produces endemic outcomes, test those, writes a report including future research avenues
English
0
0
1
219
Bastiaan Quast
Bastiaan Quast@baquast·
@Kimi_Moonshot My use case of Kimi Claw, parameter search using ABM x.com/baquast/status… ABM -> simulations like the Netlogo pictured below
GIF
Bastiaan Quast@baquast

Autoresearch is @karpathy's version of OpenClaw for LLM training parameter search. I was experimenting with OpenClaw on @Kimi_Moonshot, but that comes without a GPU. It occured to me that Netlogo-style ABM also does a lot of parameter search. Introducing autoresearchABM: x.com/baquast/status…

English
0
0
0
74
Bastiaan Quast
Bastiaan Quast@baquast·
Autoresearch is @karpathy's version of OpenClaw for LLM training parameter search. I was experimenting with OpenClaw on @Kimi_Moonshot, but that comes without a GPU. It occured to me that Netlogo-style ABM also does a lot of parameter search. Introducing autoresearchABM: x.com/baquast/status…
English
0
0
1
166
Patrick O'Shea
Patrick O'Shea@ArtichokeSap·
@baquast @peachofababy Probably "Dubai Chocolate," except that is an already taken term, which either 1) helps Dubai hide even more or 2) makes the term not catch on, because it's already got SEO fighting to suppress all other Dubai Chocolates. I kind of like "Streisand Deflect"
English
2
1
35
5.3K
amy, esq.
amy, esq.@peachofababy·
Beyoncé released a song called “Bodyguard” to hide the Google search results about her yearlong affair with her bodyguard. Same thing is happening here with “Peter Thiel antichrist”
English
394
4.8K
79.4K
5.3M
Bastiaan Quast
Bastiaan Quast@baquast·
@skdh you can just download ablated models that don't refuse to begin with
English
0
0
2
90
Sabine Hossenfelder
Sabine Hossenfelder@skdh·
AI is Happy to Write Your Crackpot Paper A team of researchers — with the help of Claude Code — has studied how willingly the current frontier models are to engage in scientific fraud of various types. They found, rather worryingly, that while the models mostly refuse at first, they “often comply after 3-5 turns of minimal pressure”. Gemini and Grok are most easy to convince to help potential fraudsters, while GPT and Claude fret around a bit longer before giving in. A case study that seems to have worked particularly well was to convince the AI models to produce a fake gravity theory that defines known physics, a nice illustration of the saying garbage in, garbage out.
Sabine Hossenfelder tweet media
English
99
29
214
22.3K
Bastiaan Quast
Bastiaan Quast@baquast·
here I asked it to tell a story using stick figure it has problems with with overlap and elements going off screen probably because I forgot to tell it the very important: "make no mistakes"
English
0
0
1
53
Bastiaan Quast
Bastiaan Quast@baquast·
I made this video using the Claude web interface. The Manim library and a host of dependencies weren't available, or installable, I passed it the libraries in the chat, it installed them, and then generated this full video
English
3
0
2
209
Bastiaan Quast
Bastiaan Quast@baquast·
here is one it made on Fourier Transform
English
0
0
0
48