emilys commited on
Commit
d6b7dbf
1 Parent(s): 0266004
Files changed (1) hide show
  1. config.json +51 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-location",
16
+ "1": "B-misc",
17
+ "2": "B-organization",
18
+ "3": "B-person",
19
+ "4": "I-location",
20
+ "5": "I-misc",
21
+ "6": "I-organization",
22
+ "7": "I-person",
23
+ "8": "O"
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "B-location": 0,
29
+ "B-misc": 1,
30
+ "B-organization": 2,
31
+ "B-person": 3,
32
+ "I-location": 4,
33
+ "I-misc": 5,
34
+ "I-organization": 6,
35
+ "I-person": 7,
36
+ "O": 8
37
+ },
38
+ "layer_norm_eps": 1e-05,
39
+ "max_position_embeddings": 130,
40
+ "model_type": "roberta",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 1,
44
+ "position_embedding_type": "absolute",
45
+ "tokenizer_class": "BertweetTokenizer",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.19.4",
48
+ "type_vocab_size": 1,
49
+ "use_cache": true,
50
+ "vocab_size": 64001
51
+ }