Downloads · 30 days
25
100% of all-time downloads
rahuldasbi/tiny-transformer-retrieval-study
tiny-transformer-retrieval-study is a machine learning model from rahuldasbi. 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 mit.
This is an experimental Tiny Transformer codebase for Retrieval. It keeps the nano setup intentionally manageable so architecture changes can be inspected before a full training run.
Downloads · 30 days
25
100% of all-time downloads
All-time downloads
25
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
This is an experimental Tiny Transformer codebase for Retrieval. It keeps the nano setup intentionally manageable so architecture changes can be inspected before a full training run.
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 | Tiny Transformer |
| Scale | nano |
| Attention | flash |
| Fusion | low rank |
| Activation | approx gelu |
| Normalization | layernorm |
The included configuration uses lion with a constant warmup 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 eval.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 Flickr30k, 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.
eval.py — primary artifactREADME.md — this documentationconfig.json — architecture configurationtraining_args.json — default experiment settingsmodel.safetensors — initialization checkpointReleased under mit. Review the source-data terms separately when this repository is used with external datasets.