Cotton code
201 lines · 7.1 KB · JSONRaw
{  "version": 1,  "note": "The summariser catalogue: the open-weight models a Mac may run to write a meeting's summary and actions (no cloud model is called by Cotton). Read by cotton-mac (src/summarise.rs), which fetches a model by id into $MEETINGS_MODELS (else $VOICE_MODELS, else ~/.cache/cotton-voice/models) and runs it with llama.cpp's llama-server. url is null until the coordinator uploads the file; source is the publisher's copy, fetched meanwhile. default is the one a Mac fetches and runs unless told otherwise; measured says why (scripts/meetings/synthetic/bench.py).",  "default": "qwen3-8b-q4km",  "runtime": "llama.cpp llama-server (Metal, flash attention, all layers on the GPU)",  "measured_on": {    "date": "2026-11-17",    "mac": "Mac mini, Apple M4, 16 GB, shared with other lanes' builds",    "runtime": "llama.cpp 1.0.0 (build 12359) llama-server, Metal, flash attention, all layers on the GPU",    "sets": "scripts/meetings/synthetic: english (41 lines, 3 speakers, 5 tasks), mixed English/Telugu/Hindi (31 lines, 3 speakers, 5 tasks), long (592 lines, 61 minutes, 3 speakers, 7 tasks), each with decoys: a task already done, an idea nobody took on",    "how": "scripts/meetings/synthetic/bench.py over meetings-summarise --file: seconds per meeting, peak resident memory of the server (with the mapped weights), and the truth: tasks found, right owner, right day, decoys let in; then every summary read by hand"  },  "models": {    "qwen3-8b-q4km": {      "family": "qwen3",      "params": "8B",      "quantisation": "Q4_K_M",      "context": 16384,      "think": false,      "file": {        "name": "Qwen3-8B-Q4_K_M.gguf",        "bytes": 5027783488,        "sha256": "d98cdcbd03e17ce47681435b5150e34c1417f50b5c0019dd560e4882c5745785",        "url": null,        "source": "https://huggingface.co/Qwen/Qwen3-8B-GGUF/resolve/main/Qwen3-8B-Q4_K_M.gguf"      },      "licence": {        "id": "Apache-2.0",        "commercial": true,        "attribution": "Qwen team, Alibaba Cloud",        "source": "https://huggingface.co/Qwen/Qwen3-8B"      },      "measured": {        "english": {          "s": 33.0,          "rss_mb": 7158,          "found": "5/5",          "owner": 4,          "due": 5,          "decoys": 1        },        "mixed": {          "s": 30.9,          "rss_mb": 7451,          "found": "4/5",          "owner": 3,          "due": 3,          "decoys": 0        },        "long": {          "s": 212.1,          "rss_mb": 7731,          "found": "6/7",          "owner": 6,          "due": 6,          "decoys": 0        },        "read": "The default (owner, 17 Nov 2026: Qwen3, Apache-2.0). Measured again after Telugu was landed in Latin letters and the task prompt said 'not one already done, not an idea nobody agreed to', 'null when the person asked said no' and 'due words never translated': still lets in a task said as already done (english: last month's invoices), gives a task to the speaker who declined it (mixed: QA testing), and missed one task and the Hindi 'kal tak' day in mixed; the long meeting went from 5/7 to 6/7. About 2 GB lighter and twice as fast as Gemma 3 12B, and an hour's meeting in about 3.5 minutes. Earlier run (before those changes): english 38.8 s 5/5 1 decoy, mixed 39.7 s 5/5 1 decoy, long 278.5 s 5/7."      }    },    "qwen3-4b-q4km": {      "family": "qwen3",      "params": "4B",      "quantisation": "Q4_K_M",      "context": 16384,      "think": false,      "file": {        "name": "Qwen3-4B-Q4_K_M.gguf",        "bytes": 2497280256,        "sha256": "7485fe6f11af29433bc51cab58009521f205840f5b4ae3a32fa7f92e8534fdf5",        "url": null,        "source": "https://huggingface.co/Qwen/Qwen3-4B-GGUF/resolve/main/Qwen3-4B-Q4_K_M.gguf"      },      "licence": {        "id": "Apache-2.0",        "commercial": true,        "attribution": "Qwen team, Alibaba Cloud",        "source": "https://huggingface.co/Qwen/Qwen3-4B"      },      "measured": {        "english": {          "s": 19.8,          "rss_mb": 4817,          "found": "3/5",          "owner": 3,          "due": 2,          "decoys": 1        },        "mixed": {          "s": 23.8,          "rss_mb": 5066,          "found": "2/5",          "owner": 1,          "due": 1,          "decoys": 1        },        "long": {          "s": 134.9,          "rss_mb": 6153,          "found": "6/7",          "owner": 6,          "due": 6,          "decoys": 0        },        "read": "Misses tasks in short and mixed meetings; not good enough."      }    },    "gemma-3-4b-it-q4km": {      "family": "gemma-3",      "params": "4B",      "quantisation": "Q4_K_M",      "context": 16384,      "file": {        "name": "gemma-3-4b-it-Q4_K_M.gguf",        "bytes": 2489757856,        "sha256": "882e8d2db44dc554fb0ea5077cb7e4bc49e7342a1f0da57901c0802ea21a0863",        "url": null,        "source": "https://huggingface.co/ggml-org/gemma-3-4b-it-GGUF/resolve/main/gemma-3-4b-it-Q4_K_M.gguf"      },      "licence": {        "id": "Gemma",        "commercial": true,        "attribution": "Google",        "source": "https://ai.google.dev/gemma/terms"      },      "measured": {        "english": {          "s": 24.5,          "rss_mb": 3621,          "found": "0/5",          "owner": 0,          "due": 0,          "decoys": 0        },        "mixed": {          "s": 20.3,          "rss_mb": 3977,          "found": "0/5",          "owner": 0,          "due": 0,          "decoys": 0        },        "long": {          "s": 150.2,          "rss_mb": 5753,          "found": "4/7",          "owner": 4,          "due": 4,          "decoys": 0        },        "read": "Writes a task as one verb ('Send', 'Look') with the whole sentence as its day: unusable."      }    },    "gemma-3-12b-it-q4km": {      "family": "gemma-3",      "params": "12B",      "quantisation": "Q4_K_M",      "context": 8192,      "file": {        "name": "gemma-3-12b-it-Q4_K_M.gguf",        "bytes": 7300574976,        "sha256": "7bb69bff3f48a7b642355d64a90e481182a7794707b3133890646b1efa778ff5",        "url": null,        "source": "https://huggingface.co/ggml-org/gemma-3-12b-it-GGUF/resolve/main/gemma-3-12b-it-Q4_K_M.gguf"      },      "licence": {        "id": "Gemma",        "commercial": true,        "attribution": "Google",        "source": "https://ai.google.dev/gemma/terms"      },      "measured": {        "english": {          "s": 60.2,          "rss_mb": 9024,          "found": "5/5",          "owner": 4,          "due": 5,          "decoys": 0        },        "mixed": {          "s": 60.2,          "rss_mb": 9100,          "found": "5/5",          "owner": 5,          "due": 5,          "decoys": 0        },        "long": {          "s": 317.1,          "rss_mb": 9204,          "found": "7/7",          "owner": 7,          "due": 7,          "decoys": 0        },        "read": "No owner made up and no done task or idea let in, in any meeting; every day right, Hindi kal tak among them; a Telugu 'this week' kept as words with no day. The more careful model, measured before the owner chose Qwen3 (17 Nov 2026); under the Gemma Terms of Use."      }    }  }}