blackmistcode's picture
Initial ModernFinBERT space setup
87e8314 verified
|
Raw
History Blame Contribute Delete
542 Bytes
# ModernFinBERT Space
A lightweight Hugging Face Space that hosts [`tabularisai/ModernFinBERT`](https://huggingface.co/tabularisai/ModernFinBERT) for financial sentiment analysis.
- **Model size**: 0.1B parameters (fits on CPU)
- **Hardware**: CPU Basic (no GPU required)
- **SDK**: Gradio
## API usage
The Gradio API is exposed automatically. You can call it from your backend with a simple HTTP `POST` to `/run/predict`.
Example payload:
```json
{
"fn_index": 0,
"data": ["Revenue grew 15% YoY\nFed raises rates by 0.75bps"]
}
```