Ziyue Li (@curiosity_notes) header
Ziyue Li (@curiosity_notes) profile picture

🌈 Data Scientist @remax | sharing what I learn about software engineering, AI, data, and science | ignorant and curious

Tampa, FL
Joined March 2018
Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)Photo by Ziyue Li (@curiosity_notes)
1/N I’m excited to share that our latest @OpenAI experimental reasoning LLM has achieved a longstanding grand challenge in AI: gold medal-level performance on the world’s most prestigious math competition—the International Math Olympiad (IMO).
391
1,280
795
7,217
5,735,110
These 94 lines of code are everything that is needed to train a neural network. Everything else is just efficiency. This is my earlier project Micrograd. It implements a scalar-valued auto-grad engine. You start with some numbers at the leafs (usually the input data and the neural network parameters), build up a computational graph with operations like + and * that mix them, and the graph ends with a single value at the very end (the loss). You then go backwards through the graph applying chain rule at each node to calculate the gradients. The gradients tell you how to nudge your parameters to decrease the loss (and hence improve your network). Sometimes when things get too complicated, I come back to this code and just breathe a little. But ok ok you also do have to know what the computational graph should be (e.g. MLP -> Transformer), what the loss function should be (e.g. autoregressive/diffusion), how to best use the gradients for a parameter update (e.g. SGD -> AdamW) etc etc. But it is the core of what is mostly happening. The 1986 paper from Rumelhart, Hinton, Williams that popularized and used this algorithm (backpropagation) for training neural nets: cs.toronto.edu/~hinton/absps… micrograd on Github: github.com/karpathy/microgra… and my (now somewhat old) YouTube video where I very slowly build and explain: youtube.com/watch?v=VMj-3S1t…
188
1,738
156
14,722
1,601,443
Marketing speak to terms you already know: semantic index -> embeddings app intents -> function calling on device language model -> 3B fine tuned LLM w/ included LoRA adapters on device image model -> diffusion model w/ included LoRA adapters orchestration -> Siri Neural Engine -> Apple's GPU
This is from Apple's State of the Union The local model is a 3B parameter SLM that uses adapters trained for each specific feature. Diffusion model does the same thing, adapter for each style. Anything running locally or Apple's Secure Cloud is an Apple model, not OpenAI.
20
129
12
1,366
484,830
Sora performance scales with compute
88
247
233
2,107
2,414,527
Teaser of INKTOOL!!v1.0! Easy inking any 3D model🥳🥳🥳 Writing addon is fun!😆 #blender #b3d #art #geometrynodes #addon #design
48
696
29
4,649
240,729
Imagine a 3rd generation Apple Pencil that is compatible with Vision Pro 🤔 What would you use it for?
26
66
25
622
157,282
Ziyue Li retweeted
Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t invert a binary tree on a whiteboard so fuck off.
500
6,655
708
18,006
‘Physical Open Waters’ addon for #blender3d is nearing an imminent release. This is the first glimpse of the UI and preset system. It will come with ready-made presets. Or you can make your own unique waters and save/load with a single click. Higher quality renders in 🧵👇
33
156
9
1,665
152,014
Probably the sauciest dedication I've ever seen in a math book.
19
329
47
2,674
218,622
You can now safely store your private keys, such as your @huggingface or @kaggle API tokens, in Colab! Values stored in Secrets are private, visible only to you and the notebooks you select.
33
313
70
2,083
341,163
If you're like me and find it easier to read *code* than *math*, and you have access to @OpenAI GPT 4V (or use @bing or @google Bard), try pasting a image of an equation you wanna understand in there. It might just blow your mind. 1/🧵
60
245
97
1,808
1,143,376
Just fine-tuned an SDXL model on a blocky, colorful oil painting style known as 'alla prima'. Used 50 carefully selected images. The results? So beautiful, it's messing with my brain. 🎨
37
57
14
643
158,233
🚀Exciting news! Stability AI has launched StableCode, the revolutionary generative AI LLM for coding! 💡 Developers, get ready to level up your coding game! #AI #Coding #StableCode #StabilityAI bit.ly/44Z8iO0
41
309
66
1,063
265,368
Liquid container generator for #SanctusLibrary Bottles, flasks, vases, jars, cups... endless possibilities! #b3d #blender3d
32
219
6
1,838
95,456
Richard Feynman was a brilliant physicist best known for his exceptional contributions to quantum mechanics and his captivating teaching style, among others. Here are all of Feynman's Freely available Lectures at one place. A Thread 🧵
86
2,548
124
9,416
1,596,493
Stability AI unveils Stable Diffusion XL 1.0, now available on Amazon Bedrock for developers worldwide #StabilityAI #AI #AIcommunity #TextToImage #OpenSource #AWS #SDXL bit.ly/3O7N3Ch
50
281
73
1,009
309,474
Yay, llama2.c can now load and inference the Meta released models! :) E.g. here inferencing the smallest 7B model at ~3 tokens/s on 96 OMP threads on a cloud Linux box. Still just CPU, fp32, one single .c file of 500 lines: github.com/karpathy/llama2.c expecting ~300 tok/s tomorrow :)
57
311
32
2,506
410,850