Downloads · 30 days
13
13% of all-time downloads
anirudmohan26/gpt-oss-20B-FP8
gpt-oss-20B-FP8 is a text generation model from anirudmohan26. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
FP8 (E4M3) post-training quantization of GPT-OSS 20B, produced with block-wise GPTQ (Hessian-based, second-order weight quantization) on a parallel-Hessian calibration pass. Quantized from unsloth/gpt-oss-20b-BF16.
Downloads · 30 days
13
13% of all-time downloads
All-time downloads
97
Public
Parameters
20.9B
41.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors41.8 GB · 100%
From the Hugging Face model README
FP8 (E4M3) post-training quantization of GPT-OSS 20B, produced with block-wise
GPTQ (Hessian-based, second-order weight quantization) on a parallel-Hessian
calibration pass. Quantized from unsloth/gpt-oss-20b-BF16.
from_pretrained call.| Dataset | BF16 ppl | FP8 ppl | Δppl |
|---|---|---|---|
| WikiText-2 | 229.4992 | 228.1501 | −1.3490 |
| C4 | 719.8874 | 720.1364 | +0.2489 |
FP8 matches the BF16 baseline within threshold on both datasets.
The absolute perplexity is inflated by a long-context degradation in GPT-OSS's 2048-token windowed evaluation. This affects the BF16 and models identically, so Δppl is the meaningful metric — the absolute values are not comparable across models.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("anirudmohan26/gpt-oss-20
tok = AutoTokenizer.from_pretrained("anirudmohan26/gpt-oss-20B-FP8")