Text Generation
MLX
Safetensors
English
Chinese
Mixture of Experts
mixture-of-experts
minimax_m2
quantized
apple-silicon
turboquant
jangtq
jangtq2
reap
Instructions to use OsaurusAI/MiniMax-M2.7-Small-JANGTQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/MiniMax-M2.7-Small-JANGTQ with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OsaurusAI/MiniMax-M2.7-Small-JANGTQ") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use OsaurusAI/MiniMax-M2.7-Small-JANGTQ with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "OsaurusAI/MiniMax-M2.7-Small-JANGTQ" --prompt "Once upon a time"
docs: clarify warning — Osaurus loader is Swift-only, sidecar is required
Browse files
README.md
CHANGED
|
@@ -25,19 +25,17 @@ tags:
|
|
| 25 |
> quantized weight shards, and the codebook + Hadamard-rotation sidecar
|
| 26 |
> (`jangtq_runtime.safetensors`) was uploaded ~2.1h later.
|
| 27 |
>
|
| 28 |
-
> **
|
| 29 |
-
> JANGTQ
|
| 30 |
-
>
|
|
|
|
| 31 |
>
|
| 32 |
> **Action:** re-pull the bundle (or just download the single file):
|
| 33 |
> ```bash
|
| 34 |
> hf download OsaurusAI/MiniMax-M2.7-Small-JANGTQ jangtq_runtime.safetensors --local-dir <your-dir>
|
| 35 |
> ```
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
> **Python** runtime — codebooks are recomputed from `(in_features, bits)`
|
| 39 |
-
> via `jang_tools.turboquant.codebook.compute_codebook` at load time. The
|
| 40 |
-
> sidecar exists for the Swift native loader.
|
| 41 |
|
| 42 |
|
| 43 |
<p align="center">
|
|
|
|
| 25 |
> quantized weight shards, and the codebook + Hadamard-rotation sidecar
|
| 26 |
> (`jangtq_runtime.safetensors`) was uploaded ~2.1h later.
|
| 27 |
>
|
| 28 |
+
> **OsaurusAI bundles are loaded by the Osaurus Swift app via the native
|
| 29 |
+
> JANGTQ runtime — `jangtq_runtime.safetensors` is required.** Without it,
|
| 30 |
+
> the loader cannot reconstruct the codebook used during quantization and
|
| 31 |
+
> output is incoherent.
|
| 32 |
>
|
| 33 |
> **Action:** re-pull the bundle (or just download the single file):
|
| 34 |
> ```bash
|
| 35 |
> hf download OsaurusAI/MiniMax-M2.7-Small-JANGTQ jangtq_runtime.safetensors --local-dir <your-dir>
|
| 36 |
> ```
|
| 37 |
+
|
| 38 |
+
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
|
| 41 |
<p align="center">
|