Sentiment Analysis in Python with a Fine-Tuned Transformer¶
Train a sentiment analysis model on your own labelled text with one YAML config and one command.
sentiment is a domain-specific single-label classification task. Use it when labels mean polarity/rating.
Examples:
Train:
python -m jenga_nlp train \
--config examples/configs/fixture_mpesa_sentiment_cpu.yaml \
--device cpu
Next steps¶
- Configuration reference for every YAML option.
- Production inference to load the trained model once and serve predictions.
- All task types