ViT experiments: Generation
Overview
Working implementation of ViT for Generation using a small configuration. The repository focuses on transparent code and repeatable smoke tests; benchmark claims are deliberately omitted.
Architecture
- Architecture: ViT
- Scale: small
- Attention: multi query
- Fusion: gated fusion
- Activation: swish
- Normalization: rmsnorm
Repository Status
- The Python file contains the model and runnable example or training entry point.
config.jsonrecords the generated architecture settings.training_args.jsonrecords the default experiment recipe.model.safetensorsis a valid initialization checkpoint for smoke tests; it is not presented as a trained benchmark checkpoint.- No benchmark score is claimed in this repository.
Quick Check
Run python eval.py --help for the built-in smoke test. Because this is a custom implementation, generic automatic loading APIs require an explicit adapter before use.
Limitations
The initialization checkpoint has not been trained or audited for robustness, fairness, or domain transfer. The implementation should be treated as an experimental starting point. Results from a future trained checkpoint must be documented separately from the defaults shipped here.
Default Experiment Recipe
Defaults: rmsprop optimizer, onecycle schedule. Treat these as starting points; a real run should sweep learning rate and batch size before drawing conclusions.
Training Details
- Weights initialized with a kaiming scheme.
- Runs on a single consumer GPU.
- Full smoke test takes minutes, not hours.
- No distributed setup required.
Files
| File | Purpose |
|---|---|
eval.py |
primary artifact |
README.md |
this documentation |
config.json |
architecture configuration |
training_args.json |
default experiment settings |
model.safetensors |
initialization checkpoint |
examples/sample_usage.py |
usage sketch |
License
Released under bsd-2-clause. Review the source-data terms separately when this repository is used with external datasets.
- Downloads last month
- 29