Instructions to use paarthmadan/Sentiment-Analysis-API with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use paarthmadan/Sentiment-Analysis-API with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("paarthmadan/Sentiment-Analysis-API", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "BERT_MODEL": "bert-base-cased", | |
| "PRE_TRAINED_MODEL": "assets/model_state_dict.bin", | |
| "CLASS_NAMES": [ | |
| "negative", | |
| "positive" | |
| ], | |
| "MAX_SEQUENCE_LEN": 60 | |
| } |