system HF staff commited on
Commit
ef7005c
1 Parent(s): 710676a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +27 -30
config.json CHANGED
@@ -1,48 +1,45 @@
1
  {
 
2
  "architectures": [
3
  "XLMRobertaForMaskedLM"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
- "finetuning_task": null,
 
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 1024,
10
- "id2label" : {
11
- "0" : "B-LOC",
12
- "1" : "B-MISC",
13
- "2" : "B-ORG",
14
- "3" : "B-PER",
15
- "4" : "I-LOC",
16
- "5" : "I-MISC",
17
- "6" : "I-ORG",
18
- "7" : "I-PER",
19
- "8" : "O"
20
- },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 4096,
23
- "is_decoder": false,
24
- "label2id" : {
25
- "B-LOC" : 0,
26
- "B-MISC" : 1,
27
- "B-ORG" : 2,
28
- "B-PER" : 3,
29
- "I-LOC" : 4,
30
- "I-MISC" : 5,
31
- "I-ORG" : 6,
32
- "I-PER" : 7,
33
- "O" : 8
34
- },
35
  "layer_norm_eps": 1e-05,
36
  "max_position_embeddings": 514,
 
37
  "num_attention_heads": 16,
38
  "num_hidden_layers": 24,
39
- "num_labels": 9,
40
- "output_attentions": false,
41
- "output_hidden_states": false,
42
  "output_past": true,
43
- "pruned_heads": {},
44
- "torchscript": false,
45
  "type_vocab_size": 1,
46
- "use_bfloat16": false,
47
  "vocab_size": 250002
48
  }
 
1
  {
2
+ "_num_labels": 9,
3
  "architectures": [
4
  "XLMRobertaForMaskedLM"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "eos_token_id": 2,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 1024,
12
+ "id2label": {
13
+ "0": "B-LOC",
14
+ "1": "B-MISC",
15
+ "2": "B-ORG",
16
+ "3": "B-PER",
17
+ "4": "I-LOC",
18
+ "5": "I-MISC",
19
+ "6": "I-ORG",
20
+ "7": "I-PER",
21
+ "8": "O"
22
+ },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 4096,
25
+ "label2id": {
26
+ "B-LOC": 0,
27
+ "B-MISC": 1,
28
+ "B-ORG": 2,
29
+ "B-PER": 3,
30
+ "I-LOC": 4,
31
+ "I-MISC": 5,
32
+ "I-ORG": 6,
33
+ "I-PER": 7,
34
+ "O": 8
35
+ },
 
36
  "layer_norm_eps": 1e-05,
37
  "max_position_embeddings": 514,
38
+ "model_type": "xlm-roberta",
39
  "num_attention_heads": 16,
40
  "num_hidden_layers": 24,
 
 
 
41
  "output_past": true,
42
+ "pad_token_id": 1,
 
43
  "type_vocab_size": 1,
 
44
  "vocab_size": 250002
45
  }