mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-08-18 00:47:23 +02:00
709 B
709 B
Offline model fixture
tiny_offline_model.py creates a one-layer, 4,480-parameter GPT-2 causal
language model and an eleven-token WordLevel tokenizer at test time. The model
is initialized from a fixed seed (20260814); it is not trained and contains
no downloaded weights or dataset content.
The generated artifact is repository-owned test data under the project's AGPL-3.0-only license. Its purpose is software integration testing only. It does not support research, safety, capability, or model-quality claims.
Tests must build the fixture inside pytest's temporary directory and load it with Hugging Face offline mode enabled. Do not replace it with a Hub model or depend on a pre-populated cache.