tarekziade HF Staff
Publish MIC usage, slim fixture and reviewed Transformers expectations
38a56e6 verified Download integration.json from huggingface-mic/gemma-2b-mic: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/huggingface-mic/gemma-2b-mic/resolve/main/integration.json
- Command line
-
hf download hf://huggingface-mic/gemma-2b-mic/integration.json
-
curl -L -o integration.json https://huggingface.co/huggingface-mic/gemma-2b-mic/resolve/main/integration.json
2.09 kB
| { | |
| "mic": "0.3", | |
| "name": "Gemma causal LM", | |
| "usage": "AutoTokenizer + AutoModelForCausalLM, batched causal LM with padding, inference probes and one seeded SGD step", | |
| "architecture": "GemmaForCausalLM", | |
| "checkpoints": { | |
| "google/gemma-2b": { | |
| "fixture": "huggingface-mic/gemma-2b-mic" | |
| } | |
| }, | |
| "fixtures": { | |
| "huggingface-mic/gemma-2b-mic": { | |
| "built_from": "google/gemma-2b", | |
| "covers": [ | |
| "google/gemma-2b" | |
| ], | |
| "build": { | |
| "seed": 17, | |
| "model_class": "GemmaForCausalLM" | |
| } | |
| } | |
| }, | |
| "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 | |
| }, | |
| "google/gemma-2b": { | |
| "memory_gb": 12, | |
| "gpu_memory_gb": 12, | |
| "download_mb": 5200, | |
| "variants": { | |
| "bfloat16": { | |
| "gpu_memory_gb": 8 | |
| }, | |
| "default": { | |
| "devices": [] | |
| }, | |
| "eager": { | |
| "devices": [] | |
| } | |
| }, | |
| "devices": [ | |
| "cuda" | |
| ] | |
| } | |
| } | |
| } | |
| }, | |
| "outputs": { | |
| "runtime": { | |
| "compare": "exact" | |
| }, | |
| "next_ids": { | |
| "compare": "exact" | |
| }, | |
| "next_text": { | |
| "compare": "exact" | |
| }, | |
| "probe_logits": { | |
| "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" | |
| } | |
| } | |
| } | |