Instructions to use salman11169/sentijob-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use salman11169/sentijob-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="salman11169/sentijob-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("salman11169/sentijob-sentiment") model = AutoModelForSequenceClassification.from_pretrained("salman11169/sentijob-sentiment") - Notebooks
- Google Colab
- Kaggle
Upload DebertaV2ForSequenceClassification
Browse files- config.json +48 -0
- model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DebertaV2ForSequenceClassification"
|
| 4 |
+
],
|
| 5 |
+
"attention_probs_dropout_prob": 0.1,
|
| 6 |
+
"bos_token_id": 1,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "Negative",
|
| 14 |
+
"1": "Neutral",
|
| 15 |
+
"2": "Positive"
|
| 16 |
+
},
|
| 17 |
+
"initializer_range": 0.02,
|
| 18 |
+
"intermediate_size": 3072,
|
| 19 |
+
"label2id": {
|
| 20 |
+
"Negative": 0,
|
| 21 |
+
"Neutral": 1,
|
| 22 |
+
"Positive": 2
|
| 23 |
+
},
|
| 24 |
+
"layer_norm_eps": 1e-07,
|
| 25 |
+
"legacy": true,
|
| 26 |
+
"max_position_embeddings": 512,
|
| 27 |
+
"max_relative_positions": -1,
|
| 28 |
+
"model_type": "deberta-v2",
|
| 29 |
+
"norm_rel_ebd": "layer_norm",
|
| 30 |
+
"num_attention_heads": 12,
|
| 31 |
+
"num_hidden_layers": 12,
|
| 32 |
+
"pad_token_id": 0,
|
| 33 |
+
"pooler_dropout": 0,
|
| 34 |
+
"pooler_hidden_act": "gelu",
|
| 35 |
+
"pooler_hidden_size": 768,
|
| 36 |
+
"pos_att_type": [
|
| 37 |
+
"p2c",
|
| 38 |
+
"c2p"
|
| 39 |
+
],
|
| 40 |
+
"position_biased_input": false,
|
| 41 |
+
"position_buckets": 256,
|
| 42 |
+
"relative_attention": true,
|
| 43 |
+
"share_att_key": true,
|
| 44 |
+
"tie_word_embeddings": true,
|
| 45 |
+
"transformers_version": "5.1.0",
|
| 46 |
+
"type_vocab_size": 0,
|
| 47 |
+
"vocab_size": 128100
|
| 48 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:670eb6a1b9ae1074b94e44bbe155908089549f23ac7d1a6eac2cf3e3accf9118
|
| 3 |
+
size 737722332
|