Abhishek4907 commited on
Commit
3ca38f2
·
verified ·
1 Parent(s): 8bcd7bb

Uploaded model files

Browse files
added_tokens.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "<ent>": 128001,
3
+ "<sep>": 128002,
4
+ "[MASK]": 128000
5
+ }
gliner_config.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "class_token_index": 128001,
3
+ "decoder_mode": null,
4
+ "dropout": 0.4,
5
+ "embed_ent_token": true,
6
+ "encoder_config": {
7
+ "_attn_implementation_autoset": false,
8
+ "_name_or_path": "microsoft/deberta-v3-large",
9
+ "add_cross_attention": false,
10
+ "architectures": null,
11
+ "attention_probs_dropout_prob": 0.1,
12
+ "bad_words_ids": null,
13
+ "begin_suppress_tokens": null,
14
+ "bos_token_id": null,
15
+ "chunk_size_feed_forward": 0,
16
+ "cross_attention_hidden_size": null,
17
+ "decoder_start_token_id": null,
18
+ "diversity_penalty": 0.0,
19
+ "do_sample": false,
20
+ "early_stopping": false,
21
+ "encoder_no_repeat_ngram_size": 0,
22
+ "eos_token_id": null,
23
+ "exponential_decay_length_penalty": null,
24
+ "finetuning_task": null,
25
+ "forced_bos_token_id": null,
26
+ "forced_eos_token_id": null,
27
+ "hidden_act": "gelu",
28
+ "hidden_dropout_prob": 0.1,
29
+ "hidden_size": 1024,
30
+ "id2label": {
31
+ "0": "LABEL_0",
32
+ "1": "LABEL_1"
33
+ },
34
+ "initializer_range": 0.02,
35
+ "intermediate_size": 4096,
36
+ "is_decoder": false,
37
+ "is_encoder_decoder": false,
38
+ "label2id": {
39
+ "LABEL_0": 0,
40
+ "LABEL_1": 1
41
+ },
42
+ "layer_norm_eps": 1e-07,
43
+ "legacy": true,
44
+ "length_penalty": 1.0,
45
+ "max_length": 20,
46
+ "max_position_embeddings": 512,
47
+ "max_relative_positions": -1,
48
+ "min_length": 0,
49
+ "model_type": "deberta-v2",
50
+ "no_repeat_ngram_size": 0,
51
+ "norm_rel_ebd": "layer_norm",
52
+ "num_attention_heads": 16,
53
+ "num_beam_groups": 1,
54
+ "num_beams": 1,
55
+ "num_hidden_layers": 24,
56
+ "num_return_sequences": 1,
57
+ "output_attentions": false,
58
+ "output_hidden_states": false,
59
+ "output_scores": false,
60
+ "pad_token_id": 0,
61
+ "pooler_dropout": 0,
62
+ "pooler_hidden_act": "gelu",
63
+ "pooler_hidden_size": 1024,
64
+ "pos_att_type": [
65
+ "p2c",
66
+ "c2p"
67
+ ],
68
+ "position_biased_input": false,
69
+ "position_buckets": 256,
70
+ "prefix": null,
71
+ "problem_type": null,
72
+ "pruned_heads": {},
73
+ "relative_attention": true,
74
+ "remove_invalid_values": false,
75
+ "repetition_penalty": 1.0,
76
+ "return_dict": true,
77
+ "return_dict_in_generate": false,
78
+ "sep_token_id": null,
79
+ "share_att_key": true,
80
+ "suppress_tokens": null,
81
+ "task_specific_params": null,
82
+ "temperature": 1.0,
83
+ "tf_legacy_loss": false,
84
+ "tie_encoder_decoder": false,
85
+ "tie_word_embeddings": true,
86
+ "tokenizer_class": null,
87
+ "top_k": 50,
88
+ "top_p": 1.0,
89
+ "torch_dtype": null,
90
+ "torchscript": false,
91
+ "type_vocab_size": 0,
92
+ "typical_p": 1.0,
93
+ "use_bfloat16": false,
94
+ "vocab_size": 128003
95
+ },
96
+ "ent_token": "<ent>",
97
+ "eval_every": 1000,
98
+ "eval_strategy": "steps",
99
+ "fine_tune": true,
100
+ "full_decoder_context": true,
101
+ "fuse_layers": false,
102
+ "has_rnn": true,
103
+ "head_h_dim": 128,
104
+ "hidden_size": 512,
105
+ "labels_decoder": null,
106
+ "labels_decoder_config": null,
107
+ "labels_encoder": null,
108
+ "labels_encoder_config": null,
109
+ "log_dir": "/content/drive/MyDrive/mdoels_1610",
110
+ "loss_alpha": 0.75,
111
+ "loss_gamma": 2.0,
112
+ "loss_prob_margin": 0.0,
113
+ "loss_reduction": "sum",
114
+ "lr_encoder": 5e-06,
115
+ "lr_others": 1e-05,
116
+ "masking": 0.0,
117
+ "max_grad_norm": 1.0,
118
+ "max_len": 384,
119
+ "max_neg_type_ratio": 1,
120
+ "max_neg_type_weight": 5,
121
+ "max_seq_len": 384,
122
+ "max_types": 25,
123
+ "max_width": 12,
124
+ "model_name": "microsoft/deberta-v3-large",
125
+ "model_type": "gliner",
126
+ "name": "span level gliner",
127
+ "negatives": 1.0,
128
+ "num_post_fusion_layers": 1,
129
+ "num_steps": 40000,
130
+ "post_fusion_schema": "",
131
+ "prev_path": null,
132
+ "save_total_limit": 2,
133
+ "scheduler_type": "linear",
134
+ "sep_token": "<sep>",
135
+ "span_mode": "token_level",
136
+ "subtoken_pooling": "first",
137
+ "train_batch_size": 8,
138
+ "train_data": "/content/drive/MyDrive/Untitled Folder/training_data_15_oct.jsonl",
139
+ "transformers_version": "4.51.0",
140
+ "vocab_size": 128003,
141
+ "warmup_ratio": 0.1,
142
+ "weight_decay_encoder": 0.01,
143
+ "weight_decay_other": 0.01,
144
+ "words_splitter_type": "whitespace"
145
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb0865f582e6099f2bde68c89b373ec77b5676d75161ec4fc69ead4706c6e31a
3
+ size 3460607744
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17eadb35e36fb19a2415491572f3999abfbfebd47ed991de950976e26dfc6b17
3
+ size 1761026919
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": {
9
+ "content": "[UNK]",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ }
15
+ }
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
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[CLS]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[SEP]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[UNK]",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "128000": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "128001": {
45
+ "content": "<ent>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "128002": {
53
+ "content": "<sep>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ }
60
+ },
61
+ "bos_token": "[CLS]",
62
+ "clean_up_tokenization_spaces": false,
63
+ "cls_token": "[CLS]",
64
+ "do_lower_case": false,
65
+ "eos_token": "[SEP]",
66
+ "extra_special_tokens": {},
67
+ "mask_token": "[MASK]",
68
+ "model_max_length": 1000000000000000019884624838656,
69
+ "pad_token": "[PAD]",
70
+ "sep_token": "[SEP]",
71
+ "sp_model_kwargs": {},
72
+ "split_by_punct": false,
73
+ "tokenizer_class": "DebertaV2Tokenizer",
74
+ "unk_token": "[UNK]",
75
+ "vocab_type": "spm"
76
+ }