gemma-4-E2B-it-6bit / README.md
DreamFoundries's picture
Mueve Download MLXHub al final del documento
c19e48b verified
|
Raw
History Blame Contribute Delete
1.84 kB
metadata
library_name: mlx
base_model: google/gemma-4-E2B-it
license: apache-2.0
pipeline_tag: text-generation
tags:
  - mlx
  - mlx-lm
  - quantized
  - 6-bit
  - base_model:google/gemma-4-E2B-it

Open in MLXHub

gemma-4-E2B-it MLX 6-bit

This repository contains an MLX-LM conversion of google/gemma-4-E2B-it.

Conversion Details

  • Original model: google/gemma-4-E2B-it
  • Model family: Gemma4
  • Source model type: gemma4
  • Model size: 5,123,178,051 parameters
  • Quantization: MLX-LM affine quantization
  • Bits: 6-bit
  • Group size: 64
  • Local MLX folder size at upload time: 3.55 GiB
  • Local safetensors weight size at upload time: 3.52 GiB

This Gemma conversion follows the MLX-LM Gemma 4 shared-KV topology and uses non-strict checkpoint loading so extra HF tensors outside that topology are discarded during conversion.

For mlx-swift compatibility, per_layer_model_projection was left unquantized while the rest of the eligible linear layers were quantized.

Usage

mlx_lm.generate --model DreamFoundries/gemma-4-E2B-it-6bit --prompt "Hello" --max-tokens 64

Benchmarks

No comparative benchmarks have been run yet. The repository does not currently provide quality, speed, memory, or benchmark comparisons against the original weights or other quantizations.

License

This is a converted/quantized derivative of the original model. Please refer to the original model repository for the upstream license and usage terms: https://huggingface.co/google/gemma-4-E2B-it


Download MLXHub