vijay_update_model (#2)
Browse files- Restructure drug-combo-extraction model (e064b48c54792b326a8719e004b2db8ff20b4dac)
- Add raw model files (429dbb4412f88c0b5f878c08ea1222f2bbaa5869)
- Add model.chkpt (2bb541e3ed22c2d19a76bff6bc5ff4c94700e7fc)
- Untrack model.chkpt (e512424bc0d8cf37064ea1372af747e3b5b73a78)
- Track model.chkpt (49f9e66fd7b793ec7110a236a8cef8cee1d25754)
.gitattributes
CHANGED
@@ -25,3 +25,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
model.chkpt filter=lfs diff=lfs merge=lfs -text
|
config.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "allenai/drug_combinations_lm_pubmedbert",
|
3 |
+
"architectures": [
|
4 |
+
"BertForRelation"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 3072,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "bert",
|
17 |
+
"num_attention_heads": 12,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"torch_dtype": "float32",
|
22 |
+
"transformers_version": "4.7.0",
|
23 |
+
"type_vocab_size": 2,
|
24 |
+
"use_cache": true,
|
25 |
+
"vocab_size": 30524
|
26 |
+
}
|
continued_pretraining_directory_pubmedbert_10_epochs.tgz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:5c7ce9b57b61dcc53cf5a690deddb1d9ce292dc953b6638630fdc16a971f6f5e
|
3 |
-
size 1627460828
|
|
|
|
|
|
|
|
metadata.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"model_name": "allenai/drug_combinations_lm_pubmedbert", "max_seq_length": 512, "num_labels": 3, "label2idx": {"POS": 2, "COMB": 1, "NEG": 1, "NO_COMB": 0}, "add_no_combination_relations": true, "only_include_binary_no_comb_relations": false, "include_paragraph_context": true, "context_window_size": 400}
|
checkpoints_pubmedbert_cpt_2021_three_class.tgz → pytorch_model.bin
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:425517163bc454329a05e676e7b1a509849584d03e1ba0df37b31a65ecae7519
|
3 |
+
size 438032361
|