| title: ONNX Sentiment Demo | |
| emoji: 💬 | |
| colorFrom: yellow | |
| colorTo: red | |
| sdk: gradio | |
| sdk_version: 5.23.1 | |
| python_version: "3.12" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # ONNX Sentiment Demo | |
| Binary sentiment classifier trained **from scratch** in PyTorch (bag-of-words + linear layer), exported to ONNX, served with **ONNX Runtime**. | |
| Built from `spaces/space_sentiment/` in the monorepo. Retrain and re-export with: | |
| ```bash | |
| python train.py | |
| python export_onnx.py | |
| ``` | |