add model
Browse files- config.json +61 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta_large/best_model",
|
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 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "B-corporation",
|
15 |
+
"1": "B-creative_work",
|
16 |
+
"2": "B-event",
|
17 |
+
"3": "B-group",
|
18 |
+
"4": "B-location",
|
19 |
+
"5": "B-person",
|
20 |
+
"6": "B-product",
|
21 |
+
"7": "I-corporation",
|
22 |
+
"8": "I-creative_work",
|
23 |
+
"9": "I-event",
|
24 |
+
"10": "I-group",
|
25 |
+
"11": "I-location",
|
26 |
+
"12": "I-person",
|
27 |
+
"13": "I-product",
|
28 |
+
"14": "O"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 4096,
|
32 |
+
"label2id": {
|
33 |
+
"B-corporation": 0,
|
34 |
+
"B-creative_work": 1,
|
35 |
+
"B-event": 2,
|
36 |
+
"B-group": 3,
|
37 |
+
"B-location": 4,
|
38 |
+
"B-person": 5,
|
39 |
+
"B-product": 6,
|
40 |
+
"I-corporation": 7,
|
41 |
+
"I-creative_work": 8,
|
42 |
+
"I-event": 9,
|
43 |
+
"I-group": 10,
|
44 |
+
"I-location": 11,
|
45 |
+
"I-person": 12,
|
46 |
+
"I-product": 13,
|
47 |
+
"O": 14
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-05,
|
50 |
+
"max_position_embeddings": 514,
|
51 |
+
"model_type": "roberta",
|
52 |
+
"num_attention_heads": 16,
|
53 |
+
"num_hidden_layers": 24,
|
54 |
+
"pad_token_id": 1,
|
55 |
+
"position_embedding_type": "absolute",
|
56 |
+
"torch_dtype": "float32",
|
57 |
+
"transformers_version": "4.17.0",
|
58 |
+
"type_vocab_size": 1,
|
59 |
+
"use_cache": true,
|
60 |
+
"vocab_size": 50265
|
61 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf7a566c776e67b7048827bb20ebc92881a51dbb1febdbf40bebd61053639fa8
|
3 |
+
size 1417461873
|