twitter-sentiment / config.json
abhishek's picture
abhishek HF staff
Commit From AutoNLP
9a5136e
raw
history blame
No virus
1.2 kB
{
"_name_or_path": "AutoNLP",
"_num_labels": 11,
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "cyclone",
"1": "earthquake",
"2": "explosion",
"3": "fire",
"4": "flood",
"5": "hurricane",
"6": "medical",
"7": "pollution",
"8": "tornado",
"9": "typhoon",
"10": "volcano"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"cyclone": 0,
"earthquake": 1,
"explosion": 2,
"fire": 3,
"flood": 4,
"hurricane": 5,
"medical": 6,
"pollution": 7,
"tornado": 8,
"typhoon": 9,
"volcano": 10
},
"layer_norm_eps": 1e-12,
"max_length": 256,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"padding": "max_length",
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"transformers_version": "4.8.0",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}