emilys commited on
Commit
a34ae54
1 Parent(s): f773730
Files changed (1) hide show
  1. config.json +59 -0
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "vinai/bertweet-base",
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-group",
18
+ "3": "B-location",
19
+ "4": "B-person",
20
+ "5": "B-product",
21
+ "6": "I-corporation",
22
+ "7": "I-creative-work",
23
+ "8": "I-group",
24
+ "9": "I-location",
25
+ "10": "I-person",
26
+ "11": "I-product",
27
+ "12": "O"
28
+ },
29
+ "initializer_range": 0.02,
30
+ "intermediate_size": 3072,
31
+ "label2id": {
32
+ "B-corporation": 0,
33
+ "B-creative-work": 1,
34
+ "B-group": 2,
35
+ "B-location": 3,
36
+ "B-person": 4,
37
+ "B-product": 5,
38
+ "I-corporation": 6,
39
+ "I-creative-work": 7,
40
+ "I-group": 8,
41
+ "I-location": 9,
42
+ "I-person": 10,
43
+ "I-product": 11,
44
+ "O": 12
45
+ },
46
+ "layer_norm_eps": 1e-05,
47
+ "max_position_embeddings": 130,
48
+ "model_type": "roberta",
49
+ "num_attention_heads": 12,
50
+ "num_hidden_layers": 12,
51
+ "pad_token_id": 1,
52
+ "position_embedding_type": "absolute",
53
+ "tokenizer_class": "BertweetTokenizer",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.19.4",
56
+ "type_vocab_size": 1,
57
+ "use_cache": true,
58
+ "vocab_size": 64001
59
+ }