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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
pretty_name: MLX Model Explorer Data
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
tags:
|
| 7 |
+
- mlx
|
| 8 |
+
- apple-silicon
|
| 9 |
+
- quantization
|
| 10 |
+
- benchmark
|
| 11 |
+
- telemetry
|
| 12 |
+
size_categories:
|
| 13 |
+
- n<1K
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: events
|
| 16 |
+
data_files:
|
| 17 |
+
- split: train
|
| 18 |
+
path: data/events/**/*.parquet
|
| 19 |
+
default: true
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# MLX Model Explorer Data
|
| 23 |
+
|
| 24 |
+
An anonymous, append-only record of what people using [MLX Model Explorer](https://huggingface.co/spaces/mlx-community/mlx-model-explorer) look for when choosing an MLX model for their Mac: model families, sizes, quantizations, memory classes, context lengths and priorities. It also holds the optional browser hardware scores, community reports ("it worked", "too slow") and real MLX benchmark results that people choose to contribute.
|
| 25 |
+
|
| 26 |
+
The goal is to answer, with data: **what is the MLX community actually trying to run, and how well does it work?**
|
| 27 |
+
|
| 28 |
+
## Quick start
|
| 29 |
+
|
| 30 |
+
```python
|
| 31 |
+
from datasets import load_dataset
|
| 32 |
+
|
| 33 |
+
ds = load_dataset("mlx-community/mlx-model-explorer-data", "events", split="train")
|
| 34 |
+
df = ds.to_pandas()
|
| 35 |
+
|
| 36 |
+
# Clean rows only
|
| 37 |
+
df = df[df.suspicious_flags.apply(len) == 0]
|
| 38 |
+
|
| 39 |
+
# Quantization share among searches
|
| 40 |
+
df[df.event_type.isin(["search", "filter"])].quantization.value_counts(normalize=True)
|
| 41 |
+
|
| 42 |
+
# Community MLX benchmarks: median generation speed per model and chip
|
| 43 |
+
bench = df[df.event_type == "mlx_benchmark_submission"]
|
| 44 |
+
bench.groupby(["selected_model", "chip"]).generation_tps.median()
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Or read the Parquet shards directly:
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
import pandas as pd
|
| 51 |
+
df = pd.read_parquet("hf://datasets/mlx-community/mlx-model-explorer-data/data/events/")
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Layout
|
| 55 |
+
|
| 56 |
+
```
|
| 57 |
+
data/events/YYYY/MM/DD/<instance>-<UTC timestamp>-<suffix>.parquet
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
The Space buffers events and writes one new shard per flush (every 10 minutes when there is data). Shards are never modified or deleted after they are written. Every shard has the same columns in the same order.
|
| 61 |
+
|
| 62 |
+
## Event types
|
| 63 |
+
|
| 64 |
+
| `event_type` | When it is recorded |
|
| 65 |
+
| --- | --- |
|
| 66 |
+
| `search` | The user ran a search (clicked *Explore models*, or the page loaded with a query) |
|
| 67 |
+
| `filter` | The same results were re-run after changing sort order or machine memory |
|
| 68 |
+
| `model_view` | The model detail panel was opened |
|
| 69 |
+
| `model_select` | A model was added to the comparison |
|
| 70 |
+
| `compare` | The comparison table was opened (`compare_models` lists the models) |
|
| 71 |
+
| `model_click` | The link to the model's Hugging Face page was clicked |
|
| 72 |
+
| `hardware_test` | The ~1-second browser hardware estimate ran |
|
| 73 |
+
| `browser_benchmark` | The optional 20-second WebGPU compute test ran |
|
| 74 |
+
| `feedback` | The user answered "Have you actually tried this model?" |
|
| 75 |
+
| `mlx_benchmark_submission` | A result from `mlx_explorer_bench.py` was submitted |
|
| 76 |
+
|
| 77 |
+
## Schema
|
| 78 |
+
|
| 79 |
+
Every row has every column. Columns that don't apply to an event are null.
|
| 80 |
+
|
| 81 |
+
| Column | Type | Description |
|
| 82 |
+
| --- | --- | --- |
|
| 83 |
+
| `timestamp` | string | UTC, second precision, ISO 8601 |
|
| 84 |
+
| `schema_version` | int | Currently `1` |
|
| 85 |
+
| `app_version` | string | Space version |
|
| 86 |
+
| `event_type` | string | See above |
|
| 87 |
+
| `session_id` | string | Random 16-hex ID per browser tab. Not linked to any person or device, discarded when the tab closes. Null for script submissions |
|
| 88 |
+
| `model_family` | string | e.g. `Qwen`, `Gemma`, `Llama` (normalized from model names and `base_model` tags) |
|
| 89 |
+
| `model_name` | string | Repo name of `selected_model` (without the org) |
|
| 90 |
+
| `parameter_bucket` | string | `<3B`, `3-8B`, `8-15B`, `15-35B`, `35-70B`, `70B+`, `MoE` |
|
| 91 |
+
| `quantization` | string | `2-bit` … `8-bit`, `16-bit`, `unknown` |
|
| 92 |
+
| `quant_bits` | float | Nominal bits of the selected model (from Hub metadata) |
|
| 93 |
+
| `quant_mixed` | bool | Mixed-precision model (several bit widths) |
|
| 94 |
+
| `target_context` | int | 4096, 8192, 16384, 32768, 65536, 131072, 262144 |
|
| 95 |
+
| `priority` | string | `balanced`, `quality`, `speed`, `memory`, `long_context` |
|
| 96 |
+
| `sort` | string | `recommended`, `popular`, `recent`, `community`, `all` |
|
| 97 |
+
| `result_count` | int | Number of models matching the query |
|
| 98 |
+
| `hardware_source` | string | `confirmed` (user picked memory), `detected` (browser estimate), `none` |
|
| 99 |
+
| `hardware_memory_class` | int | RAM class in GB: 8, 16, 18, 24, 32, 36, 48, 64, 96, 128, 192, 256, 512 |
|
| 100 |
+
| `hardware_confirmed` | bool | Whether the memory class was chosen by the user |
|
| 101 |
+
| `webgpu_available` | bool | WebGPU present in the browser |
|
| 102 |
+
| `webgpu_score` | float | Relative WebGPU compute score (quick test in `hardware_test`, 20 s test in `browser_benchmark`). **Not MLX, not tokens/sec** |
|
| 103 |
+
| `gpu_capability_class` | string | `high`, `mid`, `entry`, `unknown`, bucketed from the quick score |
|
| 104 |
+
| `gpu_vendor`, `gpu_arch` | string | Generic WebGPU adapter identifiers, e.g. `apple` / `metal-3` |
|
| 105 |
+
| `browser_family`, `os_family` | string | Coarse: `chrome`/`safari`/`firefox`/`edge`/`other`, `macos`/`ios`/`windows`/`linux`/`android`/`other` |
|
| 106 |
+
| `cpu_cores` | int | `navigator.hardwareConcurrency` |
|
| 107 |
+
| `selected_model` | string | `org/name` Hugging Face repo ID |
|
| 108 |
+
| `selected_model_rank` | int | 0-based position in the result list when chosen |
|
| 109 |
+
| `compare_models` | list[string] | Models in the comparison table |
|
| 110 |
+
| `hf_downloads_at_selection`, `hf_likes_at_selection` | int | Hub counts at the time of the event (downloads are Hub's trailing 30 days) |
|
| 111 |
+
| `recommendation_score` | float | 0 to 100 score the user was shown for that model |
|
| 112 |
+
| `fit_class` | string | Fit label the user was shown: `Comfortable`, `Likely`, `Borderline`, `Unlikely` |
|
| 113 |
+
| `engine_version` | string | Recommendation engine, e.g. `heuristic-v1` |
|
| 114 |
+
| `pipeline` | string | Hub pipeline tag of the selected model |
|
| 115 |
+
| `tried` | string | `yes`, `no`, `planning` |
|
| 116 |
+
| `outcome` | string | `worked` or `problem` (derived from the two columns below) |
|
| 117 |
+
| `quality_rating` | string | `excellent`, `good`, `acceptable` |
|
| 118 |
+
| `failure_reason` | string | `too_slow`, `too_much_memory`, `low_quality`, `didnt_run` |
|
| 119 |
+
| `reported_ram_gb` | int | Mac memory reported by the user or the benchmark script |
|
| 120 |
+
| `reported_mac_model` | string | `Apple M1` … `Apple M5 Ultra`, or `other` |
|
| 121 |
+
| `reported_tokens_per_second` | float | Self-reported generation speed |
|
| 122 |
+
| `reported_context` | int | Context length the user ran |
|
| 123 |
+
| `notes` | string | Optional free text, ≤ 280 characters. Emails, links and phone numbers are replaced before storage |
|
| 124 |
+
| `benchmark_type` | string | `webgpu_quick`, `webgpu_full`, `mlx_lm` |
|
| 125 |
+
| `benchmark_version` | string | `webgpu-1`, `mlxbench-1`, … |
|
| 126 |
+
| `benchmark_duration_ms` | int | Browser test duration |
|
| 127 |
+
| `prompt_tokens`, `generation_tokens` | int | MLX benchmark settings |
|
| 128 |
+
| `prompt_tps`, `generation_tps` | float | MLX benchmark medians (tokens/second) |
|
| 129 |
+
| `ttft_ms` | float | Median time to first token, including prefill |
|
| 130 |
+
| `peak_memory_gb` | float | Peak MLX memory during the benchmark |
|
| 131 |
+
| `chip` | string | e.g. `Apple M3 Max` |
|
| 132 |
+
| `mlx_version`, `mlx_lm_version` | string | Library versions |
|
| 133 |
+
| `macos_major` | int | e.g. `26` |
|
| 134 |
+
| `suspicious_flags` | list[string] | Validation flags. Empty means the row passed all checks |
|
| 135 |
+
|
| 136 |
+
### `suspicious_flags`
|
| 137 |
+
|
| 138 |
+
| Flag | Meaning |
|
| 139 |
+
| --- | --- |
|
| 140 |
+
| `unknown_model` / `unknown_model_in_compare` | Model ID not found in the `mlx-community` catalogue at the time |
|
| 141 |
+
| `implausible_tps` | Generation speed above what Apple Silicon memory bandwidth (≤ 800 GB/s) allows for that model, with 3× headroom for speculative decoding |
|
| 142 |
+
| `peak_memory_exceeds_ram` | Peak memory above the reported RAM |
|
| 143 |
+
| `incomplete_benchmark` | Benchmark submission missing the model, speed or version |
|
| 144 |
+
| `benchmark_type_mismatch` | e.g. a browser benchmark labelled as MLX |
|
| 145 |
+
| `implausible_webgpu_score` | Score far outside observed ranges |
|
| 146 |
+
| `conflicting_feedback` | Both a success rating and a failure reason |
|
| 147 |
+
|
| 148 |
+
Values outside hard bounds (for example negative speeds, unknown enums or oversized payloads) are rejected and never stored. Flagged rows are kept so filters stay transparent, but the Space excludes them from recommendations and statistics.
|
| 149 |
+
|
| 150 |
+
## Privacy
|
| 151 |
+
|
| 152 |
+
Never collected: names, emails, accounts, IP addresses, precise location, cookies, user-agent strings, device fingerprints or full GPU description strings. Timestamps are truncated to seconds. Session IDs are random per tab and not persisted. Rate limiting uses an in-memory salted hash that rotates hourly and is never written anywhere. Browsers sending Global Privacy Control or Do Not Track send nothing unless the user explicitly opts in, and anyone can opt out on the page.
|
| 153 |
+
|
| 154 |
+
Free-text notes are optional, capped at 280 characters and scrubbed of emails, links and long digit sequences. Even so, treat them as user-generated content.
|
| 155 |
+
|
| 156 |
+
## Benchmark methodology
|
| 157 |
+
|
| 158 |
+
**Browser (`webgpu-1`).** The quick test runs a 256×256 WGSL matrix multiplication for about 1.2 s. The full test runs matrix multiplications at 256, 512 and 1024 plus a 256 MB buffer copy, about 20 s in total. Each phase is normalized to a fixed reference, and the score is the geometric mean × 1000. It depends on the browser, power mode and background load, and it measures WebGPU, **not** MLX or LLM inference.
|
| 159 |
+
|
| 160 |
+
**MLX (`mlxbench-1`).** `mlx_explorer_bench.py` follows `mlx_lm.benchmark`: it loads the model with `mlx-lm`, builds a random prompt of `prompt_tokens` tokens (seed 0), disables EOS so exactly `generation_tokens` are produced, does one warm-up run, then reports medians over 3 trials of prompt tokens/s, generation tokens/s and time to first token, plus peak memory. Chip and RAM class come from `sysctl`. Results depend on the macOS version, mlx versions, thermal state and other running apps.
|
| 161 |
+
|
| 162 |
+
## Limitations
|
| 163 |
+
|
| 164 |
+
- **Self-selected and self-reported.** The people who use the Space and submit data are not a random sample of MLX users, and feedback is subjective.
|
| 165 |
+
- **Estimated memory classes.** Browsers can't read unified memory size. `hardware_source = detected` rows use Chrome's rounded-down `deviceMemory` (capped at 32 GB). Prefer `hardware_confirmed = true`.
|
| 166 |
+
- **Search ≠ usage.** Searches show interest, not deployment.
|
| 167 |
+
- **Heuristic recommendations.** `recommendation_score` depends on `engine_version`, and scores from different versions are not comparable.
|
| 168 |
+
- **Catalogue drift.** Download and like counts are snapshots at event time.
|
| 169 |
+
- **Early days.** The dataset starts small, and aggregates below 5 events are too small to interpret.
|
| 170 |
+
|
| 171 |
+
## Versioning
|
| 172 |
+
|
| 173 |
+
- `schema_version` changes only when columns change meaning or are removed. New nullable columns may be added within a version.
|
| 174 |
+
- `benchmark_version` and `engine_version` identify the exact methodology behind each score.
|
| 175 |
+
- Shards are immutable. Corrections, if ever needed, would ship as new shards with an explanatory note here.
|
| 176 |
+
|
| 177 |
+
## Example rows
|
| 178 |
+
|
| 179 |
+
```json
|
| 180 |
+
{"timestamp": "2026-09-14T01:28:22Z", "event_type": "compare", "session_id": "05838aea6916667e",
|
| 181 |
+
"target_context": 32768, "priority": "balanced", "hardware_source": "confirmed", "hardware_memory_class": 36,
|
| 182 |
+
"compare_models": ["mlx-community/Qwen3.5-9B-MLX-4bit", "mlx-community/Qwen3-8B-4bit"], "suspicious_flags": []}
|
| 183 |
+
|
| 184 |
+
{"timestamp": "2026-09-14T01:30:34Z", "event_type": "mlx_benchmark_submission", "selected_model": "mlx-community/Qwen3-0.6B-4bit",
|
| 185 |
+
"benchmark_type": "mlx_lm", "benchmark_version": "mlxbench-1", "prompt_tokens": 512, "generation_tokens": 128,
|
| 186 |
+
"prompt_tps": 6503.96, "generation_tps": 361.01, "ttft_ms": 135.5, "peak_memory_gb": 0.851,
|
| 187 |
+
"chip": "Apple M3 Max", "reported_ram_gb": 36, "suspicious_flags": []}
|
| 188 |
+
```
|
| 189 |
+
|
| 190 |
+
## Using the dataset
|
| 191 |
+
|
| 192 |
+
Some questions it can answer:
|
| 193 |
+
- Which quantizations do people want at each memory class, and does that change over time?
|
| 194 |
+
- How often does the estimated fit agree with reported outcomes (`fit_class` vs. `outcome`/`failure_reason`)?
|
| 195 |
+
- What generation speeds do real Macs achieve for a model, and how does that scale with chip tier?
|
| 196 |
+
- Which families and sizes are underserved by existing `mlx-community` uploads?
|
| 197 |
+
|
| 198 |
+
## License
|
| 199 |
+
|
| 200 |
+
CC BY 4.0. Please cite the dataset and link back to the Space.
|