Go to home
542
2

sentiment-analysis

:

Sentiment Analysis Model

This model performs sentiment analysis on text inputs and classifies them into positive, negative, or neutral categories.

Model Details

  • Architecture: BERT-based transformer
  • Training Data: 100k labeled reviews
  • Accuracy: 94.2% on test set
  • Framework: PyTorch (exported to ONNX)
  • Version: 1.2.3

Usage

import onnxruntime as ort
session = ort.InferenceSession("model.onnx")
result = session.run(None, {"input": text_input})

Dataset

The training dataset is included in training_data.csv.

License

MIT License