Sentiment Analysis
review | sentiment |
---|---|
The movie was fantastic! | positive |
Great acting and cinematography | positive |
The acting was terrible! | negative |
ludwig experiment \
--dataset sentiment.csv \
--config config.yaml
With config.yaml
:
input_features:
-
name: review
type: text
encoder:
type: parallel_cnn
output_features:
-
name: sentiment
type: category