billfass commited on
Commit
22bd428
·
1 Parent(s): 6239143

Initial commit of BertModel and tokenizer

Browse files
Files changed (1) hide show
  1. config.json +33 -37
config.json CHANGED
@@ -1,38 +1,34 @@
1
  {
2
- "_num_labels": 5,
3
- "architectures": [
4
- "BertModel"
5
- ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "directionality": "bidi",
8
- "finetuning_task": "sentiment-analysis",
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
12
- "id2label": {
13
- "0": "1 star",
14
- "1": "2 stars",
15
- "2": "3 stars"
16
- },
17
- "initializer_range": 0.02,
18
- "intermediate_size": 3072,
19
- "label2id": {
20
- "1 star": 0,
21
- "2 stars": 1,
22
- "3 stars": 2
23
- },
24
- "layer_norm_eps": 1e-12,
25
- "max_position_embeddings": 512,
26
- "model_type": "bert",
27
- "num_attention_heads": 12,
28
- "num_hidden_layers": 12,
29
- "output_past": true,
30
- "pad_token_id": 0,
31
- "pooler_fc_size": 768,
32
- "pooler_num_attention_heads": 12,
33
- "pooler_num_fc_layers": 3,
34
- "pooler_size_per_head": 128,
35
- "pooler_type": "first_token_transform",
36
- "type_vocab_size": 2,
37
- "vocab_size": 105879
38
- }
 
1
  {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "gradient_checkpointing": false,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_norm_eps": 1e-12,
13
+ "max_position_embeddings": 512,
14
+ "model_type": "bert",
15
+ "num_attention_heads": 12,
16
+ "num_hidden_layers": 12,
17
+ "pad_token_id": 0,
18
+ "type_vocab_size": 2,
19
+ "vocab_size": 119547,
20
+ "model_name_or_path": "bert-base-multilingual-cased",
21
+ "num_labels": 3,
22
+ "finetuning_task": "text_classification",
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2"
27
+ },
28
+ "label2id": {
29
+ "LABEL_0": 0,
30
+ "LABEL_1": 1,
31
+ "LABEL_2": 2
32
+ }
33
+ }
34
+