weckoai commited on
Commit
98deb7e
·
verified ·
1 Parent(s): 5b98d74

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: ModelFit Local LLM Hardware Compatibility Dataset
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - other
10
+ tags:
11
+ - local-llm
12
+ - ollama
13
+ - llama-cpp
14
+ - quantization
15
+ - gguf
16
+ - vram
17
+ - unified-memory
18
+ - apple-silicon
19
+ - nvidia
20
+ - hardware-compatibility
21
+ configs:
22
+ - config_name: default
23
+ data_files:
24
+ - split: train
25
+ path: models.csv
26
+ ---
27
+
28
+ # ModelFit — Local LLM Hardware Compatibility Dataset
29
+
30
+ An open dataset of **which local AI models (Ollama) fit which hardware** — by
31
+ parameter size, quantization, minimum RAM, and estimated memory load — across
32
+ Apple Silicon Macs, iPhones, and NVIDIA GPUs.
33
+
34
+ Maintained by **[ModelFit](https://modelfit.io/)**. Browse it as an interactive
35
+ table at **[modelfit.io/data](https://modelfit.io/data/)**; the canonical
36
+ machine-readable source is
37
+ **[modelfit.io/api/dataset](https://modelfit.io/api/dataset/)**.
38
+
39
+ - **141 models** across 24 families (106 with a registry-verified local build, 35 cloud-only APIs tracked for comparison)
40
+ - **License:** CC BY 4.0 — reuse freely, including commercially, with attribution
41
+ - **Updated:** see the `updated` field in `models.json` (regenerated from the live endpoint)
42
+
43
+ ```python
44
+ from datasets import load_dataset
45
+
46
+ ds = load_dataset("modelfit/modelfit-hardware-dataset", split="train")
47
+ # which models fit 16 GB of unified memory?
48
+ ds.filter(lambda r: r["runsLocally"] and r["minRamGb"] <= 16).to_pandas()
49
+ ```
50
+
51
+ ## Files
52
+
53
+ | File | What it is |
54
+ |------|------------|
55
+ | [`models.csv`](models.csv) | Flat one-row-per-model table (the loadable split) |
56
+ | [`models.json`](models.json) | Full export with metadata, methodology, and counts |
57
+ | `generate.mjs` | Regenerates both files from the live endpoint |
58
+ | `CITATION.cff` | Machine-readable citation |
59
+
60
+ ## Columns
61
+
62
+ - `model` — display name (e.g. `Qwen3.5 9B Instruct`)
63
+ - `family` — model family (Qwen, Llama, Gemma, DeepSeek, …)
64
+ - `params` — parameter count, in billions (`null` when the vendor does not disclose it, e.g. closed API models)
65
+ - `quantization` — e.g. `Q4_K_M`
66
+ - `minRamGb` — minimum unified memory / VRAM to load it
67
+ - `estimatedLoadGb` — approximate memory footprint at this quantization
68
+ - `kvKbPerToken` — exact fp16 KV-cache cost in KB per token for hybrid linear-attention models (Qwen3.5/3.6, Qwen3-Next), computed from the published HF config (full-attention layers × kv_heads × head_dim × 2 × 2 bytes; only full-attention layers cache KV). `null` for standard GQA models, whose KV is estimated by size class. Example: Qwen3.6 35B-A3B is 20 KB/token, so a full 262k-token fp16 cache is ~5 GB
69
+ - `runsLocally` — `true` when a registry-verified Ollama build fits at least one consumer RAM tier tracked here (up to 256GB)
70
+ - `openWeights` — `true` when the weights are publicly downloadable. Can be `true` while `runsLocally` is `false`: open-weight giants like NVIDIA Nemotron 3 Ultra (550B, ~190GB at 2-bit) or Kimi K2 exceed every consumer tier
71
+ - `ggufDiy` — `true` when the weights are open and a ~Q4 GGUF (0.6 GB per billion parameters) fits a 256GB-class machine via llama.cpp, but no Ollama build exists (e.g. DeepSeek V4 Flash 284B, Xiaomi MiMo-V2-Flash 309B) — runnable DIY, not scored for local fit
72
+ - `runtimes` — apps the model runs in (`ollama`, `llama.cpp`, `lm-studio`; pipe-separated in the CSV, empty for cloud rows)
73
+ - `bestFor` — primary workloads
74
+ - `ollamaCommand` — exact `ollama run …` command (local models)
75
+
76
+ ## Methodology
77
+
78
+ A model **fits** a device when its `estimatedLoadGb` is within the memory
79
+ budget: **~70%** of unified memory on machines up to 32GB, scaling linearly to
80
+ **~85%** at 128GB and above (high-RAM Macs can wire more memory to the GPU via
81
+ `iogpu.wired_limit_mb`; the rest goes to the OS, context, and KV-cache). At
82
+ `Q4_K_M`, a model needs roughly **0.6 GB per billion parameters**. Memory-load
83
+ and tokens/sec figures are **estimates, not measured benchmarks**. Local model
84
+ tags are verified against the Ollama registry. Full estimate policy:
85
+ [modelfit.io/about](https://modelfit.io/about/).
86
+
87
+ ## Intended use and limitations
88
+
89
+ - Built to answer "does this model run on this machine?" for consumer hardware (Apple Silicon, iPhone, NVIDIA consumer GPUs).
90
+ - LLM inference speed, real-world context limits, and quality are **not** in this dataset.
91
+ - Consumer tiers only: no datacenter SKUs or multi-GPU rigs are scored here.
92
+
93
+ ## Updating
94
+
95
+ ```bash
96
+ node generate.mjs # pulls the latest from https://modelfit.io/api/dataset/
97
+ ```
98
+
99
+ ## License & attribution
100
+
101
+ Released under **[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)**.
102
+ You may share and adapt the data, including commercially, **with attribution**:
103
+
104
+ > Data: [ModelFit Local LLM Hardware Compatibility Dataset](https://modelfit.io/data/) (modelfit.io), CC BY 4.0.
105
+
106
+ ## Cite
107
+
108
+ ```
109
+ ModelFit — Local LLM Hardware Compatibility Dataset.
110
+ https://modelfit.io/data/
111
+ ```
112
+
113
+ ---
114
+
115
+ Built and maintained by [ModelFit](https://modelfit.io/) — find the best local
116
+ AI model for your Mac, iPhone, or GPU. Mirrors:
117
+ [GitHub](https://github.com/modelfit/modelfit-hardware-dataset) ·
118
+ [Hugging Face](https://huggingface.co/datasets/modelfit/modelfit-hardware-dataset).