Downloads · 30 days
6
30% of all-time downloads
Bcnalvarez/clip-baseline
clip-baseline is a machine learning model from Bcnalvarez. 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.
A small CLIP implementation for Retrieval, packaged with an explicit configuration and an initialization checkpoint. The nano variant is a reproducible starting point, not a trained model release.
Downloads · 30 days
6
30% of all-time downloads
All-time downloads
20
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
A small CLIP implementation for Retrieval, packaged with an explicit configuration and an initialization checkpoint. The nano variant is a reproducible starting point, not a trained model release.
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 | CLIP |
| Scale | nano |
| Attention | linear |
| Fusion | low rank |
| Activation | gelu tanh |
| Normalization | rmsnorm |
The included configuration uses adamw with a polynomial 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 train.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.
train.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.