andrewzamai
commited on
Commit
•
252216b
1
Parent(s):
e521357
Upload folder using huggingface_hub
Browse files- added_tokens.json +5 -0
- gliner_config.json +46 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +15 -0
- spm.model +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +74 -0
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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"class_token_index": 128001,
|
3 |
+
"dropout": 0.4,
|
4 |
+
"encoder_config": null,
|
5 |
+
"ent_token": "<<ENT>>",
|
6 |
+
"eval_every": 10000,
|
7 |
+
"fine_tune": true,
|
8 |
+
"freeze_token_rep": false,
|
9 |
+
"has_rnn": true,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"label_smoothing": 0,
|
12 |
+
"log_dir": "GLINER_output",
|
13 |
+
"loss_alpha": -1,
|
14 |
+
"loss_gamma": 0,
|
15 |
+
"loss_reduction": "sum",
|
16 |
+
"lr_encoder": "1e-5",
|
17 |
+
"lr_others": "5e-5",
|
18 |
+
"max_grad_norm": 1.0,
|
19 |
+
"max_len": 384,
|
20 |
+
"max_neg_type_ratio": 1,
|
21 |
+
"max_types": 25,
|
22 |
+
"max_width": 12,
|
23 |
+
"model_name": "microsoft/deberta-v3-large",
|
24 |
+
"model_type": "gliner",
|
25 |
+
"name": "GLiNER_WN_trained",
|
26 |
+
"num_steps": 100000,
|
27 |
+
"prev_path": "none",
|
28 |
+
"random_drop": true,
|
29 |
+
"root_dir": "gliner_logs",
|
30 |
+
"save_total_limit": 3,
|
31 |
+
"scheduler_type": "cosine",
|
32 |
+
"sep_token": "<<SEP>>",
|
33 |
+
"shuffle_types": true,
|
34 |
+
"size_sup": -1,
|
35 |
+
"span_mode": "markerV0",
|
36 |
+
"subtoken_pooling": "first",
|
37 |
+
"train_batch_size": 8,
|
38 |
+
"train_data": "KIND_train_GLiNER_format.json",
|
39 |
+
"transformers_version": "4.41.2",
|
40 |
+
"val_data_dir": "KIND_validation_GLiNER_format.json",
|
41 |
+
"vocab_size": 128003,
|
42 |
+
"warmup_ratio": 0.1,
|
43 |
+
"weight_decay_encoder": 0.01,
|
44 |
+
"weight_decay_other": 0.01,
|
45 |
+
"words_splitter_type": "whitespace"
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5f6466e6e6a3fcf57b82c6452161640a1085e20b4b45ee35a99adfda71539c74
|
3 |
+
size 1838129390
|
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,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[CLS]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[SEP]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[UNK]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": true,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"128000": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"128001": {
|
44 |
+
"content": "<<ENT>>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"128002": {
|
52 |
+
"content": "<<SEP>>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
}
|
59 |
+
},
|
60 |
+
"bos_token": "[CLS]",
|
61 |
+
"clean_up_tokenization_spaces": true,
|
62 |
+
"cls_token": "[CLS]",
|
63 |
+
"do_lower_case": false,
|
64 |
+
"eos_token": "[SEP]",
|
65 |
+
"mask_token": "[MASK]",
|
66 |
+
"model_max_length": 1000000000000000019884624838656,
|
67 |
+
"pad_token": "[PAD]",
|
68 |
+
"sep_token": "[SEP]",
|
69 |
+
"sp_model_kwargs": {},
|
70 |
+
"split_by_punct": false,
|
71 |
+
"tokenizer_class": "DebertaV2Tokenizer",
|
72 |
+
"unk_token": "[UNK]",
|
73 |
+
"vocab_type": "spm"
|
74 |
+
}
|