Skip to content

Latest commit

 

History

History

bert_sentiment_analysis

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Sentiment Analysis Using Bert

input

A SENTENCE.

output

Positive or Negative

Usage

Set the SENTENCE as an argument.

$ python3 bert_sentiment_analysis.py -i "Transformers and ailia SDK is an awesome combo!"
...
Input :  Transformers and ailia SDK is an awesome combo!
Label :  positive
Score :  0.99984145

Reference

transformers

onnx-transformers

Framework

PyTorch 1.6.0

Model Format

ONNX opset = 11

Netron