a-mannion commited on
Commit
5c40101
·
verified ·
1 Parent(s): 34b7a28

Upload 6 files

Browse files
config.json CHANGED
@@ -1 +1,81 @@
1
- {"_name_or_path": "ap-mannion/kgi-bert-en", "activation": "gelu", "architectures": ["DistilBertModel"], "attention_dropout": 0.15, "dim": 768, "dropout": 0.05, "hidden_dim": 3072, "initializer_range": 0.02, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 12, "pad_token_id": 0, "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "torch_dtype": "float32", "transformers_version": "4.27.4", "vocab_size": 55013}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "return_dict": true,
3
+ "output_hidden_states": false,
4
+ "output_attentions": false,
5
+ "torchscript": false,
6
+ "torch_dtype": null,
7
+ "use_bfloat16": false,
8
+ "tf_legacy_loss": false,
9
+ "pruned_heads": {},
10
+ "tie_word_embeddings": true,
11
+ "is_encoder_decoder": false,
12
+ "is_decoder": false,
13
+ "cross_attention_hidden_size": null,
14
+ "add_cross_attention": false,
15
+ "tie_encoder_decoder": false,
16
+ "max_length": 20,
17
+ "min_length": 0,
18
+ "do_sample": false,
19
+ "early_stopping": false,
20
+ "num_beams": 1,
21
+ "num_beam_groups": 1,
22
+ "diversity_penalty": 0.0,
23
+ "temperature": 1.0,
24
+ "top_k": 50,
25
+ "top_p": 1.0,
26
+ "typical_p": 1.0,
27
+ "repetition_penalty": 1.0,
28
+ "length_penalty": 1.0,
29
+ "no_repeat_ngram_size": 0,
30
+ "encoder_no_repeat_ngram_size": 0,
31
+ "bad_words_ids": null,
32
+ "num_return_sequences": 1,
33
+ "chunk_size_feed_forward": 0,
34
+ "output_scores": false,
35
+ "return_dict_in_generate": false,
36
+ "forced_bos_token_id": null,
37
+ "forced_eos_token_id": null,
38
+ "remove_invalid_values": false,
39
+ "exponential_decay_length_penalty": null,
40
+ "suppress_tokens": null,
41
+ "begin_suppress_tokens": null,
42
+ "architectures": [
43
+ "DistilBertModel",
44
+ "DistilBertForMaskedLM"
45
+ ],
46
+ "finetuning_task": null,
47
+ "id2label": {
48
+ "0": "LABEL_0",
49
+ "1": "LABEL_1"
50
+ },
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1
54
+ },
55
+ "tokenizer_class": null,
56
+ "prefix": null,
57
+ "bos_token_id": null,
58
+ "pad_token_id": 0,
59
+ "eos_token_id": null,
60
+ "sep_token_id": null,
61
+ "decoder_start_token_id": null,
62
+ "task_specific_params": null,
63
+ "problem_type": null,
64
+ "_name_or_path": "somelog-experiments/models/base/kgi/kgi-bert-en-v2",
65
+ "transformers_version": "4.27.4",
66
+ "vocab_size": 55013,
67
+ "max_position_embeddings": 512,
68
+ "sinusoidal_pos_embds": false,
69
+ "n_layers": 8,
70
+ "n_heads": 8,
71
+ "dim": 768,
72
+ "hidden_dim": 2048,
73
+ "dropout": 0.05,
74
+ "attention_dropout": 0.15,
75
+ "activation": "gelu",
76
+ "initializer_range": 0.02,
77
+ "qa_dropout": 0.1,
78
+ "seq_classif_dropout": 0.2,
79
+ "model_type": "distilbert",
80
+ "layer_norm_eps": 1e-12
81
+ }
kgi_specific_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "num_labels_link_pred": 8,
3
+ "link_pred_dropout": 0.1,
4
+ "num_labels_triple_clf": 2,
5
+ "triple_clf_dropout": 0.1,
6
+ "task_weight_coefficients": [
7
+ 0.375,
8
+ 0.375,
9
+ 0.25
10
+ ],
11
+ "n_tasks": 4,
12
+ "_clf_classes": [
13
+ 55013,
14
+ 8,
15
+ 2,
16
+ 55013
17
+ ],
18
+ "_module_list": [
19
+ "lm_head",
20
+ "link_classifier",
21
+ "triple_classifier",
22
+ "lm_head"
23
+ ],
24
+ "_nonzero_task_weight_coefficients": [
25
+ 0.375,
26
+ 0.375,
27
+ 0.25
28
+ ]
29
+ }
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd58c0130aa99c26b2d316033f13855577244ac7b76bdcd9653511041e337fca
3
- size 510859549
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1e4e3fbf1af2a94ae3b655c60cffbd5842d5b785f890bf13c6ad54ae8044276
3
+ size 523417362
special_tokens_map.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "[RO]",
4
+ "[RN]",
5
+ "[RB]",
6
+ "[SY]",
7
+ "[CHD]",
8
+ "[PAR]",
9
+ "[AQ]",
10
+ "[QB]",
11
+ "[RQ]",
12
+ "[HREL]"
13
+ ],
14
+ "cls_token": "[CLS]",
15
+ "mask_token": "[MASK]",
16
+ "pad_token": "[PAD]",
17
+ "sep_token": "[SEP]",
18
+ "unk_token": "[UNK]"
19
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1 +1,11 @@
1
- {"name_or_path": "", "model_max_length": 1000000000000000019884624838656, "model_input_names": ["input_ids", "token_type_ids", "attention_mask"]}
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "model_max_length": 256,
5
+ "pad_token": "[PAD]",
6
+ "padding_side": "right",
7
+ "sep_token": "[SEP]",
8
+ "tokenizer_class": "PreTrainedTokenizerFast",
9
+ "truncation_side": "right",
10
+ "unk_token": "[UNK]"
11
+ }