---
family: hsemotion
license: apache-2.0
model_id: hsemotion-b0
source_url: https://huggingface.co/litert-community/HSEmotion-B0-LiteRT
task: image-classification
---

# hsemotion-b0

| | |
|---|---|
| **Task** | image-classification |
| **Family** | hsemotion |
| **Source** | https://huggingface.co/litert-community/HSEmotion-B0-LiteRT |
| **License** | apache-2.0 |

## Conversion

| | |
|---|---|
| **Tool** | litert-torch 0.10.0 (editable dev checkout 115a136 + local patches) |
| **Command** | `python hsemotion/scripts/build_hsemotion.py` |
| **Quantization** | fp16 |

## Artifacts

| File | SHA-256 | Size (MB) |
|---|---|---|
| `267dc5f057fa4e505ade2289ca560f89a0830763b3ef61d9e75466455e4d55ba.tflite` | `8a59e85cd96aefa39752a75c9cba7f1b3dd38ae3bf98d8ea2835e12b0dbf3735` | 7.908 |

## Performance

No benchmark data yet.

## Browser (LiteRT.js)

Model-level sweep results — measured behavior of this exact `.tflite` in the browser, only meaningful together with the environment that produced it. Full records (failure class, error evidence, sweep config): `data/sweep/2.5.3/2026-08-11/hsemotion-b0.json`.

| Backend | Status | Full delegation | Output match | Max rel diff | Latency p50 (ms) | Environment | Date | Provenance |
|---|---|---|---|---|---|---|---|---|
| wasm_xnnpack | pass | - | - | - | 72.14 | mac-studio-m4-max · chromium 151.0.7922.34 headless · macOS · @litertjs/core 2.5.3 | 2026-08-11 | measured |
| webgpu_mldrift | pass | yes | pass | 1.240724155334083e-06 | 2.565 | mac-studio-m4-max · chromium 151.0.7922.34 headless · macOS · @litertjs/core 2.5.3 | 2026-08-11 | measured |

## Device runs (NPU / LiteRT-LM)

Model-level on-device results — measured behavior of this exact artifact on the recorded device, only meaningful together with that environment. Throughput is conditional on the measured prompt length (Prompt (tokens); '-' = the source stated none): rows differing only there are different measurements, not re-runs. Full records (failure classes, log evidence): `data/device_runs/2.2.0.dev20260804/2026-08-31/hsemotion-b0__raspberry-pi-5.json`.

| Device | Accelerator | Status | Full delegation | Output match | Prompt (tokens) | Latency p50 (ms) | Prefill tok/s | Decode tok/s | TTFT (ms) | Peak mem (MB) | Environment | Date | Provenance |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| raspberry-pi-5 | cpu_xnnpack | pass | - | - | - | 24.767 | - | - | - | 137.5 | Raspberry Pi 5 Model B Rev 1.1 · litert 2.2.0.dev20260804 · Linux-6.18.34+rpt-rpi-2712-aarch64-with-glibc2.41 | 2026-08-31 | measured |

## Pitfalls

- The released weights are an old-timm pickle whose forward is broken under current timm; the state dict is lifted into a fresh timm tf_efficientnet_b0 (classifier.0.* -> classifier.*) before conversion (zoo README L1549).

---

_Rendered by `edge-card` from `card.json` (the source of truth); edit the inputs, not this file._
