Kashif786 commited on
Commit
9ecd23a
·
verified ·
1 Parent(s): a6ec8dc

Multi-Task Model: SentencePiece + Scaled Gold Corpus (NER F1: 0.79)

Browse files
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation": "gelu",
3
+ "architectures": [
4
+ "DistilBertModel"
5
+ ],
6
+ "attention_dropout": 0.1,
7
+ "bos_token_id": null,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "dtype": "float32",
11
+ "eos_token_id": null,
12
+ "hidden_dim": 3072,
13
+ "initializer_range": 0.02,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "distilbert",
16
+ "n_heads": 12,
17
+ "n_layers": 6,
18
+ "output_past": true,
19
+ "pad_token_id": 0,
20
+ "qa_dropout": 0.1,
21
+ "seq_classif_dropout": 0.2,
22
+ "sinusoidal_pos_embds": false,
23
+ "tie_weights_": true,
24
+ "tie_word_embeddings": true,
25
+ "transformers_version": "5.16.1",
26
+ "vocab_size": 136521
27
+ }
label_mapping.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "ner_l2i": {
3
+ "B-ART": 0,
4
+ "B-EVENT": 1,
5
+ "B-FAC": 2,
6
+ "B-GPE": 3,
7
+ "B-LANGUAGE": 4,
8
+ "B-LOC": 5,
9
+ "B-NORP": 6,
10
+ "B-ORG": 7,
11
+ "B-OTHERS": 8,
12
+ "B-PERSON": 9,
13
+ "B-TITLE": 10,
14
+ "I-ART": 11,
15
+ "I-EVENT": 12,
16
+ "I-FAC": 13,
17
+ "I-GPE": 14,
18
+ "I-LANGUAGE": 15,
19
+ "I-LOC": 16,
20
+ "I-NORP": 17,
21
+ "I-ORG": 18,
22
+ "I-OTHERS": 19,
23
+ "I-PERSON": 20,
24
+ "I-TITLE": 21,
25
+ "O": 22
26
+ },
27
+ "pos_l2i": {
28
+ "ADJ": 0,
29
+ "ADP": 1,
30
+ "ADV": 2,
31
+ "AUX": 3,
32
+ "AdJ": 4,
33
+ "CONJ": 5,
34
+ "DET": 6,
35
+ "INTJ": 7,
36
+ "NOUN": 8,
37
+ "NUM": 9,
38
+ "PERIOD": 10,
39
+ "PRON": 11,
40
+ "PROPN": 12,
41
+ "PUNC": 13,
42
+ "SCON": 14,
43
+ "SYM": 15,
44
+ "VERB": 16,
45
+ "X": 17
46
+ },
47
+ "id2ner": {
48
+ "0": "B-ART",
49
+ "1": "B-EVENT",
50
+ "2": "B-FAC",
51
+ "3": "B-GPE",
52
+ "4": "B-LANGUAGE",
53
+ "5": "B-LOC",
54
+ "6": "B-NORP",
55
+ "7": "B-ORG",
56
+ "8": "B-OTHERS",
57
+ "9": "B-PERSON",
58
+ "10": "B-TITLE",
59
+ "11": "I-ART",
60
+ "12": "I-EVENT",
61
+ "13": "I-FAC",
62
+ "14": "I-GPE",
63
+ "15": "I-LANGUAGE",
64
+ "16": "I-LOC",
65
+ "17": "I-NORP",
66
+ "18": "I-ORG",
67
+ "19": "I-OTHERS",
68
+ "20": "I-PERSON",
69
+ "21": "I-TITLE",
70
+ "22": "O"
71
+ },
72
+ "id2pos": {
73
+ "0": "ADJ",
74
+ "1": "ADP",
75
+ "2": "ADV",
76
+ "3": "AUX",
77
+ "4": "AdJ",
78
+ "5": "CONJ",
79
+ "6": "DET",
80
+ "7": "INTJ",
81
+ "8": "NOUN",
82
+ "9": "NUM",
83
+ "10": "PERIOD",
84
+ "11": "PRON",
85
+ "12": "PROPN",
86
+ "13": "PUNC",
87
+ "14": "SCON",
88
+ "15": "SYM",
89
+ "16": "VERB",
90
+ "17": "X"
91
+ },
92
+ "metrics_notes": "Validated on 80/20 Split. NER Macro F1: 0.79, POS Weighted F1: 0.97, Sentiment Acc: 1.00"
93
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:436c211df9d41642412dcb21540487e2bd4e13f84856ba28dad5c8e79979149a
3
+ size 591091544
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6016281caba639bb507b6c22872f658b8651b2f15ae5123afebf7cbe62a5d1f5
3
+ size 591255243
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "is_local": false,
5
+ "local_files_only": false,
6
+ "mask_token": "[MASK]",
7
+ "max_length": 128,
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "pad_to_multiple_of": null,
10
+ "pad_token": "[PAD]",
11
+ "pad_token_type_id": 0,
12
+ "padding_side": "right",
13
+ "sep_token": "[SEP]",
14
+ "stride": 0,
15
+ "tokenizer_class": "TokenizersBackend",
16
+ "truncation_side": "right",
17
+ "truncation_strategy": "longest_first",
18
+ "unk_token": "[UNK]"
19
+ }