tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
42e97ac verified Download integration.json from huggingface-mic/tiny-random-aya-base-mic: direct link, hf CLI and curl.
- Browser
- Download file 1.84 kB
-
https://huggingface.co/huggingface-mic/tiny-random-aya-base-mic/resolve/main/integration.json
- Command line
-
hf download hf://huggingface-mic/tiny-random-aya-base-mic/integration.json
-
curl -L -o integration.json https://huggingface.co/huggingface-mic/tiny-random-aya-base-mic/resolve/main/integration.json
1.84 kB
| { | |
| "mic": "0.3", | |
| "name": "Cohere2 causal LM", | |
| "usage": "AutoTokenizer + AutoModelForCausalLM, batched, left padding, next-token loss", | |
| "architecture": "Cohere2ForCausalLM", | |
| "checkpoints": { | |
| "optimum-intel-internal-testing/tiny-random-aya-base": { | |
| "fixture": "huggingface-mic/tiny-random-aya-base-mic" | |
| } | |
| }, | |
| "fixtures": { | |
| "huggingface-mic/tiny-random-aya-base-mic": { | |
| "built_from": "optimum-intel-internal-testing/tiny-random-aya-base", | |
| "covers": [ | |
| "optimum-intel-internal-testing/tiny-random-aya-base" | |
| ], | |
| "build": { | |
| "seed": 17, | |
| "model_class": "Cohere2ForCausalLM" | |
| } | |
| } | |
| }, | |
| "integrations": { | |
| "transformers": { | |
| "entry_point": "integrations/transformers/usage.md", | |
| "format": "runnable-markdown", | |
| "requires": [ | |
| "transformers>=5", | |
| "torch" | |
| ], | |
| "targets": [ | |
| "fixtures" | |
| ], | |
| "variants": { | |
| "default": {}, | |
| "eager": { | |
| "attn_implementation": "eager" | |
| }, | |
| "bfloat16": { | |
| "dtype": "bfloat16" | |
| } | |
| }, | |
| "training": true, | |
| "resources": { | |
| "fixture": { | |
| "memory_gb": 2, | |
| "download_mb": 20 | |
| }, | |
| "optimum-intel-internal-testing/tiny-random-aya-base": { | |
| "memory_gb": 2, | |
| "download_mb": 20 | |
| } | |
| } | |
| } | |
| }, | |
| "outputs": { | |
| "runtime": { | |
| "compare": "exact" | |
| }, | |
| "next_token_logits": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "predicted_tokens": { | |
| "compare": "exact" | |
| }, | |
| "training.loss": { | |
| "compare": "allclose", | |
| "atol": 0.0001, | |
| "rtol": 0.0001 | |
| }, | |
| "training.gradients": { | |
| "compare": "all_true" | |
| }, | |
| "training.updated": { | |
| "compare": "true" | |
| } | |
| } | |
| } | |