mlboydaisuke commited on
Commit
24b3b76
·
verified ·
1 Parent(s): 07c5809

Card: blockwise-128 + cache2048 specs (iPhone ~27 tok/s, GSM8K 77%)

Browse files
Files changed (1) hide show
  1. README.md +7 -7
README.md CHANGED
@@ -25,12 +25,12 @@ Text-only conversion (the Falcon3 decoder; no vision/audio towers).
25
 
26
  | | |
27
  |---|---|
28
- | **File** | `model.litertlm` (~1.86 GB) |
29
- | **Quantization** | int4 weights — **blockwise (block 32)**, symmetric; embeddings INT8 |
30
  | **Compute** | integer |
31
- | **Context (KV cache)** | 4096 |
32
  | **Base model** | tiiuae/Falcon3-3B-Instruct |
33
- | **Decode speed** | ~101 tok/s (Apple Silicon, CPU, LiteRT-LM, greedy) |
34
 
35
  ## Usage
36
 
@@ -58,7 +58,7 @@ known-good 4-bit control:
58
  |---|---|
59
  | bf16 (reference) | 75% |
60
  | MLX 4-bit (control) | 76% |
61
- | **This model — LiteRT int4** | **79%** |
62
 
63
  LiteRT int4 is fully at parity — it matches or slightly exceeds both the 4-bit
64
  control and bf16 here (the small spread is sampling noise at n=100). This is a
@@ -68,8 +68,8 @@ direct-answering instruct model (no `<think>` block) and terminates cleanly at
68
  ## Conversion
69
 
70
  Converted with [`litert-torch`](https://github.com/google-ai-edge/litert) using a
71
- **blockwise int4** recipe (INT4 weights, block size 32, symmetric) with embeddings
72
- kept at INT8, KV cache 4096, and Falcon3's native chat template. Falcon3-3B is a
73
  standard `LlamaForCausalLM` architecture, so it rides the existing converter and
74
  runtime with no custom code. Blockwise (not channelwise) int4 is what preserves
75
  reasoning accuracy.
 
25
 
26
  | | |
27
  |---|---|
28
+ | **File** | `model.litertlm` (~1.74 GB) |
29
+ | **Quantization** | int4 weights — **blockwise (block 128)**, symmetric; embeddings INT8 |
30
  | **Compute** | integer |
31
+ | **Context (KV cache)** | 2048 |
32
  | **Base model** | tiiuae/Falcon3-3B-Instruct |
33
+ | **Decode speed** | ~27 tok/s (iPhone 17 Pro, Metal GPU) · ~89 tok/s (Mac M4 Max, LiteRT-LM, greedy) |
34
 
35
  ## Usage
36
 
 
58
  |---|---|
59
  | bf16 (reference) | 75% |
60
  | MLX 4-bit (control) | 76% |
61
+ | **This model — LiteRT int4** | **77%** |
62
 
63
  LiteRT int4 is fully at parity — it matches or slightly exceeds both the 4-bit
64
  control and bf16 here (the small spread is sampling noise at n=100). This is a
 
68
  ## Conversion
69
 
70
  Converted with [`litert-torch`](https://github.com/google-ai-edge/litert) using a
71
+ **blockwise int4** recipe (INT4 weights, block size 128, symmetric) with embeddings
72
+ kept at INT8, KV cache 2048, and Falcon3's native chat template. Falcon3-3B is a
73
  standard `LlamaForCausalLM` architecture, so it rides the existing converter and
74
  runtime with no custom code. Blockwise (not channelwise) int4 is what preserves
75
  reasoning accuracy.