HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
antimatter15
reverse-engineering-gemma-3n
Python2025–2025
antimatter15 / reverse-engineering-gemma-3n

reverse-engineering-gemma-3n

Reverse Engineering Gemma 3n: Google's New Edge-Optimized Language Model

2Distinct people
2Mentions
0Explicit recommenders
278GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Reverse Engineering Gemma 3n: Google's New Edge-Optimized Language Model

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-06-26 18:15:22 UTC to 2025-06-26 21:44:59 UTC.

012025-06-26 18:00:00 UTC to 2025-06-26 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 26, 18:002025-06-26 19:00:00 UTC to 2025-06-26 20:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJun 26, 19:002025-06-26 20:00:00 UTC to 2025-06-26 21:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-26 21:00:00 UTC to 2025-06-26 22:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJun 26, 21:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jun 26, 18:002025-06-26 18:00:00 UTC2025-06-26 19:00:00 UTC101
Jun 26, 19:002025-06-26 19:00:00 UTC2025-06-26 20:00:00 UTC000
Jun 26, 20:002025-06-26 20:00:00 UTC2025-06-26 21:00:00 UTC000
Jun 26, 21:002025-06-26 21:00:00 UTC2025-06-26 22:00:00 UTC101

What Hacker News says

2 sources
Classify/similarity/clustering works fine with just an encoder, doesn't it? I guess there's benefit to running that step without subsampling to the initial 256 tokens per image/frame ( https://ai.google.dev/gemma/docs/gemma-3n/model_card#inputs_... ) to go on from that, https://github.com/antimatter15/reverse-engineering-gemma-3n suggests these are 2048 dimensional tokens, which makes these 60 Hz frame digestion rate produce just under 31.5 Million floats-of-your-choosen-precision per second. At least at the high (768x768) input resolution, this is a bit less than one float per pixel. I guess maybe with very heavy quantizing to like 4 bit that could beat sufficiently-artifact-free video coding for then streaming the tokenized vision to a (potentially cloud) system that can keep up with the 15360 token/s at (streaming) prefill stage? Or I
Read the rest
could imagine just local on-device visual semantic search by expanding the search query into a bunch of tokens that have some signed desire/want-ness each and where the search tokens get attended to the frame's encoded tokens, activation function'd, scaled (to positive/negative) by the search token's desire score, and then just summed over each frame to get a frame score which can be used for ranking and other such search-related tasks. (For that last thought, I asked Gemini 2.5 Pro to calculate flops load, and it came out to 1.05 MFLOPS per frame per search token; Reddit suggests the current Pixel's TPU does around 50 TOPS, so if these reasonably match each terminology wise, assuming we're spending about 20% of it's compute on the search/match aspect, it comes out to an unreasonably (-seeming) about 190k tokens the search query could get expanded to. I interpret this result to imply that quality/accuracy issues in the searching/filtering mechanism would hit before encountering throughout issues in this.)
In Introducing Gemma 3n

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.