Commit
·
dccc1b7
1
Parent(s):
1b9e8b9
Upload BertForTokenClassification
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "/home/is473/rds/hpc-work/4X1/ComingSoon/Experiments/mbert_classification_ts_batch16_lr3e-5_epochs3_wd/models/checkpoint-789",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"BertForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"directionality": "bidi",
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.1,
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "D",
|
| 14 |
+
"1": "M",
|
| 15 |
+
"2": "E",
|
| 16 |
+
"3": "O",
|
| 17 |
+
"4": "E",
|
| 18 |
+
"5": "D",
|
| 19 |
+
"6": "D"
|
| 20 |
+
},
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 3072,
|
| 23 |
+
"label2id": {
|
| 24 |
+
"D": 0,
|
| 25 |
+
"E": 2,
|
| 26 |
+
"M": 1,
|
| 27 |
+
"O": 3,
|
| 28 |
+
"SD": 5,
|
| 29 |
+
"SE": 4,
|
| 30 |
+
"SO": 6
|
| 31 |
+
},
|
| 32 |
+
"layer_norm_eps": 1e-12,
|
| 33 |
+
"max_position_embeddings": 512,
|
| 34 |
+
"model_type": "bert",
|
| 35 |
+
"num_attention_heads": 12,
|
| 36 |
+
"num_hidden_layers": 12,
|
| 37 |
+
"pad_token_id": 0,
|
| 38 |
+
"pooler_fc_size": 768,
|
| 39 |
+
"pooler_num_attention_heads": 12,
|
| 40 |
+
"pooler_num_fc_layers": 3,
|
| 41 |
+
"pooler_size_per_head": 128,
|
| 42 |
+
"pooler_type": "first_token_transform",
|
| 43 |
+
"position_embedding_type": "absolute",
|
| 44 |
+
"torch_dtype": "float32",
|
| 45 |
+
"transformers_version": "4.26.0",
|
| 46 |
+
"type_vocab_size": 2,
|
| 47 |
+
"use_cache": true,
|
| 48 |
+
"vocab_size": 119547
|
| 49 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6479d3a3ea11cc8324fb8e7acffd95c83a0a7aa0e1084c37e2a56bce64a0f17d
|
| 3 |
+
size 709140529
|