Upload BertForSequenceClassification
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "./relations14/results/relation14-large",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForSequenceClassification"
|
| 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": 1024,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "Temporal.Synchronous",
|
| 14 |
+
"1": "Temporal.Asynchronous.Precedence",
|
| 15 |
+
"2": "Temporal.Asynchronous.Succession",
|
| 16 |
+
"3": "Contingency.Cause.Result",
|
| 17 |
+
"4": "Comparison.Concession.Arg2-as-denier",
|
| 18 |
+
"5": "Comparison.Contrast",
|
| 19 |
+
"6": "Expansion.Conjunction",
|
| 20 |
+
"7": "Expansion.Equivalence",
|
| 21 |
+
"8": "Expansion.Exception.Arg1-as-excpt",
|
| 22 |
+
"9": "Expansion.Instantiation.Arg2-as-instance",
|
| 23 |
+
"10": "Expansion.Level-of-detail.Arg1-as-detail",
|
| 24 |
+
"11": "Expansion.Level-of-detail.Arg2-as-detail",
|
| 25 |
+
"12": "Expansion.Substitution.Arg2-as-subst",
|
| 26 |
+
"13": "[no connective]"
|
| 27 |
+
},
|
| 28 |
+
"initializer_range": 0.02,
|
| 29 |
+
"intermediate_size": 4096,
|
| 30 |
+
"label2id": {
|
| 31 |
+
"Comparison.Concession.Arg2-as-denier": 4,
|
| 32 |
+
"Comparison.Contrast": 5,
|
| 33 |
+
"Contingency.Cause.Result": 3,
|
| 34 |
+
"Expansion.Conjunction": 6,
|
| 35 |
+
"Expansion.Equivalence": 7,
|
| 36 |
+
"Expansion.Exception.Arg1-as-excpt": 8,
|
| 37 |
+
"Expansion.Instantiation.Arg2-as-instance": 9,
|
| 38 |
+
"Expansion.Level-of-detail.Arg1-as-detail": 10,
|
| 39 |
+
"Expansion.Level-of-detail.Arg2-as-detail": 11,
|
| 40 |
+
"Expansion.Substitution.Arg2-as-subst": 12,
|
| 41 |
+
"Temporal.Asynchronous.Precedence": 1,
|
| 42 |
+
"Temporal.Asynchronous.Succession": 2,
|
| 43 |
+
"Temporal.Synchronous": 0,
|
| 44 |
+
"[no connective]": 13
|
| 45 |
+
},
|
| 46 |
+
"layer_norm_eps": 1e-12,
|
| 47 |
+
"max_position_embeddings": 512,
|
| 48 |
+
"model_type": "bert",
|
| 49 |
+
"num_attention_heads": 16,
|
| 50 |
+
"num_hidden_layers": 24,
|
| 51 |
+
"pad_token_id": 0,
|
| 52 |
+
"position_embedding_type": "absolute",
|
| 53 |
+
"problem_type": "single_label_classification",
|
| 54 |
+
"torch_dtype": "float32",
|
| 55 |
+
"transformers_version": "4.22.0.dev0",
|
| 56 |
+
"type_vocab_size": 2,
|
| 57 |
+
"use_cache": true,
|
| 58 |
+
"vocab_size": 30522
|
| 59 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c200c7b49902aa4abb31f873d7c66ad53fee910e405a864e5fec01bce071ecc
|
| 3 |
+
size 1340758261
|