A compact Poolformer for Contrastive
Overview
A small Poolformer implementation for Contrastive, packaged with an explicit configuration and an initialization checkpoint. The tiny variant is a reproducible starting point, not a trained model release.
Citation
If this repository is useful for your work, a link back is appreciated. No formal citation is required yet.
Default Experiment Recipe
Defaults: rmsprop optimizer, polynomial schedule. Treat these as starting points; a real run should sweep learning rate and batch size before drawing conclusions.
Evaluation Guidance
A first evaluation could use a task-specific held-out set. Report the metric across at least three seeds and include a matched-capacity baseline; keep logs and library versions with any published number.
Repository Status
- Single-file implementation; the
__main__block runs a smoke test. config.jsonandtraining_args.jsonhold the generated settings.model.safetensorsis freshly initialized โ plumbing, not results.- No benchmark numbers are reported on purpose.
Limitations
- weights are random-init, so outputs carry no signal
- robustness, fairness and domain transfer are untested
- the API may change without notice while the design settles
Training Details
- Framework: PyTorch
- Precision: fp32
- Init scheme: trunc normal
- Hardware: a single consumer GPU is enough
- Typical run: minutes, not hours
Files
eval.pyโ primary artifactREADME.mdโ this documentationconfig.jsonโ architecture configurationtraining_args.jsonโ default experiment settingsmodel.safetensorsโ initialization checkpoint
License
Distributed under the apache-2.0 license. External datasets keep their own terms โ check them separately.
- Downloads last month
- 4