terumi
commited on
Commit
•
05c1075
1
Parent(s):
8e7d14e
First version of biobertpt-bio model and tokenizer.
Browse files- config.json +57 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tf_model.h5 +3 -0
- tokenizer_config.json +1 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 2,
|
3 |
+
"architectures": [
|
4 |
+
"BertForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": null,
|
8 |
+
"directionality": "bidi",
|
9 |
+
"do_sample": false,
|
10 |
+
"early_stopping": false,
|
11 |
+
"eos_token_ids": null,
|
12 |
+
"finetuning_task": 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_decoder": false,
|
23 |
+
"is_encoder_decoder": false,
|
24 |
+
"label2id": {
|
25 |
+
"LABEL_0": 0,
|
26 |
+
"LABEL_1": 1
|
27 |
+
},
|
28 |
+
"layer_norm_eps": 1e-12,
|
29 |
+
"length_penalty": 1.0,
|
30 |
+
"max_length": 20,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"min_length": 0,
|
33 |
+
"model_type": "bert",
|
34 |
+
"no_repeat_ngram_size": 0,
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_beams": 1,
|
37 |
+
"num_hidden_layers": 12,
|
38 |
+
"num_return_sequences": 1,
|
39 |
+
"output_attentions": false,
|
40 |
+
"output_hidden_states": false,
|
41 |
+
"output_past": true,
|
42 |
+
"pad_token_id": null,
|
43 |
+
"pooler_fc_size": 768,
|
44 |
+
"pooler_num_attention_heads": 12,
|
45 |
+
"pooler_num_fc_layers": 3,
|
46 |
+
"pooler_size_per_head": 128,
|
47 |
+
"pooler_type": "first_token_transform",
|
48 |
+
"pruned_heads": {},
|
49 |
+
"repetition_penalty": 1.0,
|
50 |
+
"temperature": 1.0,
|
51 |
+
"top_k": 50,
|
52 |
+
"top_p": 1.0,
|
53 |
+
"torchscript": false,
|
54 |
+
"type_vocab_size": 2,
|
55 |
+
"use_bfloat16": false,
|
56 |
+
"vocab_size": 119547
|
57 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1af0dc85cb1752ddc8e2b9929fb9955e9cbf940f0e6688fffe5164383eb553a4
|
3 |
+
size 714311810
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbf9408fccd9895bb56f761fa16afa3aff4a89d8ac60d2e631ac05118f584c7f
|
3 |
+
size 711690400
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "max_len": 512}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|