Instructions to use rabindra-sss/sentiment-distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use rabindra-sss/sentiment-distilbert with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased") model = PeftModel.from_pretrained(base_model, "rabindra-sss/sentiment-distilbert") - Notebooks
- Google Colab
- Kaggle
| { "model_type": "distilbert-base-uncased", | |
| "vocab_size": 30522, | |
| "max_position_embeddings": 512, | |
| "sinusoidal_pos_embds": false, | |
| "n_layers": 6, | |
| "n_heads": 12, | |
| "dim": 768, | |
| "hidden_dim": 3072, | |
| "dropout": 0.1, | |
| "attention_dropout": 0.1, | |
| "activation": "gelu", | |
| "initializer_range": 0.02, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "pad_token_id": 0 | |
| } | |