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