tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
0465242 verified |
Download README.md from huggingface-mic/pvt-tiny-224-mic: direct link, hf CLI and curl.
- Browser
- Download file 3.31 kB
-
https://huggingface.co/huggingface-mic/pvt-tiny-224-mic/resolve/main/README.md
- Command line
-
hf download hf://huggingface-mic/pvt-tiny-224-mic/README.md
-
curl -L -o README.md https://huggingface.co/huggingface-mic/pvt-tiny-224-mic/resolve/main/README.md
3.31 kB
| tags: | |
| - mic | |
| - test-artifact | |
| base_model: Zetatech/pvt-tiny-224 | |
| # pvt-tiny-224-mic | |
| Slim model weights, executable usage and framework expectations in one repository. | |
| - [Contract manifest](integration.json) | |
| - [Transformers usage](integrations/transformers/usage.md) | |
| - [Transformers expectations](integrations/transformers/expectations) | |
| - [Fixture provenance](build.json) | |
| - [How the fixture was shrunk](https://huggingface-mic-mic-coverage.static.hf.space/shrink/pvt-tiny-224-mic.html) | |
| ## Contract | |
| ### PVT image classification | |
| Runnable usage and the framework expectations directory are linked above. | |
| ## Slim model | |
| ### pvt-tiny-224-mic | |
| Slim model weights, executable usage and framework expectations in one repository. | |
| - [Contract manifest](integration.json) | |
| - [Transformers usage](integrations/transformers/usage.md) | |
| - [Transformers expectations](integrations/transformers/expectations) | |
| - [Fixture provenance](build.json) | |
| - [How the fixture was shrunk](https://huggingface-mic-mic-coverage.static.hf.space/shrink/pvt-tiny-224-mic.html) | |
| ## Contract | |
| ### PVT image classification | |
| Runnable usage and the framework expectations directory are linked above. | |
| ## Slim model | |
| ### pvt-tiny-224-mic | |
| Slim model weights, executable usage and framework expectations in one repository. | |
| - [Contract manifest](integration.json) | |
| - [Transformers usage](integrations/transformers/usage.md) | |
| - [Transformers expectations](integrations/transformers/expectations) | |
| - [Fixture provenance](build.json) | |
| - [How the fixture was shrunk](https://huggingface-mic-mic-coverage.static.hf.space/shrink/pvt-tiny-224-mic.html) | |
| ## Contract | |
| ### PVT image classification | |
| Runnable usage and the framework expectations directory are linked above. | |
| ## Slim model | |
| ### Slim fixture: pvt-tiny-224-mic | |
| A 13.2M-parameter fixture for the [PVT MIC](https://huggingface.co/huggingface-mic/pvt-tiny-224-mic), covering [`Zetatech/pvt-tiny-224`](https://huggingface.co/Zetatech/pvt-tiny-224). It is a test artifact, not a usable model, tagged `test-artifact` to keep it out of candidate-model search. | |
| - **Fixture key `de2aec818fd2`.** It covers every checkpoint whose processor files are byte-identical and whose config matches after shrinking. | |
| - **The checkpoint's own config, not shrunk:** `PvtForImageClassification` at 13.2M parameters is at or under the 20M below which a source is kept whole. | |
| - **Processor files copied byte for byte** from `Zetatech/pvt-tiny-224`: `preprocessor_config.json`. | |
| - **The checkpoint's own trained weights**, unchanged: at 13.2M parameters it is no bigger than a slim fixture. They passed the input-sensitivity gate (weakest: `pixel_values:roll_batch`, 0.172). | |
| - **Same tensor names as the real checkpoint.** The real checkpoint has every parameter, and so does the fixture. | |
| - **Saved in float32**, the dtype `Zetatech/pvt-tiny-224` loads in by default. | |
| - **Finite in float32, bfloat16, and float16** (forward, loss, gradients). | |
| Built by [`build_fixtures.py`](https://github.com/huggingface/transformers-mic/blob/main/example/build_fixtures.py); [`build.json`](build.json) records the pinned sources, gate results, and file hashes. This repository includes the slim weights, usage and framework expectations; rebuild the other files with `python example/build_fixtures.py --fixture pvt-tiny-224-mic`. | |