Working DeiT implementation for Generation

Overview

This is an experimental DeiT codebase for Generation. It keeps the base setup intentionally manageable so architecture changes can be inspected before a full training run.

Expect rough edges β€” this is a working sketch, not a polished release.


Repository Status

One Python module contains the model and a runnable example. Generated configuration lives in config.json; the recipe in training_args.json. The checkpoint is an initialization artifact and should not be read as a trained model. Scores are deliberately absent.


Limitations

The checkpoint is untrained and unaudited. Treat the repository as an experimental starting point; anything learned from a future trained version must be documented separately.


Quick Check

python predict.py --help

Inspect the script's __main__ block for its generated smoke-test example. Because this is a custom implementation, generic automatic loading APIs require an explicit adapter before use.


Architecture

  • Architecture: DeiT
  • Scale: base
  • Attention: sliding window
  • Fusion: tucker
  • Activation: gelu
  • Normalization: scalenorm

Default Experiment Recipe

Defaults: novograd optimizer, exponential schedule. Treat these as starting points; a real run should sweep learning rate and batch size before drawing conclusions.


Files

  • predict.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

Distributed under the unknown license. External datasets keep their own terms β€” check them separately.

Downloads last month
-
Safetensors
Model size
24.8k params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support