{ "model_type": "bert", "architectures": [ "BertForTokenClassification" ], "task_type": "token-classification", "num_labels": 5, "label2id": { "O": 0, "B-METAPHOR": 1, "I-METAPHOR": 2, "B-SIMILE": 3, "I-SIMILE": 4 }, "id2label": { "0": "O", "1": "B-METAPHOR", "2": "I-METAPHOR", "3": "B-SIMILE", "4": "I-SIMILE" }, "hidden_size": 768, "num_attention_heads": 12, "num_hidden_layers": 12, "intermediate_size": 3072, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "attention_probs_dropout_prob": 0.1, "max_position_embeddings": 512, "vocab_size": 30522, "type_vocab_size": 2, "initializer_range": 0.02, "layer_norm_eps": 1e-12, "pad_token_id": 0, "transformers_version": "4.57.6" }