Best eval loss: 11.030856132507324
Browse files- .gitattributes +1 -0
- gliner_config.json +84 -0
- pytorch_model.bin +3 -0
- tokenizer.json +3 -0
- tokenizer_config.json +123 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ 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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
gliner_config.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"class_token_index": 250103,
|
| 3 |
+
"dropout": 0.4,
|
| 4 |
+
"embed_ent_token": true,
|
| 5 |
+
"encoder_config": {
|
| 6 |
+
"_name_or_path": "microsoft/mdeberta-v3-base",
|
| 7 |
+
"architectures": null,
|
| 8 |
+
"attention_probs_dropout_prob": 0.1,
|
| 9 |
+
"bos_token_id": null,
|
| 10 |
+
"chunk_size_feed_forward": 0,
|
| 11 |
+
"dtype": null,
|
| 12 |
+
"eos_token_id": null,
|
| 13 |
+
"hidden_act": "gelu",
|
| 14 |
+
"hidden_dropout_prob": 0.1,
|
| 15 |
+
"hidden_size": 768,
|
| 16 |
+
"id2label": {
|
| 17 |
+
"0": "LABEL_0",
|
| 18 |
+
"1": "LABEL_1"
|
| 19 |
+
},
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"intermediate_size": 3072,
|
| 22 |
+
"is_encoder_decoder": false,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"LABEL_0": 0,
|
| 25 |
+
"LABEL_1": 1
|
| 26 |
+
},
|
| 27 |
+
"layer_norm_eps": 1e-07,
|
| 28 |
+
"legacy": true,
|
| 29 |
+
"max_position_embeddings": 512,
|
| 30 |
+
"max_relative_positions": -1,
|
| 31 |
+
"model_type": "deberta-v2",
|
| 32 |
+
"norm_rel_ebd": "layer_norm",
|
| 33 |
+
"num_attention_heads": 12,
|
| 34 |
+
"num_hidden_layers": 12,
|
| 35 |
+
"output_attentions": false,
|
| 36 |
+
"output_hidden_states": false,
|
| 37 |
+
"pad_token_id": 0,
|
| 38 |
+
"pooler_dropout": 0,
|
| 39 |
+
"pooler_hidden_act": "gelu",
|
| 40 |
+
"pooler_hidden_size": 768,
|
| 41 |
+
"pos_att_type": [
|
| 42 |
+
"p2c",
|
| 43 |
+
"c2p"
|
| 44 |
+
],
|
| 45 |
+
"position_biased_input": false,
|
| 46 |
+
"position_buckets": 256,
|
| 47 |
+
"problem_type": null,
|
| 48 |
+
"relative_attention": true,
|
| 49 |
+
"return_dict": true,
|
| 50 |
+
"share_att_key": true,
|
| 51 |
+
"tie_word_embeddings": true,
|
| 52 |
+
"type_vocab_size": 0,
|
| 53 |
+
"vocab_size": 250105
|
| 54 |
+
},
|
| 55 |
+
"ent_token": "<<ENT>>",
|
| 56 |
+
"eval_every": 5000,
|
| 57 |
+
"fine_tune": true,
|
| 58 |
+
"fuse_layers": false,
|
| 59 |
+
"hidden_size": 512,
|
| 60 |
+
"lr_encoder": "1e-5",
|
| 61 |
+
"lr_others": "5e-5",
|
| 62 |
+
"max_len": 384,
|
| 63 |
+
"max_neg_type_ratio": 1,
|
| 64 |
+
"max_types": 25,
|
| 65 |
+
"max_width": 12,
|
| 66 |
+
"model_name": "microsoft/mdeberta-v3-base",
|
| 67 |
+
"model_type": null,
|
| 68 |
+
"name": "correct",
|
| 69 |
+
"num_post_fusion_layers": 1,
|
| 70 |
+
"num_rnn_layers": 1,
|
| 71 |
+
"num_steps": 30000,
|
| 72 |
+
"post_fusion_schema": "",
|
| 73 |
+
"random_drop": true,
|
| 74 |
+
"sep_token": "<<SEP>>",
|
| 75 |
+
"shuffle_types": true,
|
| 76 |
+
"size_sup": -1,
|
| 77 |
+
"span_mode": "markerV0",
|
| 78 |
+
"subtoken_pooling": "first",
|
| 79 |
+
"train_batch_size": 8,
|
| 80 |
+
"transformers_version": "5.0.0",
|
| 81 |
+
"vocab_size": 250105,
|
| 82 |
+
"warmup_ratio": 3000,
|
| 83 |
+
"words_splitter_type": "whitespace"
|
| 84 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be82b511247f455360b6eb09034c60f4ed12ce8321bb44b3edfee9d70b3be420
|
| 3 |
+
size 1155877731
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:878c7e496f4dfdb03194ba7ba49b67b5092da20221c41c8a3887e5bc07b76183
|
| 3 |
+
size 16033785
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": true,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "[CLS]",
|
| 5 |
+
"cls_token": "[CLS]",
|
| 6 |
+
"do_lower_case": false,
|
| 7 |
+
"eos_token": "[SEP]",
|
| 8 |
+
"extra_special_tokens": [
|
| 9 |
+
"[PAD]",
|
| 10 |
+
"[CLS]",
|
| 11 |
+
"[SEP]",
|
| 12 |
+
"β<extra_id_99>",
|
| 13 |
+
"β<extra_id_98>",
|
| 14 |
+
"β<extra_id_97>",
|
| 15 |
+
"β<extra_id_96>",
|
| 16 |
+
"β<extra_id_95>",
|
| 17 |
+
"β<extra_id_94>",
|
| 18 |
+
"β<extra_id_93>",
|
| 19 |
+
"β<extra_id_92>",
|
| 20 |
+
"β<extra_id_91>",
|
| 21 |
+
"β<extra_id_90>",
|
| 22 |
+
"β<extra_id_89>",
|
| 23 |
+
"β<extra_id_88>",
|
| 24 |
+
"β<extra_id_87>",
|
| 25 |
+
"β<extra_id_86>",
|
| 26 |
+
"β<extra_id_85>",
|
| 27 |
+
"β<extra_id_84>",
|
| 28 |
+
"β<extra_id_83>",
|
| 29 |
+
"β<extra_id_82>",
|
| 30 |
+
"β<extra_id_81>",
|
| 31 |
+
"β<extra_id_80>",
|
| 32 |
+
"β<extra_id_79>",
|
| 33 |
+
"β<extra_id_78>",
|
| 34 |
+
"β<extra_id_77>",
|
| 35 |
+
"β<extra_id_76>",
|
| 36 |
+
"β<extra_id_75>",
|
| 37 |
+
"β<extra_id_74>",
|
| 38 |
+
"β<extra_id_73>",
|
| 39 |
+
"β<extra_id_72>",
|
| 40 |
+
"β<extra_id_71>",
|
| 41 |
+
"β<extra_id_70>",
|
| 42 |
+
"β<extra_id_69>",
|
| 43 |
+
"β<extra_id_68>",
|
| 44 |
+
"β<extra_id_67>",
|
| 45 |
+
"β<extra_id_66>",
|
| 46 |
+
"β<extra_id_65>",
|
| 47 |
+
"β<extra_id_64>",
|
| 48 |
+
"β<extra_id_63>",
|
| 49 |
+
"β<extra_id_62>",
|
| 50 |
+
"β<extra_id_61>",
|
| 51 |
+
"β<extra_id_60>",
|
| 52 |
+
"β<extra_id_59>",
|
| 53 |
+
"β<extra_id_58>",
|
| 54 |
+
"β<extra_id_57>",
|
| 55 |
+
"β<extra_id_56>",
|
| 56 |
+
"β<extra_id_55>",
|
| 57 |
+
"β<extra_id_54>",
|
| 58 |
+
"β<extra_id_53>",
|
| 59 |
+
"β<extra_id_52>",
|
| 60 |
+
"β<extra_id_51>",
|
| 61 |
+
"β<extra_id_50>",
|
| 62 |
+
"β<extra_id_49>",
|
| 63 |
+
"β<extra_id_48>",
|
| 64 |
+
"β<extra_id_47>",
|
| 65 |
+
"β<extra_id_46>",
|
| 66 |
+
"β<extra_id_45>",
|
| 67 |
+
"β<extra_id_44>",
|
| 68 |
+
"β<extra_id_43>",
|
| 69 |
+
"β<extra_id_42>",
|
| 70 |
+
"β<extra_id_41>",
|
| 71 |
+
"β<extra_id_40>",
|
| 72 |
+
"β<extra_id_39>",
|
| 73 |
+
"β<extra_id_38>",
|
| 74 |
+
"β<extra_id_37>",
|
| 75 |
+
"β<extra_id_36>",
|
| 76 |
+
"β<extra_id_35>",
|
| 77 |
+
"β<extra_id_34>",
|
| 78 |
+
"β<extra_id_33>",
|
| 79 |
+
"β<extra_id_32>",
|
| 80 |
+
"β<extra_id_31>",
|
| 81 |
+
"β<extra_id_30>",
|
| 82 |
+
"β<extra_id_29>",
|
| 83 |
+
"β<extra_id_28>",
|
| 84 |
+
"β<extra_id_27>",
|
| 85 |
+
"β<extra_id_26>",
|
| 86 |
+
"β<extra_id_25>",
|
| 87 |
+
"β<extra_id_24>",
|
| 88 |
+
"β<extra_id_23>",
|
| 89 |
+
"β<extra_id_22>",
|
| 90 |
+
"β<extra_id_21>",
|
| 91 |
+
"β<extra_id_20>",
|
| 92 |
+
"β<extra_id_19>",
|
| 93 |
+
"β<extra_id_18>",
|
| 94 |
+
"β<extra_id_17>",
|
| 95 |
+
"β<extra_id_16>",
|
| 96 |
+
"β<extra_id_15>",
|
| 97 |
+
"β<extra_id_14>",
|
| 98 |
+
"β<extra_id_13>",
|
| 99 |
+
"β<extra_id_12>",
|
| 100 |
+
"β<extra_id_11>",
|
| 101 |
+
"β<extra_id_10>",
|
| 102 |
+
"β<extra_id_9>",
|
| 103 |
+
"β<extra_id_8>",
|
| 104 |
+
"β<extra_id_7>",
|
| 105 |
+
"β<extra_id_6>",
|
| 106 |
+
"β<extra_id_5>",
|
| 107 |
+
"β<extra_id_4>",
|
| 108 |
+
"β<extra_id_3>",
|
| 109 |
+
"β<extra_id_2>",
|
| 110 |
+
"β<extra_id_1>",
|
| 111 |
+
"β<extra_id_0>"
|
| 112 |
+
],
|
| 113 |
+
"is_local": true,
|
| 114 |
+
"mask_token": "[MASK]",
|
| 115 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 116 |
+
"pad_token": "[PAD]",
|
| 117 |
+
"sep_token": "[SEP]",
|
| 118 |
+
"split_by_punct": false,
|
| 119 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
| 120 |
+
"unk_id": 3,
|
| 121 |
+
"unk_token": "[UNK]",
|
| 122 |
+
"vocab_type": "spm"
|
| 123 |
+
}
|