asahi417 commited on
Commit
89488e6
1 Parent(s): 13d2d0f
Files changed (2) hide show
  1. config.json +63 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cner_output/model/baseline_2021/bertweet_base/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": 130,
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
+ "tokenizer_class": "BertweetTokenizer",
58
+ "torch_dtype": "float32",
59
+ "transformers_version": "4.17.0",
60
+ "type_vocab_size": 1,
61
+ "use_cache": true,
62
+ "vocab_size": 64001
63
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0fa0e284877dd585ffbe4ca4a73436c4a36cede2dd4d7f0f18bda9ed60519f1
3
+ size 537363441