All projects
Edge AIMar – Jul 2024Edge / IoT

On-Device Small Language Model Chatbot

Fully offline SLM chatbot running on-device with no cloud dependency — quantized inference tuned for constrained memory and latency budgets.

Pipeline

Model distillation
TFLite conversion
Quantization
Pruning
Local state

Architecture

End-to-end flow, stage by stage.

  1. 01

    Model distillation

  2. 02

    TFLite conversion

  3. 03

    Quantization

  4. 04

    Pruning

  5. 05

    Local state

How it works

01

Converted and optimized a compact language model with TensorFlow Lite for private, offline inference across desktop and mobile targets.

02

Combined quantization, pruning, and knowledge distillation to reduce the runtime footprint while preserving intent recognition and contextual dialogue quality.

03

Kept multi-turn state locally, eliminating network latency and ensuring that conversation data never had to leave the device.

0
Cloud calls — fully offline
Quantized
Runs on constrained memory

Stack

TensorFlow LiteQuantizationPruningKnowledge DistillationOn-Device