tomkay commited on
Commit
578aec7
Β·
verified Β·
1 Parent(s): 7f8b385

Add baa.ai model card

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: gguf
3
+ tags:
4
+ - gguf
5
+ - quantized
6
+ - llama.cpp
7
+ - mixed-precision
8
+ - glm
9
+ - moe
10
+ license: other
11
+ license_name: glm-open-model-license
12
+ base_model: zai-org/GLM-5.2
13
+ base_model_relation: quantized
14
+ pipeline_tag: text-generation
15
+ ---
16
+
17
+ # GLM-5.2 β€” 307GB (GGUF)
18
+
19
+ Mixed-precision quantized version of [zai-org/GLM-5.2](https://huggingface.co/zai-org/GLM-5.2) using a proprietary quantization method by [baa.ai](https://baa.ai).
20
+
21
+ Per-tensor bit-width allocation via advanced sensitivity analysis and budget-constrained optimisation β€” no calibration data required. Built at the efficiency knee (best quality-per-GB).
22
+
23
+ ## Metrics
24
+
25
+ | Metric | Value |
26
+ |--------|-------|
27
+ | **Size** | **307 GB** (7 shards) |
28
+ | Average bits | 3.50 |
29
+ | Format | llama.cpp (GGUF) |
30
+ | Architecture | MoE (256 experts, MLA + sparse attention) |
31
+
32
+ Routed experts `Q3_K`; attention `Q4_K`; DSA indexer / shared experts `Q6_K`–`Q8_0`; first/last-layer and protected tensors `F16`; output and token-embeddings `Q6_K`.
33
+
34
+ ## Requirements
35
+
36
+ **llama.cpp build β‰₯ b9820** is required β€” GLM-5.2's sparse-attention shared-indexer layout is only handled by recent builds.
37
+
38
+ ## Usage
39
+
40
+ ```bash
41
+ brew install llama.cpp
42
+
43
+ hf download baa-ai/GLM-5.2-RAM-307GB-GGUF --include "*.gguf" --local-dir ./glm-5.2-ram-307gb
44
+
45
+ # The model is split into 7 shards β€” point -m at the first; llama.cpp loads the rest automatically
46
+ llama-cli -m ./glm-5.2-ram-307gb/GLM-5.2-RAM-local-knee-00001-of-00007.gguf -p "Hello!" -n 256 -ngl 99
47
+ ```
48
+
49
+ Or via `llama-server` for an OpenAI-compatible HTTP API:
50
+
51
+ ```bash
52
+ llama-server -m ./glm-5.2-ram-307gb/GLM-5.2-RAM-local-knee-00001-of-00007.gguf --port 8080 -ngl 99 --ctx-size 8192
53
+ ```
54
+
55
+ For fast inference use a host with β‰₯ ~310 GB RAM/VRAM; otherwise it runs via mmap paging. The chat template is embedded; GLM-5.2 supports a thinking mode. No importance matrix (imatrix) was used β€” per-tensor sensitivity allocation provides the primary quality signal.
56
+
57
+ ---
58
+ *Quantized by [baa.ai](https://baa.ai)*
59
+
60
+ ---
61
+
62
+ ## Black Sheep AI Products
63
+
64
+ **[Shepherd](https://baa.ai/shepherd.html)** β€” Private AI deployment platform that shrinks frontier models by 50-60% through RAM compression, enabling enterprises to run sophisticated AI on single GPU instances or Apple Silicon hardware. Deploy in your VPC with zero data leaving your infrastructure. Includes CI/CD pipeline integration, fleet deployment across Apple Silicon clusters, air-gapped and sovereign deployment support, and multi-format export (MLX, GGUF). Annual cloud costs from ~$2,700 β€” or run on a Mac Studio for electricity only.
65
+
66
+ **[Watchman](https://baa.ai/watchman.html)** β€” Capability audit and governance platform for compressed AI models. Know exactly what your quantized model can do before it goes live. Watchman predicts which capabilities survive compression in minutes β€” replacing weeks of benchmarking. Includes compliance-ready reporting for regulated industries, quality valley warnings for counterproductive memory allocations, instant regression diagnosis tracing issues to specific tensors, and 22 adversarial security probes scanning for injection, leakage, hallucination, and code vulnerabilities.
67
+
68
+ Learn more at **[baa.ai](https://baa.ai)** β€” Sovereign AI.