by Analog24 · 8mo ago · 0 comments
These models are impressive but this is incredibly misleading. You need to load the embeddings in memory along with the rest of the model so it makes no sense o exclude them from the parameter count. This is why it actually takes 5GB of RAM to run the "2B" model with 4-bit quantization according to Unsloth (when I first saw that I knew something was up).
https://ai.google.dev/gemma/docs/gemma-3n#parameters
You can think of the per layer-embeddings as a vector database so you can in theory serve it directly from disk.