Configuration Parsing Warning:In config.json: "num_experts" must be a number

gemma-4-E2B-it-OnlyText

Text-only causal language model derived from google/gemma-4-E2B-it by removing the vision and audio stacks (their towers/embedders and projector weights) and the multimodal special tokens. The text backbone and LM head are preserved.

Details

  • Base model: google/gemma-4-E2B-it
  • Architecture: Gemma4ForCausalLM
  • Parameters: 4.65B
  • Layers: 35 · Hidden size: 1536
  • MTP head: not present
  • Weights: bfloat16

Attribution

This model is a derivative of google/gemma-4-E2B-it by the Google team, released under the apache-2.0 license. All credit for the underlying weights and capabilities belongs to the original authors; this repository only removes modalities, it does not add new training.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("OnlyTextLLMs/gemma-4-E2B-it-OnlyText")
tokenizer = AutoTokenizer.from_pretrained("OnlyTextLLMs/gemma-4-E2B-it-OnlyText")
Downloads last month
-
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for OnlyTextLLMs/gemma-4-E2B-it-OnlyText

Finetuned
(349)
this model