Instructions to use immanuelpeter/MiniMax-M3.1-Flash-Vision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use immanuelpeter/MiniMax-M3.1-Flash-Vision with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="immanuelpeter/MiniMax-M3.1-Flash-Vision")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("immanuelpeter/MiniMax-M3.1-Flash-Vision") model = AutoModel.from_pretrained("immanuelpeter/MiniMax-M3.1-Flash-Vision", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Restore the approved card
Browse files- README.md +8 -12
- export_manifest.json +1 -1
README.md
CHANGED
|
@@ -17,17 +17,14 @@ This repository packages the Tower and Projector from
|
|
| 17 |
|
| 18 |
## Contents
|
| 19 |
|
| 20 |
-
| File |
|
| 21 |
-
|---|---|
|
| 22 |
-
| `model.safetensors` |
|
| 23 |
-
| `projector.safetensors`
|
| 24 |
-
| `
|
| 25 |
-
| `
|
| 26 |
-
| `
|
| 27 |
-
| `
|
| 28 |
-
| `.gitattributes` | Hub-managed storage rules |
|
| 29 |
-
|
| 30 |
-
Hub-only `.gitattributes` controls storage; the manifest identifies it separately from content hashes.
|
| 31 |
|
| 32 |
## Architecture
|
| 33 |
|
|
@@ -44,7 +41,6 @@ merged `(1, 256, 5120)` and projected `(1, 256, 6144)`.
|
|
| 44 |
## Usage
|
| 45 |
|
| 46 |
See [`examples/inference.py`](examples/inference.py) for image feature extraction.
|
| 47 |
-
Forward images independently to avoid attention coupling in packed batches.
|
| 48 |
Forward one image per call: the native HF attention couples images in a single call.
|
| 49 |
|
| 50 |
## Validation
|
|
|
|
| 17 |
|
| 18 |
## Contents
|
| 19 |
|
| 20 |
+
| File | Tensors | What it holds |
|
| 21 |
+
|---|---|---|
|
| 22 |
+
| `model.safetensors` | 515 | MiniMax-M3.1-Flash vision Tower |
|
| 23 |
+
| `projector.safetensors` | 8 | `multi_modal_projector` and remapped `patch_merge_mlp` |
|
| 24 |
+
| `projector_config.json`, `projector.py` | | Projector shapes and loader |
|
| 25 |
+
| `config.json`, `preprocessor_config.json` | | Vision-only model and image-processing configuration |
|
| 26 |
+
| `export_manifest.json` | | Source pin, tensor counts and file hashes |
|
| 27 |
+
| `LICENSE`, `LICENSE-CODE`, `NOTICE` | | Weight license, code license and attribution |
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
## Architecture
|
| 30 |
|
|
|
|
| 41 |
## Usage
|
| 42 |
|
| 43 |
See [`examples/inference.py`](examples/inference.py) for image feature extraction.
|
|
|
|
| 44 |
Forward one image per call: the native HF attention couples images in a single call.
|
| 45 |
|
| 46 |
## Validation
|
export_manifest.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"LICENSE": "8c4978e3e0fe0349ff929cc8450463cba3039c4c9fc144d8bd5382ab00df247a",
|
| 18 |
"LICENSE-CODE": "149f05ce186198084c9abd6af8e76e108ba7e507446a19ee5a2ffd694f69f525",
|
| 19 |
"NOTICE": "19d19379d439b6dc2614476bb50b170fbe382a58f3a84ec67ff9bcd4e212d626",
|
| 20 |
-
"README.md": "
|
| 21 |
"config.json": "9c3a6dac0654055594fdde1f148400331f3e55cb72ffe1b7a6806db07ab93a79",
|
| 22 |
"examples/inference.py": "fcde5470ba4e9fce0730f544f4f3b7669bf4f9bdcaf556223cebc4ed67ef1c5a",
|
| 23 |
"model.safetensors": "95e3731e26887d066a0b2291a1574da40a36aba5ba43e476746b9c16a64bcf08",
|
|
|
|
| 17 |
"LICENSE": "8c4978e3e0fe0349ff929cc8450463cba3039c4c9fc144d8bd5382ab00df247a",
|
| 18 |
"LICENSE-CODE": "149f05ce186198084c9abd6af8e76e108ba7e507446a19ee5a2ffd694f69f525",
|
| 19 |
"NOTICE": "19d19379d439b6dc2614476bb50b170fbe382a58f3a84ec67ff9bcd4e212d626",
|
| 20 |
+
"README.md": "4c85532cd87301b8ae8ec2686c6b3680aedda6d705089456ad7d65c701f3c6cc",
|
| 21 |
"config.json": "9c3a6dac0654055594fdde1f148400331f3e55cb72ffe1b7a6806db07ab93a79",
|
| 22 |
"examples/inference.py": "fcde5470ba4e9fce0730f544f4f3b7669bf4f9bdcaf556223cebc4ed67ef1c5a",
|
| 23 |
"model.safetensors": "95e3731e26887d066a0b2291a1574da40a36aba5ba43e476746b9c16a64bcf08",
|