lcampillos
commited on
Commit
•
d0071a7
1
Parent(s):
202d5fc
Upload RobertaForTokenClassification
Browse files- config.json +54 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EriBERTa-clinical-trials-temp-ents",
|
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.28.0",
|
51 |
+
"type_vocab_size": 1,
|
52 |
+
"use_cache": true,
|
53 |
+
"vocab_size": 64000
|
54 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:099ea60c1861f6ac9044cc3f494c3c4f1f877242cbd66d5395a6ecee664e95e9
|
3 |
+
size 538517869
|