Shideh Almasian
commited on
Commit
•
3376c91
1
Parent(s):
5bb7648
add model
Browse files- config.json +49 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/export/data/salmasia/numbert/fine_tune/bert_tagging_with_date_layer_8epochs/bert_tagging_with_date_layer_seed_19",
|
3 |
+
"architectures": [
|
4 |
+
"CustomBertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"date_hidden_size": 16,
|
8 |
+
"date_max_position_embeddings": 8,
|
9 |
+
"date_vocab_size": 27,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B-DATE",
|
16 |
+
"1": "B-DURATION",
|
17 |
+
"2": "B-SET",
|
18 |
+
"3": "B-TIME",
|
19 |
+
"4": "I-DATE",
|
20 |
+
"5": "I-DURATION",
|
21 |
+
"6": "I-SET",
|
22 |
+
"7": "I-TIME",
|
23 |
+
"8": "O"
|
24 |
+
},
|
25 |
+
"initializer_range": 0.02,
|
26 |
+
"intermediate_size": 3072,
|
27 |
+
"label2id": {
|
28 |
+
"B-DATE": 0,
|
29 |
+
"B-DURATION": 1,
|
30 |
+
"B-SET": 2,
|
31 |
+
"B-TIME": 3,
|
32 |
+
"I-DATE": 4,
|
33 |
+
"I-DURATION": 5,
|
34 |
+
"I-SET": 6,
|
35 |
+
"I-TIME": 7,
|
36 |
+
"O": 8
|
37 |
+
},
|
38 |
+
"layer_norm_eps": 1e-12,
|
39 |
+
"max_position_embeddings": 512,
|
40 |
+
"model_type": "bert",
|
41 |
+
"num_attention_heads": 12,
|
42 |
+
"num_hidden_layers": 12,
|
43 |
+
"pad_token_id": 0,
|
44 |
+
"position_embedding_type": "absolute",
|
45 |
+
"transformers_version": "4.7.0.dev0",
|
46 |
+
"type_vocab_size": 2,
|
47 |
+
"use_cache": true,
|
48 |
+
"vocab_size": 30522
|
49 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cbb08f27cb4ac7259eeff271bcfe86936edad050d6fe328f479c0e1a261635db
|
3 |
+
size 435686774
|