lcampillos
commited on
Commit
•
dd79ff5
1
Parent(s):
95bdb0c
add model
Browse files- config.json +54 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-es-clinical-trials-temporal-ner",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"gradient_checkpointing": false,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B-Age",
|
16 |
+
"1": "I-Age",
|
17 |
+
"2": "B-Date",
|
18 |
+
"3": "I-Date",
|
19 |
+
"4": "B-Duration",
|
20 |
+
"5": "I-Duration",
|
21 |
+
"6": "B-Frequency",
|
22 |
+
"7": "I-Frequency",
|
23 |
+
"8": "B-Time",
|
24 |
+
"9": "I-Time",
|
25 |
+
"10": "O"
|
26 |
+
},
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"B-Age": 0,
|
31 |
+
"B-Date": 2,
|
32 |
+
"B-Duration": 4,
|
33 |
+
"B-Frequency": 6,
|
34 |
+
"B-Time": 8,
|
35 |
+
"I-Age": 1,
|
36 |
+
"I-Date": 3,
|
37 |
+
"I-Duration": 5,
|
38 |
+
"I-Frequency": 7,
|
39 |
+
"I-Time": 9,
|
40 |
+
"O": 10
|
41 |
+
},
|
42 |
+
"layer_norm_eps": 1e-05,
|
43 |
+
"max_position_embeddings": 514,
|
44 |
+
"model_type": "roberta",
|
45 |
+
"num_attention_heads": 12,
|
46 |
+
"num_hidden_layers": 12,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"position_embedding_type": "absolute",
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.16.2",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 50262
|
54 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:85d64986f646acb06b6cee06fcb2fb0821b4cf769d2383344da47c9aa271442d
|
3 |
+
size 496326705
|