cbert / config.json
yonichi's picture
Update config.json
c21c704
{
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"auto_map": {
"AutoConfig": "configuration_cbert.BertCustomConfig",
"AutoModelForSequenceClassification": "model_cbert.BertSentiment"
},
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"hyperparams": {
"batch_size": 32,
"lr_bert": 1.3381477872420105e-05,
"lr_dense": 1.1619234627185892e-05,
"max_length": 512,
"model_name": "Transformer",
"n_epochs": 50,
"num_labels": 3,
"w_decay": 0.15190379301303872,
"warmup": 0.017012007455465432
},
"id2label": {
"0": "Neutral",
"1": "Hawkish",
"2": "Dovish"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"negative": 2,
"neutral": 0,
"positive": 1
},
"layer_norm_eps": 1e-12,
"max_length": 512,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.17.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30873
}