Instructions to use Jarnails1559/sentiment-analyzer-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jarnails1559/sentiment-analyzer-model with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Jarnails1559/sentiment-analyzer-model", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
26b34f0
1
Parent(s): ee02cf6
Create config.json
Browse files- config.json +16 -0
config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"attn_pdrop": 0.1,
|
| 3 |
+
"embd_pdrop": 0.1,
|
| 4 |
+
"layer_norm_epsilon": 1e-5,
|
| 5 |
+
"n_head": 12,
|
| 6 |
+
"n_layer": 12,
|
| 7 |
+
"n_embd": 768,
|
| 8 |
+
"resid_pdrop": 0.1,
|
| 9 |
+
"initializer_range": 0.02,
|
| 10 |
+
"summary_type": "cls_index",
|
| 11 |
+
"summary_use_proj": true,
|
| 12 |
+
"summary_activation": null,
|
| 13 |
+
"summary_proj_to_labels": true,
|
| 14 |
+
"summary_first_dropout": 0.1,
|
| 15 |
+
"summary_last_dropout": 0.1
|
| 16 |
+
}
|