DiggBERT / README.md
fzzin
Add FinBERT ONNX export (ProsusAI/finbert, fp32, opset 14)
71065bc
|
Raw History Blame Contribute Delete
667 Bytes
---
license: cc-by-nc-sa-4.0
base_model: ProsusAI/finbert
library_name: onnx
tags:
- finance
- sentiment-analysis
- onnx
---
# DiggBERT
ONNX export of [ProsusAI/finbert](https://huggingface.co/ProsusAI/finbert) (Araci, 2019), unchanged weights.
- Export: `torch.onnx.export` of `AutoModelForSequenceClassification`, fp32, opset 14.
Inputs `input_ids`, `attention_mask`, `token_type_ids` (dynamic batch and sequence axes); output `logits`.
- Labels: `{0: positive, 1: negative, 2: neutral}` (see `config.json`).
- `vocab.txt` and `config.json` are copied from ProsusAI/finbert.
Licence: CC BY-NC-SA 4.0, inherited from ProsusAI/finbert. Non-commercial use only.