File size: 2,186 Bytes
ad8853a
5c5920c
 
 
 
 
 
 
 
 
ad8853a
5c5920c
 
 
3988b84
5c5920c
 
 
3988b84
5c5920c
3988b84
 
5c5920c
3988b84
 
 
 
 
 
5c5920c
3988b84
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
library_name: indext-transformer
tags:
- indext
- indext-transformer
- gguf
- idxt
- mobile
- android
- llm
---

# InDEX Transformer

**InDEX Transformer** is a compact, mobile-first language model family designed to run locally on smartphones and resource-constrained devices without an internet connection, powered by the **InDEX-Transformer.C** inference engine.

## Links
- **Model Repository**: [ResonateIntegrated/InDEXt-25M](https://huggingface.co/ResonateIntegrated/InDEXt-25M)
- **Android App & Engine**: [Workstation5495/InDEXt-Loader-Android-App](https://github.com/Workstation5495/InDEXt-Loader-Android-App/)

## Formats & Quantizations
InDEX Transformer weights are distributed in native **IDXT** (`IDX2` + external `tokenizer.json`) and **GGUF** formats across multiple precision levels so you can balance quality, speed, and RAM usage for your device:

| Quantization | Type | Best For |
|---|---|---|
| `Q4_0` / `Q4_1` | 4-bit | Lowest memory footprint & fastest inference on older 32-bit phones |
| `Q5_0` / `Q5_1` | 5-bit | Balanced quality and size |
| `Q8_0` | 8-bit | Near-lossless precision with fast integer SIMD |
| `F16` / `BF16` | 16-bit | Full 16-bit floating-point reference |

## Running on Android (`InDEXt Loader`)
1. Download and install **InDEXt Loader** from the [GitHub repository](https://github.com/Workstation5495/InDEXt-Loader-Android-App/).
2. Copy your chosen `.idxt` model and `tokenizer.json` (or `.gguf` single-file model) to `/sdcard/Download/` on your device.
3. Open **InDEXt Loader**, choose **IDXT** (or **GGUF**), and select your file(s).
4. In **Model Settings**, pick your preferred **KV Cache** mode (`Q8_0` or `Q4_0` recommended for low-RAM devices) and **mmap** option.
5. Tap **Launch** to start generating offline.

## Engine Highlights (`InDEX-Transformer.C`)
- Pure C99 implementation with ARM NEON SIMD acceleration (`armeabi-v7a` and `armeabi` compatible)
- Full support for `F32`, `F16`, `BF16`, `Q4_0`, `Q4_1`, `Q5_0`, `Q5_1`, `Q8_0`, `Q2_K`, `Q3_K`, `Q4_K`, `Q5_K`, and `Q6_K`
- Configurable `FP32`, `FP16`, `Q8_0`, and `Q4_0` KV cache
- Persistent multi-threaded execution with `mmap` zero-copy or RAM buffer loading