You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Model Card: gemma-3-270m-it-qnm-4bit-2m (Threshold B Configuration)

This model is a quantized version of the Gemma-3-270M-IT base model using the Q4M format under the Precision Transition Dynamics (PTD) framework with Threshold B configuration applied.

Model Details

  • Developed by: Independent AI Research Team, POKDARTIK (Kelompok Masyarakat Sadar TIK, Pemalang, Indonesia) โ€“ WiTi4Bit Project.
  • Model Architecture: Gemma-3-270M-IT
  • Base Representation: BF16 (236 total tensors)
  • Quantization Format: Q4M (Sub-block size of 32 elements, 18 bytes per block: 2-byte FP16 scale + 16 bytes packed 4-bit data).
  • Configuration: Threshold B
  • Source Paper: Analysis of Threshold Configuration Effects on Compression Ratio and Logit Fidelity in Q4M Quantization of Gemma-3-270M-IT (DOI: 10.5281/zenodo.23994346).

Quantization Results & Tensor Allocation (Threshold B)

Under the Threshold B configuration, a more conservative approach is applied, routing fewer tensors to the Q4M conversion path to preserve numerical fidelity:

  • Total Tensors: 236 tensors
  • Tensors in Q4M Path: 1 tensor
  • Tensors in split-FP16 Path: 235 tensors
  • Baseline File Size: 536,223,056 bytes
  • Converted File Size (Threshold B): 295,083,928 bytes
  • Compression Ratio: 1.8175x
  • Storage Savings: 44.98%
  • Effective Bits per Element: 8.8035 bits

Numerical Fidelity Evaluation (Threshold B)

Threshold B exhibits higher numerical alignment and logit similarity relative to the baseline reference across all evaluated metrics compared to Threshold A:

1. Cosine Similarity

  • Softmax Track: 0.9768 (Final Position: 0.9907)
  • DR9 Track: 0.9720 (Final Position: 0.9833)

2. Numerical Error (RMSE & MAE)

  • Softmax Track: RMSE = 4.063 | MAE = 2.660
  • DR9 Track: RMSE = 4.548 | MAE = 3.043

3. KL Divergence & Negative Log-Likelihood (NLL)

  • Softmax Track: KL Divergence = 1.5791 | NLL = 10.168
  • DR9 Track: KL Divergence = 1.9045 | NLL = 10.341

Intended Use & Limitations

  • Intended Use: Suitable for research on LLM compression, model analysis, and Edge AI deployment scenarios where preserving numerical fidelity and logit accuracy is prioritized.
  • Limitations:
    • Internal numerical threshold values are omitted as they constitute proprietary development configurations.
    • Measurements were conducted in an x86 CPU environment; results do not directly represent ARM CPU/GPU runtime performance or inference speed benchmarks.

Citation

If you use this model or refer to this research, please cite the paper:

@article{johandri2026threshold,
  title={Analysis of Threshold Configuration Effects on Compression Ratio and Logit Fidelity in Q4M Quantization of Gemma-3-270M-IT},
  author={Johandri, Andri and Sulistiowati, Erni},
  journal={Zenodo},
  year={2026},
  doi={10.5281/zenodo.23994346}
}
Downloads last month
6
Safetensors
Model size
0.3B params
Tensor type
U8
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for WiTi4Bit/gemma-3-270m-it-qnm-4bit-2m

Finetuned
(1,213)
this model