Text-only version of google/gemma-4-E4B-it.
The vision and audio towers (and their embedding projectors) were removed; the language-model
weights are byte-for-byte identical to the original, re-keyed for Gemma4ForCausalLM.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("Lalaa-a/gemma4-8b-text-only")
model = AutoModelForCausalLM.from_pretrained("Lalaa-a/gemma4-8b-text-only", dtype="bfloat16", device_map="auto")
model-00001-of-00003.safetensors 5.6 GBmodel-00002-of-00006.safetensors 5.6 GBmodel-00002-of-00003.safetensors 5.0 GBmodel-00003-of-00003.safetensors 4.3 GBmodel-00004-of-00006.safetensors 2.1 GBmodel-00003-of-00006.safetensors 2.1 GBmodel-00005-of-00006.safetensors 2.1 GBmodel-00006-of-00006.safetensors 1.7 GBmodel-00001-of-00006.safetensors 1.3 GB有文件?提交种子。
提交种子