msluszniak's picture
Apply the model card standard
e20831d verified
|
Raw History Blame Contribute Delete
1.7 kB
metadata
license: gemma
pipeline_tag: text-generation
tags:
  - google
  - deepmind
  - gemma4
  - edge
base_model:
  - google/gemma-4-E2B
library_name: executorch

gemma-4

This repository hosts the gemma-4 models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Variants

Path Backend Precision
e2b/mlx/gemma4_e2b_mlx_int4.pte mlx int4
e2b/vulkan/gemma_4_e2b_vulkan_8da4w.pte vulkan 8da4w
e2b/xnnpack/gemma_4_e2b_xnnpack_8da4w.pte xnnpack 8da4w

Repository structure

config.json                                28 B
e2b/mlx/config.json                        1.2 kB
e2b/mlx/gemma4_e2b_mlx_int4.pte            2.7 GB
e2b/tokenizer.json                         30.7 MB
e2b/tokenizer_config.json                  21.8 kB
e2b/vulkan/config.json                     1.3 kB
e2b/vulkan/gemma_4_e2b_vulkan_8da4w.pte    2.4 GB
e2b/xnnpack/config.json                    1.3 kB
e2b/xnnpack/gemma_4_e2b_xnnpack_8da4w.pte  2.5 GB

Compatibility

These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.

To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.

To load these files in your own ExecuTorch runtime, read the compatibility note first.