system HF staff commited on
Commit
1a7e772
1 Parent(s): a8e15b7

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -18
config.json CHANGED
@@ -1,11 +1,11 @@
1
  {
 
2
  "architectures": [
3
  "RobertaForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
7
- "do_sample": false,
8
- "finetuning_task": null,
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
@@ -19,7 +19,6 @@
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
- "is_decoder": false,
23
  "label2id": {
24
  "ADJ": 2,
25
  "ADV": 3,
@@ -29,25 +28,12 @@
29
  "VERB": 4
30
  },
31
  "layer_norm_eps": 1e-05,
32
- "length_penalty": 1.0,
33
- "max_length": 20,
34
  "max_position_embeddings": 514,
35
  "model_type": "roberta",
36
  "num_attention_heads": 12,
37
- "num_beams": 1,
38
  "num_hidden_layers": 6,
39
- "num_labels": 6,
40
- "num_return_sequences": 1,
41
- "output_attentions": false,
42
- "output_hidden_states": false,
43
  "output_past": true,
44
- "pruned_heads": {},
45
- "repetition_penalty": 1.0,
46
- "temperature": 1.0,
47
- "top_k": 50,
48
- "top_p": 1.0,
49
- "torchscript": false,
50
  "type_vocab_size": 1,
51
- "use_bfloat16": false,
52
  "vocab_size": 52000
53
- }
 
1
  {
2
+ "_num_labels": 6,
3
  "architectures": [
4
  "RobertaForTokenClassification"
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": 768,
 
19
  },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
 
22
  "label2id": {
23
  "ADJ": 2,
24
  "ADV": 3,
 
28
  "VERB": 4
29
  },
30
  "layer_norm_eps": 1e-05,
 
 
31
  "max_position_embeddings": 514,
32
  "model_type": "roberta",
33
  "num_attention_heads": 12,
 
34
  "num_hidden_layers": 6,
 
 
 
 
35
  "output_past": true,
36
+ "pad_token_id": 1,
 
 
 
 
 
37
  "type_vocab_size": 1,
 
38
  "vocab_size": 52000
39
+ }