formatter / config.json
guihassen's picture
Formatter v2
5b2d4ae verified
Raw History Blame Contribute Delete
985 Bytes
{
"add_cross_attention": false,
"architectures": [
"BertForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 384,
"id2label": {
"0": "KEEP_NONE",
"1": "KEEP_COMMA",
"2": "KEEP_PERIOD",
"3": "KEEP_QUESTION",
"4": "DELETE"
},
"initializer_range": 0.02,
"intermediate_size": 1536,
"is_decoder": false,
"label2id": {
"DELETE": 4,
"KEEP_COMMA": 1,
"KEEP_NONE": 0,
"KEEP_PERIOD": 2,
"KEEP_QUESTION": 3
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"tie_word_embeddings": true,
"tokenizer_class": "XLMRobertaTokenizer",
"transformers_version": "5.22.2",
"type_vocab_size": 2,
"use_cache": false,
"vocab_size": 250037
}