kurianbenoy commited on
Commit
31d2a98
1 Parent(s): 90a0b2c

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +47 -37
config.json CHANGED
@@ -1,48 +1,58 @@
1
  {
2
- "_name_or_path": "bert-base-cased",
 
 
 
 
3
  "architectures": [
4
- "BertForTokenClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.1,
7
- "classifier_dropout": null,
8
- "gradient_checkpointing": false,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 768,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  "id2label": {
13
- "0": "O",
14
- "1": "B-PER",
15
- "2": "I-PER",
16
- "3": "B-ORG",
17
- "4": "I-ORG",
18
- "5": "B-LOC",
19
- "6": "I-LOC",
20
- "7": "B-MISC",
21
- "8": "I-MISC"
22
  },
23
- "initializer_range": 0.02,
24
- "intermediate_size": 3072,
25
  "label2id": {
26
- "B-LOC": "5",
27
- "B-MISC": "7",
28
- "B-ORG": "3",
29
- "B-PER": "1",
30
- "I-LOC": "6",
31
- "I-MISC": "8",
32
- "I-ORG": "4",
33
- "I-PER": "2",
34
- "O": "0"
35
  },
36
- "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
- "model_type": "bert",
39
- "num_attention_heads": 12,
40
- "num_hidden_layers": 12,
41
- "pad_token_id": 0,
42
- "position_embedding_type": "absolute",
 
 
 
43
  "torch_dtype": "float32",
44
- "transformers_version": "4.16.2",
45
- "type_vocab_size": 2,
46
  "use_cache": true,
47
- "vocab_size": 28996
48
  }
 
1
  {
2
+ "_name_or_path": "Helsinki-NLP/opus-mt-en-ml",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "swish",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
  "architectures": [
8
+ "MarianMTModel"
9
  ],
10
+ "attention_dropout": 0.0,
11
+ "bad_words_ids": [
12
+ [
13
+ 24660
14
+ ]
15
+ ],
16
+ "bos_token_id": 0,
17
+ "classif_dropout": 0.0,
18
+ "classifier_dropout": 0.0,
19
+ "d_model": 512,
20
+ "decoder_attention_heads": 8,
21
+ "decoder_ffn_dim": 2048,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 6,
24
+ "decoder_start_token_id": 24660,
25
+ "dropout": 0.1,
26
+ "encoder_attention_heads": 8,
27
+ "encoder_ffn_dim": 2048,
28
+ "encoder_layerdrop": 0.0,
29
+ "encoder_layers": 6,
30
+ "eos_token_id": 0,
31
+ "forced_eos_token_id": 0,
32
  "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1",
35
+ "2": "LABEL_2"
 
 
 
 
 
 
36
  },
37
+ "init_std": 0.02,
38
+ "is_encoder_decoder": true,
39
  "label2id": {
40
+ "LABEL_0": 0,
41
+ "LABEL_1": 1,
42
+ "LABEL_2": 2
 
 
 
 
 
 
43
  },
44
+ "max_length": 512,
45
  "max_position_embeddings": 512,
46
+ "model_type": "marian",
47
+ "normalize_before": false,
48
+ "normalize_embedding": false,
49
+ "num_beams": 4,
50
+ "num_hidden_layers": 6,
51
+ "pad_token_id": 24660,
52
+ "scale_embedding": true,
53
+ "static_position_embeddings": true,
54
  "torch_dtype": "float32",
55
+ "transformers_version": "4.17.0",
 
56
  "use_cache": true,
57
+ "vocab_size": 24661
58
  }