Kevin (@KevinJSharp) profile picture
Joined May 2018
This is brilliant! Validating the Einstein test that many (including Denis Hassabis and me) have proposed for LLMs.
I trained an LLM from scratch on pre-1900 text to see if it could come up with quantum mechanics and relativity. While the model is too small to do meaningful reasoning, it has glimpses of intuition. When given observations from past landmark experiments, the model can declare that “light is made up of definite quantities of energy” and even suggest that gravity and acceleration are locally equivalent. I’m releasing the dataset + models and leave this as an open problem to the research community. I also include what this project has taught me about intelligence in a mini essay linked below. 🧵(1/n)
3
4
61
9,522
Noticing myself adopting a certain rhythm in AI-assisted coding (i.e. code I actually and professionally care about, contrast to vibe code). 1. Stuff everything relevant into context (this can take a while in big projects. If the project is small enough just stuff everything e.g. `files-to-prompt . -e ts -e tsx -e css -e md --cxml --ignore node_modules -o prompt.xml`) 2. Describe the next single, concrete incremental change we're trying to implement. Don't ask for code, ask for a few high-level approaches, pros/cons. There's almost always a few ways to do thing and the LLM's judgement is not always great. Optionally make concrete. 3. Pick one approach, ask for first draft code. 4. Review / learning phase: (Manually...) pull up all the API docs in a side browser of functions I haven't called before or I am less familiar with, ask for explanations, clarifications, changes, wind back and try a different approach. 6. Test. 7. Git commit. Ask for suggestions on what we could implement next. Repeat. Something like this feels more along the lines of the inner loop of AI-assisted development. The emphasis is on keeping a very tight leash on this new over-eager junior intern savant with encyclopedic knowledge of software, but who also bullshits you all the time, has an over-abundance of courage and shows little to no taste for good code. And emphasis on being slow, defensive, careful, paranoid, and on always taking the inline learning opportunity, not delegating. Many of these stages are clunky and manual and aren't made explicit or super well supported yet in existing tools. We're still very early and so much can still be done on the UI/UX of AI assisted coding.
453
1,035
262
12,162
1,217,572
A thread on some of the fascinating noncoding genetic discoveries from 2024. I've written long form posts and discussed on The Genetics Podcast about these stories. I'll share links to all below with a brief summary.
4
37
2
110
16,430
Philip hits the nail on the head. "You're having your kitchen refitted... the bloke's a little fella & his trousers are too short.. " #LBC
147
1,386
242
5,628
701,192
Incredible anecdote by @danielboffey in the Guardian A Labour MP tells a story about meeting a voter who said he wasn’t voting for him because Labour was taxing condoms
286
1,405
229
6,185
676,221
So Sunak didn’t just lie about the tax rise, he was TOLD in advance of #itvdebate NOT to say it What was that about “integrity?”
178
3,554
220
9,674
466,591
This letter is very tricky for the Conservatives.
EXCLUSIVE The chief Treasury civil servant wrote to Labour two days ago saying that the £38 billion/£2,000 tax attack “should not be presented as having been produced by the civil service” He said he had reminded ministers of this
258
1,563
124
4,625
350,048
Have you ever wanted to train LLMs in pure C without 245MB of PyTorch and 107MB of cPython? No? Well now you can! With llm.c: github.com/karpathy/llm.c To start, implements GPT-2 training on CPU/fp32 in only ~1,000 lines of clean code. It compiles and runs instantly, and exactly matches the PyTorch reference implementation. I chose GPT-2 to start because it is the grand-daddy of LLMs, the first time the LLM stack was put together in a recognizably modern form, and with model weights available.
252
1,777
329
12,360
1,661,933
Funny to see the PCA vs UMAP debate start to take on a culture war angle. In reality, the latter simply doesn't identify basic population structure correctly. Here's an example with three-way admixture: admixed individuals get mapped almost arbitrarily.
13
46
4
331
47,975
1/n: There are some academic papers that are so brilliantly and so accessibly written and so universal in scope that they transcend disciplines and stand as timeless testaments to both great thinking and great writing. Here's a short personal selection:
97
1,306
137
7,967
1,439,588
This toy example may change how you look at tSNE & UMAP. They find clusters in the most uniform data possible.
42
163
38
1,131
542,642
GitHub Copilot and LLM chatbots are causing a big drop in StackOverflow traffic. What's fascinating about it is that these systems work largely thanks to the user-generated content from StackOverflow. Is this feedback loop sustainable?
186
599
88
4,279
956,580
No economist will ever come up with a better description of why being poor is so expensive than Terry Pratchett. Such a great quote.
296
20,995
1,171
58,224
#THREAD Well spotted @CatLaw75! The @BBC in 2020, & again in 2021, confirmed the personal @Twitter accounts of freelancers (eg Lineker, Packham, & Andrew Neil) are "unrelated to" the BBC, & "the BBC is not responsible for its content". #MOTD #IStandWithGaryLineker #GaryGate
73
1,971
204
3,987
418,387
Sunrise over JR Hospital Oxford this morning. Thinking of the amazing nurses and other NHS staff. Full support for their action.
People aren’t dying because NHS staff are striking. NHS staff are striking because people are dying. Please RT if you get that.
1
2
19
3,684
She doesn’t have a clue does she…
Missed this in November. Not that it’s needed, but further proof that the Home Secretary’s grip on her brief is as robust as Nadine Dorries’ was on hers. These people have literally no idea what they’re doing. Not even a grasp of the basic facts. Stunning.
425
928
91
4,598
915,919
My friend has been at that amazing Japan-Spain match… after qualifying top with an incredible win… the Japanese fans are organising a litter pick and tidy up in the stands…
181
780
186
7,166
I asked #Galactica about some things I know about and I'm troubled. In all cases, it was wrong or biased but sounded right and authoritative. I think it's dangerous. Here are a few of my experiments and my analysis of my concerns. (1/9)
81
699
270
2,821
Here is a shocker! The cost of bailing out the failed Bulb electricity supplier is calculated by the Treasury at £4.6bn. That's what I call regulatory catastrophe
553
2,245
292
9,161