bert_small_uncased_512 / config.json
autonomous019's picture
updated labels
d4ca217
raw
history blame contribute delete
946 Bytes
{
"_name_or_path": "google/bert_uncased_L-4_H-512_A-8",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 512,
"id2label": {
"0": "cohesion",
"1": "syntax",
"2": "vocabulary",
"3": "phraseology",
"4": "grammar",
"5": "conventions"
},
"initializer_range": 0.02,
"intermediate_size": 2048,
"label2id": {
"cohesion": 0,
"syntax": 1,
"vocabulary": 2,
"phraseology": 3,
"grammar": 4,
"convention": 5
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 8,
"num_hidden_layers": 4,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.21.3",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}