Pavel Zloi (@EvilFreelancer) header
Pavel Zloi (@EvilFreelancer) profile picture

AI/ML, MCP, MLOps, LLM, GPT, GNN, NLP, GCN, Python, AWS, Linux, DevOps

Moscow, Russian Federation
Joined October 2016
Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)Photo by Pavel Zloi (@EvilFreelancer)
Pavel Zloi retweeted
Personal update: I've joined Anthropic. I think the next few years at the frontier of LLMs will be especially formative. I am very excited to join the team here and get back to R&D. I remain deeply passionate about education and plan to resume my work on it in time.
7,840
10,856
7,553
148,557
28,148,163
I vibecoded this neural network visualization for my students and open sourced it. It shows a simple MLP trained on MNIST handwritten digits at several training steps. The visualization is using @threejs and it comes with training code in @PyTorch . Link + repo 👇
148
743
50
8,243
488,760
Pavel Zloi retweeted
14 sorting algorithms in just 60 seconds. v/@7etsuo
36
243
24
1,738
145,366
us-east-1 is down Here is why:
86
510
97
3,459
198,759
I quite like the new DeepSeek-OCR paper. It's a good OCR model (maybe a bit worse than dots), and yes data collection etc., but anyway it doesn't matter. The more interesting part for me (esp as a computer vision at heart who is temporarily masquerading as a natural language person) is whether pixels are better inputs to LLMs than text. Whether text tokens are wasteful and just terrible, at the input. Maybe it makes more sense that all inputs to LLMs should only ever be images. Even if you happen to have pure text input, maybe you'd prefer to render it and then feed that in: - more information compression (see paper) => shorter context windows, more efficiency - significantly more general information stream => not just text, but e.g. bold text, colored text, arbitrary images. - input can now be processed with bidirectional attention easily and as default, not autoregressive attention - a lot more powerful. - delete the tokenizer (at the input)!! I already ranted about how much I dislike the tokenizer. Tokenizers are ugly, separate, not end-to-end stage. It "imports" all the ugliness of Unicode, byte encodings, it inherits a lot of historical baggage, security/jailbreak risk (e.g. continuation bytes). It makes two characters that look identical to the eye look as two completely different tokens internally in the network. A smiling emoji looks like a weird token, not an... actual smiling face, pixels and all, and all the transfer learning that brings along. The tokenizer must go. OCR is just one of many useful vision -> text tasks. And text -> text tasks can be made to be vision ->text tasks. Not vice versa. So many the User message is images, but the decoder (the Assistant response) remains text. It's a lot less obvious how to output pixels realistically... or if you'd want to. Now I have to also fight the urge to side quest an image-input-only version of nanochat...
🚀 DeepSeek-OCR — the new frontier of OCR from @deepseek_ai , exploring optical context compression for LLMs, is running blazingly fast on vLLM ⚡ (~2500 tokens/s on A100-40G) — powered by vllm==0.8.5 for day-0 model support. 🧠 Compresses visual contexts up to 20× while keeping 97% OCR accuracy at <10×. 📄 Outperforms GOT-OCR2.0 & MinerU2.0 on OmniDocBench using fewer vision tokens. 🤝 The vLLM team is working with DeepSeek to bring official DeepSeek-OCR support into the next vLLM release — making multimodal inference even faster and easier to scale. 🔗 github.com/deepseek-ai/DeepS… #vLLM #DeepSeek #OCR #LLM #VisionAI #DeepLearning
558
1,533
396
13,138
3,341,575
Pavel Zloi retweeted
forget leetcode, I'm farming food with python.
99
305
42
5,218
276,289
Pavel Zloi retweeted
I DID THE THING FOR GITHUB
Best extension ever lmao
113
1,782
85
27,550
966,932
Pavel Zloi retweeted
140
8,120
246
103,888
2,087,082
Pavel Zloi retweeted
108
917
99
7,436
517,232
Who made this?!😂
799
9,336
827
54,980
2,669,164
Software creates soft men Soft men create hard times Hard times create hard men Hard men create hardware Hardware creates good times Good times creates software
296
2,429
210
23,031
995,719
Pavel Zloi retweeted
For the science nerds.
18
404
11
5,641
155,331
Professor crashes out over cheating students
158
4,279
251
44,164
1,541,929
justFoundOnLinkedInAndCouldNotWithStand redd.it/1ld4fpt
5
60
5
763
32,619
Found the bug 🤣
19
129
7
1,014
30,701
We're missing (at least one) major paradigm for LLM learning. Not sure what to call it, possibly it has a name - system prompt learning? Pretraining is for knowledge. Finetuning (SL/RL) is for habitual behavior. Both of these involve a change in parameters but a lot of human learning feels more like a change in system prompt. You encounter a problem, figure something out, then "remember" something in fairly explicit terms for the next time. E.g. "It seems when I encounter this and that kind of a problem, I should try this and that kind of an approach/solution". It feels more like taking notes for yourself, i.e. something like the "Memory" feature but not to store per-user random facts, but general/global problem solving knowledge and strategies. LLMs are quite literally like the guy in Memento, except we haven't given them their scratchpad yet. Note that this paradigm is also significantly more powerful and data efficient because a knowledge-guided "review" stage is a significantly higher dimensional feedback channel than a reward scaler. I was prompted to jot down this shower of thoughts after reading through Claude's system prompt, which currently seems to be around 17,000 words, specifying not just basic behavior style/preferences (e.g. refuse various requests related to song lyrics) but also a large amount of general problem solving strategies, e.g.: "If Claude is asked to count words, letters, and characters, it thinks step by step before answering the person. It explicitly counts the words, letters, or characters by assigning a number to each. It only answers the person once it has performed this explicit counting step." This is to help Claude solve 'r' in strawberry etc. Imo this is not the kind of problem solving knowledge that should be baked into weights via Reinforcement Learning, or least not immediately/exclusively. And it certainly shouldn't come from human engineers writing system prompts by hand. It should come from System Prompt learning, which resembles RL in the setup, with the exception of the learning algorithm (edits vs gradient descent). A large section of the LLM system prompt could be written via system prompt learning, it would look a bit like the LLM writing a book for itself on how to solve problems. If this works it would be a new/powerful learning paradigm. With a lot of details left to figure out (how do the edits work? can/should you learn the edit system? how do you gradually move knowledge from the explicit system text to habitual weights, as humans seem to do? etc.).
709
1,032
263
10,286
1,532,369
Pavel Zloi retweeted
what tech sector are you in?
162
93
25
921
46,429
Pavel Zloi retweeted
LLMs hallucinate 100% of the time. They just happen to hallucinate the right sequence of words ~80% of the time.
246
448
74
7,565
503,468
Pavel Zloi retweeted
Huge respect 🫡
81
1,265
75
13,071
314,754