Benewende-dev commited on
Commit
52ec93b
·
verified ·
1 Parent(s): 5d9b985

Model card: provenance, measurements, recommended settings

Browse files
Files changed (1) hide show
  1. README.md +96 -0
README.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3.5-2B
4
+ tags:
5
+ - gguf
6
+ - llama.cpp
7
+ - on-device
8
+ - offline
9
+ - cpu
10
+ - africa
11
+ - adtc-2026
12
+ language:
13
+ - fr
14
+ - en
15
+ pipeline_tag: text-generation
16
+ library_name: llama.cpp
17
+ ---
18
+
19
+ # baarali-edge-2b
20
+
21
+ The weights for **[Baarali Edge](https://github.com/benewende-dev/baarali-edge)**, a submission to
22
+ the **Africa Deep Tech Challenge 2026 — Laptop LLM track**, domain `corporate_enterprise`.
23
+
24
+ An offline enterprise assistant for the laptops West Africa actually owns: 8 GB of RAM, integrated
25
+ graphics, no network. It reads a company's own documents — supplier contracts, invoices, HR
26
+ policies, meeting notes — and answers with citations, on the machine, in French and English.
27
+
28
+ ## What this file is, exactly
29
+
30
+ This repository hosts **`Qwen3.5-2B-IQ4_XS.gguf`, an unmodified copy** of the IQ4_XS build
31
+ published by [unsloth/Qwen3.5-2B-GGUF](https://huggingface.co/unsloth/Qwen3.5-2B-GGUF), itself
32
+ quantised from [Qwen/Qwen3.5-2B](https://huggingface.co/Qwen/Qwen3.5-2B). Credit for the base model
33
+ goes to Qwen; credit for this quantisation goes to Unsloth. It is republished here so that the
34
+ submission's `download_model.sh` points at a URL under our control and keeps working unchanged
35
+ through the audit window — not because we claim authorship of the weights.
36
+
37
+ ```
38
+ sha256 3639f34b5ca22aa1c51f3616566eae8c355111554f6924ad97ee2652ed11c1cd
39
+ size 1 172 996 352 bytes (1.09 GiB)
40
+ ```
41
+
42
+ Our contribution is the **selection, measurement and packaging**: which base model, which
43
+ quantisation, which sampling settings, and the evidence for each. That evidence lives in the
44
+ GitHub repository, not in a claim on this page.
45
+
46
+ ## Why this model, and why this quantisation
47
+
48
+ Both decisions were measured with the official `adtc-profiler`, never chosen by reputation. Five
49
+ base models between 0.8 B and 4.2 B parameters were profiled, then seven quantisations of the
50
+ winner. Full tables: [`bench/resultats.md`](https://github.com/benewende-dev/baarali-edge/blob/main/bench/resultats.md).
51
+
52
+ Measured on an Apple M1 / 8 GB, CPU only (`-ngl 0`, enforced by the profiler), median of three
53
+ runs. Absolute figures differ from the reference i5 laptop; the comparison between candidates does
54
+ not.
55
+
56
+ | Quantisation | Accuracy (`arc_easy`) | Throughput | Peak RAM |
57
+ |---|---|---|---|
58
+ | **IQ4_XS** *(shipped)* | 0.670 | **34.3 t/s** | **1.74 GB** |
59
+ | Q4_K_M | 0.675 | 31.6 t/s | 2.08 GB |
60
+ | Q5_K_M | 0.670 | 26.7 t/s | 2.01 GB |
61
+ | UD-Q4_K_XL | 0.650 | 29.4 t/s | 2.21 GB |
62
+ | Q3_K_M | 0.630 | 30.7 t/s | 1.93 GB |
63
+
64
+ IQ4_XS is the fastest *and* the lightest, with the tightest run-to-run spread (1.72–1.77 GB).
65
+ Paying for Q5 bought no accuracy at all — 0.670, identical, for 25 % more weight.
66
+
67
+ ## Recommended inference settings
68
+
69
+ ```bash
70
+ llama-cli -m Qwen3.5-2B-IQ4_XS.gguf -ngl 0 --temp 0 --repeat-penalty 1.10
71
+ ```
72
+
73
+ `--repeat-penalty 1.10` is not a preference. On inputs outside its competence this model does not
74
+ decline — it repeats one phrase until the token budget runs out, and llama.cpp applies **no
75
+ repetition penalty by default**. Measured across 23 probes × 5 values, 1.10 is the smallest value
76
+ that eliminates the failure on every trigger we found, at **zero measured cost** on an 18-item
77
+ domain control (6/6 single-step, 9/12 multi-step — identical to no penalty). At 1.15 multi-step
78
+ reasoning collapses to 4/12.
79
+
80
+ Sweep and transcripts: [`bench/copies/penalite-repetition.md`](https://github.com/benewende-dev/baarali-edge/blob/main/bench/copies/penalite-repetition.md).
81
+
82
+ ## Known limitations, measured
83
+
84
+ - **No African-language capability.** Probed and documented: asked to identify Dioula it answered
85
+ "the language of Cameroon"; asked for Wolof, "the language of Tigré". `dyu` was consequently
86
+ removed from the submission's `language_scope`. Working languages are French and English.
87
+ - **Rounding to a *week begun*** — a common clause in West African supply contracts — is wrong at
88
+ every configuration we tested.
89
+ - 2 B parameters is a deliberate trade. The scoring function puts 50 % of its weight on throughput
90
+ and memory; a larger model would have to be ~22 accuracy points better to break even, and it is
91
+ not.
92
+
93
+ ## Licence
94
+
95
+ Apache 2.0, inherited from Qwen3.5-2B. The submission repository is GPL v3, inherited from the
96
+ official ADTC template; the weights keep their own licence.