jokugeorgin commited on
Commit
129ae11
·
verified ·
1 Parent(s): cc7b6f0

Upload 10 files

Browse files
__huggingface_repos__.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"repos": [{"repoId": "microsoft/deberta-base", "repoType": "model", "commitHash": "0d1b43ccf21b5acd9f4e5f7b077fa698f05cf195", "filePaths": ["config.json", "vocab.json", "pytorch_model.bin", "merges.txt", "tokenizer_config.json"]}, {"repoId": "microsoft/deberta-base", "repoType": "model", "commitHash": "315ff8e6747aba12a2074c165fcc7e47d2cec9b4", "filePaths": ["model.safetensors"]}]}
best_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:563fb8cb8595b47b6d1757646255fcaeb2c0d8fea587a82d763804ccd4a7b6ed
3
+ size 556859654
classification_report.txt ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Microaggression Detection Model - Classification Report
2
+ ============================================================
3
+
4
+ Model: microsoft/deberta-base
5
+ Dataset shape: (48272, 10)
6
+ Training samples: 38617
7
+ Validation samples: 9655
8
+
9
+ precision recall f1-score support
10
+
11
+ Not Microaggression 0.9996 0.9989 0.9993 4717
12
+ Microaggression 0.9990 0.9996 0.9993 4938
13
+
14
+ accuracy 0.9993 9655
15
+ macro avg 0.9993 0.9993 0.9993 9655
16
+ weighted avg 0.9993 0.9993 0.9993 9655
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "hidden_act": "gelu",
7
+ "hidden_dropout_prob": 0.1,
8
+ "hidden_size": 768,
9
+ "initializer_range": 0.02,
10
+ "intermediate_size": 3072,
11
+ "layer_norm_eps": 1e-07,
12
+ "legacy": true,
13
+ "max_position_embeddings": 512,
14
+ "max_relative_positions": -1,
15
+ "model_type": "deberta",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 12,
18
+ "pad_token_id": 0,
19
+ "pooler_dropout": 0,
20
+ "pooler_hidden_act": "gelu",
21
+ "pooler_hidden_size": 768,
22
+ "pos_att_type": [
23
+ "c2p",
24
+ "p2c"
25
+ ],
26
+ "position_biased_input": false,
27
+ "relative_attention": true,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.52.4",
30
+ "type_vocab_size": 0,
31
+ "vocab_size": 50265
32
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e078073bf8b7ffdb7baeae2f655e60c198f6cee61586fea0ec232af1b4b80780
3
+ size 556799560
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": true,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "[PAD]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "[SEP]",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "[UNK]",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "[PAD]",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "[CLS]",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "[SEP]",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "3": {
30
+ "content": "[UNK]",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "50264": {
38
+ "content": "[MASK]",
39
+ "lstrip": true,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ }
45
+ },
46
+ "bos_token": "[CLS]",
47
+ "clean_up_tokenization_spaces": false,
48
+ "cls_token": "[CLS]",
49
+ "do_lower_case": false,
50
+ "eos_token": "[SEP]",
51
+ "errors": "replace",
52
+ "extra_special_tokens": {},
53
+ "mask_token": "[MASK]",
54
+ "model_max_length": 1000000000000000019884624838656,
55
+ "pad_token": "[PAD]",
56
+ "sep_token": "[SEP]",
57
+ "tokenizer_class": "DebertaTokenizer",
58
+ "unk_token": "[UNK]",
59
+ "vocab_type": "gpt2"
60
+ }
training_config.txt ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Microaggression Detection Model - Training Configuration
2
+ ============================================================
3
+
4
+ Model Name: microsoft/deberta-base
5
+ Max Length: 128
6
+ Batch Size: 16
7
+ Epochs: 5
8
+ Learning Rate: 2e-05
9
+ Patience: 2
10
+ Dataset Shape: (48272, 10)
11
+ Training Samples: 38617
12
+ Validation Samples: 9655
13
+ Model Parameters: 139,193,858
vocab.json ADDED
The diff for this file is too large to render. See raw diff