Instructions to use hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4/resolve/main/README.md
- Command line
-
hf download hf://hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4/README.md
-
curl -L -o README.md https://huggingface.co/hf-internal-testing/tiny-random-Mistral4-fp8-nvfp4/resolve/main/README.md
259 Bytes
| library_name: transformers | |
| Tiny random Mistral4, pre-quantized with a per-layer plan: fp8 (block 16x16) on attention and routed experts, nvfp4 on shared experts. `dense_reference.pt` holds the bf16 weights before quantization; `make.py` rebuilds it. | |