curiousily/Deploy-BERT-for-Sentiment-Analysis-with-FastAPI
Deploy BERT for Sentiment Analysis as REST API using FastAPI, Transformers by Hugging Face and PyTorch
Includes a pre-trained BERT model fine-tuned on Google Play app reviews to classify text into three sentiment classes (negative, neutral, positive) with per-class confidence scores. The API endpoint returns structured JSON responses with both the predicted sentiment label and probability distribution across all classes. Provides helper scripts for model download, server initialization, and request testing to streamline local deployment and evaluation.
209 stars. No commits in the last 6 months.
Stars
209
Forks
62
Language
Python
License
MIT
Category
Last pushed
Dec 08, 2022
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/curiousily/Deploy-BERT-for-Sentiment-Analysis-with-FastAPI"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
ScalaConsultants/Aspect-Based-Sentiment-Analysis
💭 Aspect-Based-Sentiment-Analysis: Transformer & Explainable ML (TensorFlow)
cleopatra-itn/fair_multimodal_sentiment
Code and Splits for the paper "A Fair and Comprehensive Comparison of Multimodal Tweet Sentiment...
LorenzoAgnolucci/BERT_for_ABSA
In this work (Targeted) Aspect-Based Sentiment Analysis task is converted to a sentence-pair...
mohd-faizy/06P_Sentiment-Analysis-With-Deep-Learning-Using-BERT
Finetuning BERT in PyTorch for sentiment analysis.
Silvestre17/BDA_AmazonReviews_DatabricksPySparkAnalysis_MasterProject
🛍️ Big Data project analyzing Amazon tech reviews using Databricks, PySpark, and Transformers....