Gemma 4 8B (text-only)

Language-model-only extraction of google/gemma-4-E4B-it. The vision and audio towers were removed; the language weights are unchanged (bf16).

Usage

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "Lalaa-a/gemma4-8b-text-only"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo, dtype=torch.bfloat16, device_map="auto")

License

Use is subject to the original Gemma license and terms of use. See the base model's repository.

Downloads last month
49
Safetensors
Model size
7B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support