system HF staff commited on
Commit
571e55d
1 Parent(s): 02726c2

Commit From AutoTrain

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
37
+ *.tar.gz filter=lfs diff=lfs merge=lfs -text
38
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - autotrain
4
+ - text-classification
5
+ language:
6
+ - unk
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ datasets:
10
+ - DarwinAnim8or/autotrain-data-emoji-v3
11
+ co2_eq_emissions:
12
+ emissions: 0.6833689692559574
13
+ ---
14
+
15
+ # Model Trained Using AutoTrain
16
+
17
+ - Problem type: Multi-class Classification
18
+ - Model ID: 83947142400
19
+ - CO2 Emissions (in grams): 0.6834
20
+
21
+ ## Validation Metrics
22
+
23
+ - Loss: 2.339
24
+ - Accuracy: 0.216
25
+ - Macro F1: 0.136
26
+ - Micro F1: 0.216
27
+ - Weighted F1: 0.163
28
+ - Macro Precision: 0.126
29
+ - Micro Precision: 0.216
30
+ - Weighted Precision: 0.152
31
+ - Macro Recall: 0.179
32
+ - Micro Recall: 0.216
33
+ - Weighted Recall: 0.216
34
+
35
+
36
+ ## Usage
37
+
38
+ You can use cURL to access this model:
39
+
40
+ ```
41
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/DarwinAnim8or/autotrain-emoji-v3-83947142400
42
+ ```
43
+
44
+ Or Python API:
45
+
46
+ ```
47
+ from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
+
49
+ model = AutoModelForSequenceClassification.from_pretrained("DarwinAnim8or/autotrain-emoji-v3-83947142400", use_auth_token=True)
50
+
51
+ tokenizer = AutoTokenizer.from_pretrained("DarwinAnim8or/autotrain-emoji-v3-83947142400", use_auth_token=True)
52
+
53
+ inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
+
55
+ outputs = model(**inputs)
56
+ ```
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "AutoTrain",
3
+ "_num_labels": 31,
4
+ "architectures": [
5
+ "DebertaV2ForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "\u2600",
13
+ "1": "\u2639\ufe0f",
14
+ "2": "\u2728",
15
+ "3": "\u2764",
16
+ "4": "\ud83c\udf84",
17
+ "5": "\ud83d\udc95",
18
+ "6": "\ud83d\udc99",
19
+ "7": "\ud83d\udc9c",
20
+ "8": "\ud83d\udca2",
21
+ "9": "\ud83d\udcaf",
22
+ "10": "\ud83d\udcf7",
23
+ "11": "\ud83d\udcf8",
24
+ "12": "\ud83d\udd25",
25
+ "13": "\ud83d\ude01",
26
+ "14": "\ud83d\ude02",
27
+ "15": "\ud83d\ude09",
28
+ "16": "\ud83d\ude0a",
29
+ "17": "\ud83d\ude0d",
30
+ "18": "\ud83d\ude0e",
31
+ "19": "\ud83d\ude14",
32
+ "20": "\ud83d\ude18",
33
+ "21": "\ud83d\ude1c",
34
+ "22": "\ud83d\ude20",
35
+ "23": "\ud83d\ude21",
36
+ "24": "\ud83d\ude24",
37
+ "25": "\ud83d\ude29",
38
+ "26": "\ud83d\ude2d",
39
+ "27": "\ud83d\ude33",
40
+ "28": "\ud83d\ude43",
41
+ "29": "\ud83d\ude44",
42
+ "30": "\ud83d\ude48"
43
+ },
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 3072,
46
+ "label2id": {
47
+ "\u2600": 0,
48
+ "\u2639\ufe0f": 1,
49
+ "\u2728": 2,
50
+ "\u2764": 3,
51
+ "\ud83c\udf84": 4,
52
+ "\ud83d\udc95": 5,
53
+ "\ud83d\udc99": 6,
54
+ "\ud83d\udc9c": 7,
55
+ "\ud83d\udca2": 8,
56
+ "\ud83d\udcaf": 9,
57
+ "\ud83d\udcf7": 10,
58
+ "\ud83d\udcf8": 11,
59
+ "\ud83d\udd25": 12,
60
+ "\ud83d\ude01": 13,
61
+ "\ud83d\ude02": 14,
62
+ "\ud83d\ude09": 15,
63
+ "\ud83d\ude0a": 16,
64
+ "\ud83d\ude0d": 17,
65
+ "\ud83d\ude0e": 18,
66
+ "\ud83d\ude14": 19,
67
+ "\ud83d\ude18": 20,
68
+ "\ud83d\ude1c": 21,
69
+ "\ud83d\ude20": 22,
70
+ "\ud83d\ude21": 23,
71
+ "\ud83d\ude24": 24,
72
+ "\ud83d\ude29": 25,
73
+ "\ud83d\ude2d": 26,
74
+ "\ud83d\ude33": 27,
75
+ "\ud83d\ude43": 28,
76
+ "\ud83d\ude44": 29,
77
+ "\ud83d\ude48": 30
78
+ },
79
+ "layer_norm_eps": 1e-07,
80
+ "max_length": 64,
81
+ "max_position_embeddings": 512,
82
+ "max_relative_positions": -1,
83
+ "model_type": "deberta-v2",
84
+ "norm_rel_ebd": "layer_norm",
85
+ "num_attention_heads": 12,
86
+ "num_hidden_layers": 12,
87
+ "pad_token_id": 0,
88
+ "padding": "max_length",
89
+ "pooler_dropout": 0,
90
+ "pooler_hidden_act": "gelu",
91
+ "pooler_hidden_size": 768,
92
+ "pos_att_type": [
93
+ "p2c",
94
+ "c2p"
95
+ ],
96
+ "position_biased_input": false,
97
+ "position_buckets": 256,
98
+ "relative_attention": true,
99
+ "share_att_key": true,
100
+ "torch_dtype": "float32",
101
+ "transformers_version": "4.29.2",
102
+ "type_vocab_size": 0,
103
+ "vocab_size": 128100
104
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c6d0b75b0be333c62fffd9725071d2b08a85c3b3345872225b1d928a176768f
3
+ size 737812684
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:030af77411001e1d2c47c6e2066ea7709a70de914eed0768d11bfb0667041472
3
+ size 737857977
special_tokens_map.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": "[UNK]"
9
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cc5a4f5b0be46bb77c12eeae3959316af6f2f567f647f0ea3af9434a4adf372
3
+ size 8656814
tokenizer_config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "do_lower_case": false,
6
+ "eos_token": "[SEP]",
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "sp_model_kwargs": {},
12
+ "split_by_punct": false,
13
+ "tokenizer_class": "DebertaV2Tokenizer",
14
+ "unk_token": "[UNK]",
15
+ "vocab_type": "spm"
16
+ }