reallycarlaost/emobank
Updated β’ 27
ONNX exports of RobroKools/vad-bert (BERT-base fine-tuned on EmoBank for Valence/Arousal/Dominance regression), prepared for transformers.js-style in-process inference β no PyTorch, no server.
Two variants, identical behavior:
| variant | size | notes |
|---|---|---|
int8/ |
~110MB | dynamic int8 quantization; ~2β2.6Γ faster on CPU, ~0.02 delta drift |
fp32/ |
~438MB | bit-exact conversion of the original weights |
Each folder is a standalone transformers.js layout: tokenizer/config at the
root, onnx/model.onnx single-file. In both variants the model file is named
onnx/model.onnx regardless of precision.
fp32/ β ONNX export of the original pytorch_model.bin via optimum
(format conversion only; weights unchanged, verified output-identical).int8/ β dynamic int8 quantization of that export via onnxruntime
(quantize_dynamic, QInt8).tokenizer.json and vocab.txt are
byte-identical to the original.This repository is distributed under the same MIT license as the original; see LICENSE and the original's license above.