Grape retweeted
Gemini 4 Argon Developer Guide 🧑💻
Here are a few tips when using Argon:
🎯 - Align on goals & intent upfront
🧪 - Give it a way to verify & test its work
🤖 - Have Argon delegate to Flash subagents
🔄 - Update rules & skills
Read the full guide 👇
aistudio.google.com/learn/ge…
Grape retweeted
We just launched a new hands on RL fine-tuning project on Deep-ML!
Across 24 steps, you'll build the entire pipeline from scratch in PyTorch, from creating a reinforcement learning environment and reward verifier to training your own transformer using GRPO.
You'll even explore reward hacking and see how models learn to exploit poorly designed rewards.
The best way to learn RL is by building it.
No source code? Let an AI agent reverse-engineer it.
With REA, your coding agent can use reverse-engineering tools through MCP to inspect Electron apps and native binaries.
The repo's examples trace Notion's clipboard flow and reconstruct a game's sound-pan calculation.
You can use the findings to build and test a similar feature in your own project.
Someone built a Mac search app on Google's EmbeddingGemma 2, and it makes Spotlight look broken.
It's called DigUp. It also reads what's inside your files: PDFs, screenshots, photos, podcasts, videos.
The trick is embedding search. You don't need the exact words. Describe it roughly and the model finds what's close, like "where they talk about sleep" jumping to that minute of a podcast.
The model is small and open source. It runs on your Mac, and your files never leave it.
Anywhere you search locally, an embedding model can do this.
repo link in reply 👇
Grape retweeted
Reasoning From Scratch: Reinforcement Learning with Verifiable Rewards (RLVR) round 2.
Covering clipped policy ratios, KL loss term, format rewards, and other GRPO tips & tricks.
00:00 Introduction and recap
01:52 Interpreting basic GRPO training metrics
06:34 Planned improvements to GRPO
08:58 Running longer training jobs with Python scripts
13:39 Running the baseline GRPO training script
17:29 Loading and plotting training logs
19:29 Diagnosing unstable training
23:55 Evaluating checkpoints on MATH-500
26:26 Downloading existing checkpoints
30:09 Tracking advantage statistics
34:53 Understanding entropy
40:32 Computing entropy in PyTorch
44:17 Interpreting entropy values
48:58 Adding entropy tracking to GRPO
53:36 Analyzing advantage and entropy metrics
56:18 Stabilizing GRPO with clipped policy ratios
1:03:27 Implementing the clipped policy loss
1:09:39 Analyzing clipped policy training results
1:11:25 KL divergence and reward hacking
1:15:12 Adding a KL loss term
1:20:34 Limitations of the simplified KL loss
1:23:04 Format rewards and think tags
1:25:47 Adding special tokens to the tokenizer
1:30:29 Implementing the format reward
1:35:56 Analyzing format reward training
1:38:25 Rewarding format only for correct answers
1:40:48 Further GRPO improvements from research
1:45:43 Next steps and distillation
Grape retweeted
This iPad Pro + Thunderbolt R9700 is running Qwen3.8-27B at 158.5 tps.
Yes… an iPad.
The trick
🎮 32GB Radeon AI PRO R9700
🔌 Thunderbolt eGPU enclosure
📱 iPad Pro running LemonSeed Studio
🧠 Qwen3.8-27B Q4
📚 131K context
And the speed progression is kind of ridiculous
🐌 baseline → 31.2 tps
⚡ MTP3 → 108.7 tps
🚀 DFlash2 → 158.5 tps
Prefill:
📥 4K → 1,636 tps
📥 32K → 1,395 tps
LemonSeed actually runs the AMD GPU on iPadOS.
It embeds the upstream Linux amdgpu + amdkfd driver as an iPad PCIDriverKit extension, then runs its inference engine on the R9700.
Same engine for 🐧 Linux | 🍎 macOS | 📱 iPadOS
Same R9700 on macOS reaches 159.4 tps, so the iPadOS result is basically right there with the Mac.
⚠️ Obviously, the iPad's own GPU isn't doing the 159 tps.
The iPad is hosting a 32GB desktop AMD GPU over Thunderbolt.
🔗 Link in ALT.
the most common failure case I see is when people are working outside their domain of expertise and don't know how to be precise with their prompts and plans, so they have to spend a lot of turns iterating imprecisely
Grape retweeted
gm, giving away $600 in Devin Max plans.
Use the latest models, Fusion, Voice, and experience Dreaming on your repo.
🦦
Tell me what you'd build with it and you could win.
Grape retweeted
Backpropagation is easiest to understand when the network is small enough that you can follow every number by hand.
The example below has one input, two hidden ReLU units and a linear output. We begin with a normal forward pass. The input is multiplied by the hidden-layer weights, ReLU produces the two hidden activations, and the output layer combines them into a prediction. Comparing that prediction with the target gives a loss of 0.5.
Now comes the part we actually need for training. We want to know how sensitive the loss is, locally, to each weight in the network. A hidden-layer weight does not touch the loss directly, so we have to follow the route through which it affects the result. It changes a hidden unit, that hidden unit changes the prediction, and the prediction changes the loss. The chain rule gives us a way to combine those effects.
This is what backpropagation is doing as it moves through the computation graph. At each step it takes the gradient arriving from later in the network and combines it with the local derivative of the operation at that point. If a value contributes to several later computations, the gradient contributions from those paths are added before propagation continues.
The ReLU units in this example also show why activation derivatives matter. Both hidden pre-activations are positive, so the local ReLU slope is 1 and the gradient can pass through those activations without additional scaling. Had one of those pre-activations been negative, the local ReLU slope would have been zero and that path would have contributed no gradient to the weight behind it for this example.
After working backward through the network, we have a gradient for each of the four weights. Backpropagation has done its job at that point. Plain SGD then uses those gradients to update the parameters. The important detail is that all four gradients are computed at the same original parameter values, before any of the weights are changed.
Running the network again with the updated weights gives a prediction of -0.49 and a loss of 0.12005, down from 0.5 in this particular step. The decrease is useful for the example, although a gradient update with an arbitrary learning rate is not guaranteed to reduce the loss on every step.
The networks used in practice are much larger, but the underlying calculation is the same. Forward computation produces the loss, reverse-mode differentiation propagates sensitivities backward through the graph, and the optimizer uses the resulting gradients to change the parameters.
Backpropagation computes the gradients. SGD is what changes the weights.
Grape retweeted
Decompensated HF: High-Yield Numbers to Memorize
The 2026 ESC Guidelines contain several important thresholds:
1️⃣ SpO₂ <90% or PaO₂ <60 mmHg: oxygen therapy
2️⃣ RR >25/min + SpO₂ <90% + respiratory distress: consider NIV
3️⃣ uNa⁺ ≥70 mEq/L at 2 h: satisfactory diuretic response
4️⃣ Urine output ≥100 mL/h during the first 6 h: satisfactory response
5️⃣ SBP >110 mmHg: IV vasodilators may be considered
6️⃣ SBP <90 mmHg + hypoperfusion despite standard treatment: inotropes may be considered
7️⃣ 40 mg IV furosemide: usual starting dose in diuretic-naïve patients
8️⃣ 2× usual oral loop-diuretic dose: consider when already taking loop diuretics
9️⃣ After initial stabilization: initiate an SGLT2 inhibitor in hospital
Quick memory:
90: oxygen threshold
70: urinary sodium
100: urine output
110: vasodilator threshold
Based on the 2026 ESC Guidelines for the management of heart failure.
Grape retweeted
PhD Students - Here is an example of a good abstract.
A good abstract should have the following 6 parts.
1. Importance of your study
2. Gap in the existing literature
3. Objective of your study
4. Method used to conduct the study
5. Key findings of your study
6. Implications of your study
Anything you'd like to add?
Grape retweeted
If you're going to miss GMKtec’s first 30, ACEMAGIC has another option (👉that's 3x new Max+ PRO 495 mini-PCs on the market).
🆕ACEMAGIC Max+ PRO 495
💰 $6,499 sale / $6,999 regular
GMKtec EVO-X5 Pro
🔥 $6,399 first 30
💰 $6,799 regular
Minisforum MS-S1 MAX-P495
💰 $7,399
ACEMAGIC is only $100 over GMKtec’s limited deal...
and $300 under GMKtec’s regular price.
🔗 Link in ALT.
Grape retweeted
People are asking how AI companies will discover the next breakthrough drug.
I think they're asking the wrong question.
Generating molecules is a commodity.
The limiting factor is no longer the ability to create hypotheses.
It's the ability to test them in the real world.
Grape retweeted
It really depends on the model size and architecture. Large MoEs are 99% routed experts. They can often be quantized very safely to 2-bit format, and even lower for the largest ones.
For smaller or dense models, 3-bit is the minimum for agentic tasks. For simple tasks with short sequences, 2-bit can work.
Grape retweeted
Jev-Omni for Quality Inspection, looking at lemons on a roller line, running fully local on MacBook 🍋
- Each lemon gets checked 3 times while it rolls
- OK only after 3 clean passes (to cover different sides of the lemon), any defect flags it
- Jev-Omni as classifier, @roboflow's RF-DETR (instace seg) as detector, trackers lib for tracking































