chs-bert / config.json
sadickam's picture
Upload 6 files
1112edc verified
raw
history blame contribute delete
No virus
1.46 kB
{
"_name_or_path": "bert-base-uncased",
"_num_labels": 11,
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "caught in/between objects",
"1": "collapse of object",
"2": "electrocution",
"3": "exposure to chemical substances",
"4": "exposure to extreme temperatures",
"5": "falls",
"6": "fires and explosion",
"7": "others",
"8": "struck by falling object",
"9": "struck by moving objects",
"10": "traffic"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"caught in/between objects": 0,
"collapse of object": 1,
"electrocution": 2,
"exposure to chemical substances": 3,
"exposure to extreme temperatures": 4,
"falls": 5,
"fires and explosion": 6,
"others": 7,
"struck by falling object": 8,
"struck by moving objects": 9,
"traffic": 10
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.35.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}