Downloads · 30 days
0
macmacmacmac/gemma-4-31B-it-litert-lm
gemma-4-31B-it-litert-lm is a text generation model from macmacmacmac. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
<div align="center" <img src="gemma.webp" width="180px" style="border-radius: 10px; margin-bottom: 20px;" <h1google/gemma-4-31B-it <br<subLiteRT-LM Optimized</sub</h1 <p<iDeterministic Projection Memory (DPM) Artifact…
Downloads · 30 days
0
Access
Public
Updated Apr 28, 2026
Repo size
64.6 GB
Likes
0
Public
Click a slice to open those files.
.litertlm64.6 GB · 100%
From the Hugging Face model README
This repository contains a specialized LiteRT-LM conversion of google/gemma-4-31B-it. It is engineered for local-first DPM//BENCH experiments, specifically targeting long-horizon incident narratives and red-team traces.
Objective: Package the base instruction model into a runtime format for deterministic projection memory experiments, ensuring that append-only event logs map to a consistent structured memory surface.
The conversion utilizes the latest LiteRT-LM stack, requiring specific flags to handle the Gemma 4 per-layer embedding structure.
<details> <summary><b>View Conversion Script</b></summary>python -m litert_torch.generative.export_hf \
--model /path/to/google/gemma-4-31B-it \
--output_dir /path/to/out/gemma-4-31B-it-litert-lm \
--externalize_embedder True \
--single_token_embedder True \
--experimental_lightweight_conversion True \
--bundle_litert_lm True \
--task text_generation
</details>
Critical Flags for Compatibility:
.litertlm artifact.| Requirement | Specification | Context |
|---|---|---|
| RAM | 128 GB+ | Minimum for 31B conversion overhead |
| Disk Space | 500 GB | Workspace for intermediate FlatBuffer assets |
| Storage Type | NVMe SSD | Crucial for large model serialization |
| Inference | Apple Silicon / GPU | 31B is unsuitable for fast CPU-only DPM |
For a successful DPM//BENCH run, the artifact must maintain byte-stability. Ensure the following conditions are met:
.litertlm bundle.temp 0 and a fixed seed, repeated projection calls must yield identical memory-surface bytes.