Downloads · 30 days
19
100% of all-time downloads
mamakarov/deit-classification-light
deit-classification-light is a machine learning model from mamakarov. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as bsd-3-clause.
Working implementation of DeiT for Classification using a tiny configuration. The repository focuses on transparent code and repeatable smoke tests; benchmark claims are deliberately omitted.
Downloads · 30 days
19
100% of all-time downloads
All-time downloads
19
Public
Parameters
24.8K
99.8 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors99.8 KB · 92%
From the Hugging Face model README
Working implementation of DeiT for Classification using a tiny configuration. The repository focuses on transparent code and repeatable smoke tests; benchmark claims are deliberately omitted.
config.json records the generated architecture settings.training_args.json records the default experiment recipe.model.safetensors is a valid initialization checkpoint for smoke tests; it is not presented as a trained benchmark checkpoint.| Item | Value |
|---|---|
| Architecture | DeiT |
| Scale | tiny |
| Attention | sparse |
| Fusion | cross attention |
| Activation | gelu tanh |
| Normalization | groupnorm |
The included configuration uses lion with a onecycle schedule. These are starting values in the script, not evidence of a completed run. For a meaningful evaluation, train all baselines with the same data exposure, tuning budget, and random seeds.
python main.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.
A useful first evaluation would use a task-specific labeled split, report the task metric across at least three seeds, and include a matched-capacity baseline. Keep training logs and environment versions with any published result.
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.
main.py — primary artifactREADME.md — this documentationconfig.json — architecture configurationtraining_args.json — default experiment settingsmodel.safetensors — initialization checkpointReleased under bsd-3-clause. Review the source-data terms separately when this repository is used with external datasets.