Shortcuts

torchexpo.nlp

Sentiment Analysis

https://res.cloudinary.com/torchexpo/image/upload/v1601144171/assets/tasks/sentiment-analysis.jpg

Sentiment analysis is the task of classifying the polarity of a given text.

Example:
>>> from torchexpo.nlp import sentiment_analysis
>>>
>>> model = sentiment_analysis.electra_imdb()
>>> model.extract_torchscript()
>>> model.extract_onnx()

DistilBERT (IMDb)

torchexpo.nlp.sentiment_analysis.distilbert_imdb()[source]

DistilBERT Model pre-trained on IMDb

ELECTRA (IMDb)

torchexpo.nlp.sentiment_analysis.electra_imdb()[source]

Electra Model pre-trained on IMDb

Text Classification (Coming Soon)

Coming Soon

Question Answering (Coming Soon)

Coming Soon

Read the Docs v: latest
Versions
latest
Downloads
pdf
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.