johnsonchromia commited on
Commit
c06dcd1
·
verified ·
1 Parent(s): d32fd44

README: fill in E4B-2 bench numbers; note desktop-only GGUFs

Browse files
Files changed (1) hide show
  1. README.md +31 -17
README.md CHANGED
@@ -26,46 +26,60 @@ Uncensored variant of `google/gemma-4-E4B-it` from the [**Chromia**](https://x.c
26
  team — the *larger* sibling of [`evalengine/unbound-e2b`](https://huggingface.co/evalengine/unbound-e2b),
27
  more capable on knowledge-heavy and reasoning tasks while still fitting on a
28
  modern laptop. This repo holds the merged HF weights; for the **on-device GGUF builds**
29
- (Ollama / llama.cpp / LM Studio / [wllama](https://github.com/ngxson/wllama) in-browser), see
30
  [`evalengine/unbound-e4b-GGUF`](https://huggingface.co/evalengine/unbound-e4b-GGUF).
31
 
32
  ## What this is for
33
 
34
  Same use cases as Unbound E2B — offline / security research / unrestricted
35
- coding / private workflows — but trading ~2× the parameters (and ~2× the on-disk
36
- size) for stronger capability. Pick E4B when you have the RAM / VRAM headroom
37
- and want a noticeably smarter on-device model; pick E2B when you need it to
38
- fit on a phone or a constrained edge device.
39
 
40
- Base capability is preserved close to `gemma-4-E4B-it`.
 
41
 
42
  ## Benchmarks (vs base `gemma-4-E4B-it`)
43
 
44
  | Axis | Base | Unbound E4B | Δ |
45
  |---|---|---|---|
46
- | Refusal rate (AdvBench 520) | [TBD] | **[TBD]** | **[TBD]** |
47
- | Useful-compliance rate | [TBD] | **[TBD]** | [TBD] |
48
- | Hallucination rate | [TBD] | [TBD] | [TBD] |
49
- | Coherence on benign prompts | 1.0 | [TBD] | [TBD] |
50
- | TruthfulQA mc2 (lm-eval, `--limit 100`) | [TBD] | [TBD] | [TBD] |
51
- | MMLU (lm-eval, `--limit 100`) | [TBD] | [TBD] | [TBD] |
52
- | GSM8K (lm-eval, `--limit 100`) | [TBD] | [TBD] | [TBD] |
53
- | KL divergence vs base | 0 | [TBD] | (SFT-expected) |
 
 
 
 
 
 
54
 
55
  ## Recommended sampling
56
 
57
- Same guidance as Unbound E2B:
58
-
59
  - **Creative writing / open-ended / general chat** → Gemma defaults:
60
  `temperature=1.0, top_p=0.95, top_k=64`.
61
- - **Factual or brand/identity questions** → lower `temperature` to ~0.3–0.5
62
  for sharper recall.
63
  - **llama.cpp**: pass `--jinja` for proper chat-template handling.
64
  - **Gemma 4 thinking mode** is on by default. Set `enable_thinking: false`
65
  in the chat-template kwargs for shorter/faster replies.
66
 
 
 
 
67
  ## Run on-device (GGUF)
68
 
 
 
 
 
 
 
69
  ```bash
70
  ollama pull hf.co/evalengine/unbound-e4b-GGUF
71
  ollama run hf.co/evalengine/unbound-e4b-GGUF
 
26
  team — the *larger* sibling of [`evalengine/unbound-e2b`](https://huggingface.co/evalengine/unbound-e2b),
27
  more capable on knowledge-heavy and reasoning tasks while still fitting on a
28
  modern laptop. This repo holds the merged HF weights; for the **on-device GGUF builds**
29
+ (Ollama / llama.cpp / LM Studio), see
30
  [`evalengine/unbound-e4b-GGUF`](https://huggingface.co/evalengine/unbound-e4b-GGUF).
31
 
32
  ## What this is for
33
 
34
  Same use cases as Unbound E2B — offline / security research / unrestricted
35
+ coding / private workflows — but trading ~2× the parameters (and ~2× the
36
+ on-disk size) for noticeably stronger capability. Pick E4B when you have the
37
+ RAM / VRAM headroom and want a sharper on-device model; pick E2B when you
38
+ need to fit on a phone or a constrained edge device.
39
 
40
+ Base capability is preserved close to `gemma-4-E4B-it`, so it also doubles
41
+ as a general-purpose ~4B chat model.
42
 
43
  ## Benchmarks (vs base `gemma-4-E4B-it`)
44
 
45
  | Axis | Base | Unbound E4B | Δ |
46
  |---|---|---|---|
47
+ | Refusal rate (AdvBench 520, LLM judge) | 98.08% | **2.69%** | **−95.4 pts** |
48
+ | Useful-compliance rate | 0.96% | **43.46%** | +42.5 pts |
49
+ | Hallucination rate (on harmful prompts) | 1.35% | 14.81% | +13.5 pts |
50
+ | Coherence on benign prompts | 1.0 | 1.0 | 0 |
51
+ | TruthfulQA mc2 (lm-eval, `--limit 100`) | 0.4394 | **0.4823** | +4.3 pts |
52
+ | MMLU (lm-eval, `--limit 100`, 61 subtasks avg) | ~0.425 | 0.3891 | −3.6 pts |
53
+ | GSM8K (lm-eval, flexible-extract) | 0.74 (`--limit 200`) | 0.60 (`--limit 100`) | regression mostly limit-noise; see notes |
54
+ | SimpleQA correct rate | | 2.0% | (post-abliteration: model rarely declines) |
55
+ | KL divergence vs base | 0 | 2.99 | (SFT-expected) |
56
+
57
+ **Compared to Unbound E2B (current ship):** E4B is **+19 pp useful_compliance**
58
+ (43% vs 24%), **−7 pp hallucination** (15% vs 22%), **3.3× the GSM8K math
59
+ score**, and ships with a **cleaner KL** (2.99 vs 3.80). The headline refusal
60
+ rate is essentially the same (~2.7%).
61
 
62
  ## Recommended sampling
63
 
 
 
64
  - **Creative writing / open-ended / general chat** → Gemma defaults:
65
  `temperature=1.0, top_p=0.95, top_k=64`.
66
+ - **Factual or brand/identity questions** → drop `temperature` to ~0.3–0.5
67
  for sharper recall.
68
  - **llama.cpp**: pass `--jinja` for proper chat-template handling.
69
  - **Gemma 4 thinking mode** is on by default. Set `enable_thinking: false`
70
  in the chat-template kwargs for shorter/faster replies.
71
 
72
+ Some edge-case prompts may deflect on the first ask; a re-ask or strategic
73
+ re-phrasing usually gets through.
74
+
75
  ## Run on-device (GGUF)
76
 
77
+ Q4_K_M / Q6_K / Q8_0 split files at
78
+ [`evalengine/unbound-e4b-GGUF`](https://huggingface.co/evalengine/unbound-e4b-GGUF) —
79
+ note that E4B's per-layer-input embedding tensor exceeds 2 GB in every quant
80
+ we ship, so these are **desktop runtimes only** (no wllama). For an
81
+ in-browser build use [`evalengine/unbound-e2b-GGUF`](https://huggingface.co/evalengine/unbound-e2b-GGUF).
82
+
83
  ```bash
84
  ollama pull hf.co/evalengine/unbound-e4b-GGUF
85
  ollama run hf.co/evalengine/unbound-e4b-GGUF