tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
1d300e4 verified Download integration.json from huggingface-mic/bart-base-mic: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/huggingface-mic/bart-base-mic/resolve/main/integration.json
- Command line
-
hf download hf://huggingface-mic/bart-base-mic/integration.json
-
curl -L -o integration.json https://huggingface.co/huggingface-mic/bart-base-mic/resolve/main/integration.json
1.75 kB
| { | |
| "mic": "0.3", | |
| "name": "BART encoder-decoder", | |
| "usage": "AutoTokenizer + AutoModel (BartModel), batched, right padding, decoder_input_ids from shifted labels", | |
| "architecture": "BartModel", | |
| "checkpoints": { | |
| "facebook/bart-base": { | |
| "fixture": "huggingface-mic/bart-base-mic" | |
| } | |
| }, | |
| "fixtures": { | |
| "huggingface-mic/bart-base-mic": { | |
| "built_from": "facebook/bart-base", | |
| "covers": [ | |
| "facebook/bart-base" | |
| ], | |
| "build": { | |
| "seed": 17, | |
| "model_class": "BartForConditionalGeneration" | |
| } | |
| } | |
| }, | |
| "integrations": { | |
| "transformers": { | |
| "entry_point": "integrations/transformers/usage.md", | |
| "format": "runnable-markdown", | |
| "requires": [ | |
| "transformers>=5", | |
| "torch" | |
| ], | |
| "targets": [ | |
| "fixtures", | |
| "checkpoints" | |
| ], | |
| "variants": { | |
| "default": {}, | |
| "eager": { | |
| "attn_implementation": "eager" | |
| }, | |
| "bfloat16": { | |
| "dtype": "bfloat16" | |
| } | |
| }, | |
| "training": true, | |
| "resources": { | |
| "fixture": { | |
| "memory_gb": 2, | |
| "download_mb": 30 | |
| }, | |
| "facebook/bart-base": { | |
| "memory_gb": 3, | |
| "download_mb": 560 | |
| } | |
| } | |
| } | |
| }, | |
| "outputs": { | |
| "runtime": { | |
| "compare": "exact" | |
| }, | |
| "encoder_last_hidden_shape": { | |
| "compare": "exact" | |
| }, | |
| "decoder_logits_probe": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "training.loss": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "training.gradients": { | |
| "compare": "all_true" | |
| }, | |
| "training.updated": { | |
| "compare": "true" | |
| } | |
| } | |
| } | |