tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
fb07290 verified Download integration.json from huggingface-mic/conv-bert-base-mic: direct link, hf CLI and curl.
- Browser
- Download file 1.8 kB
-
https://huggingface.co/huggingface-mic/conv-bert-base-mic/resolve/main/integration.json
- Command line
-
hf download hf://huggingface-mic/conv-bert-base-mic/integration.json
-
curl -L -o integration.json https://huggingface.co/huggingface-mic/conv-bert-base-mic/resolve/main/integration.json
1.8 kB
| { | |
| "mic": "0.3", | |
| "name": "ConvBERT base encoder", | |
| "usage": "AutoModel (ConvBertModel) on two padded sentences, then a linear probe trained on pooled [CLS] hidden states", | |
| "architecture": "ConvBertModel", | |
| "checkpoints": { | |
| "YituTech/conv-bert-base": { | |
| "fixture": "huggingface-mic/conv-bert-base-mic" | |
| } | |
| }, | |
| "fixtures": { | |
| "huggingface-mic/conv-bert-base-mic": { | |
| "built_from": "YituTech/conv-bert-base", | |
| "covers": [ | |
| "YituTech/conv-bert-base" | |
| ], | |
| "build": { | |
| "seed": 17, | |
| "model_class": "ConvBertModel" | |
| } | |
| } | |
| }, | |
| "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 | |
| }, | |
| "YituTech/conv-bert-base": { | |
| "memory_gb": 4, | |
| "download_mb": 440 | |
| } | |
| } | |
| } | |
| }, | |
| "outputs": { | |
| "runtime": { | |
| "compare": "exact" | |
| }, | |
| "hidden_probe": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "pooled_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" | |
| } | |
| } | |
| } | |