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
File size: 190 Bytes
15f78a8 | 1 2 3 4 5 6 7 8 9 | {
"BERT_MODEL": "bert-base-cased",
"PRE_TRAINED_MODEL": "assets/model_state_dict.bin",
"CLASS_NAMES": [
"negative",
"positive"
],
"MAX_SEQUENCE_LEN": 60
} |