CAP_classifier / config.json
saroyehun's picture
Upload folder using huggingface_hub
040de39 verified
{
"_name_or_path": "FacebookAI/roberta-base",
"architectures": [
"RobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": 0.1,
"eos_token_id": 2,
"finetuning_task": "CAP",
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "1_Macroeconomics",
"1": "2_Civil Rights",
"2": "3_Health",
"3": "4_Agriculture",
"4": "5_Labor",
"5": "6_Education",
"6": "7_Environment",
"7": "8_Energy",
"8": "9_Immigration",
"9": "10_Transportation",
"10": "12_Law and Crime",
"11": "13_Social Welfare",
"12": "14_Housing",
"13": "15_Domestic Commerce",
"14": "16_Defense",
"15": "17_Technology",
"16": "18_Foreign Trade",
"17": "19_International Affairs",
"18": "20_Government Operations",
"19": "21_Public Lands",
"20": "99_Others"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"10_Transportation": 9,
"12_Law and Crime": 10,
"13_Social Welfare": 11,
"14_Housing": 12,
"15_Domestic Commerce": 13,
"16_Defense": 14,
"17_Technology": 15,
"18_Foreign Trade": 16,
"19_International Affairs": 17,
"1_Macroeconomics": 0,
"20_Government Operations": 18,
"21_Public Lands": 19,
"2_Civil Rights": 1,
"3_Health": 2,
"4_Agriculture": 3,
"5_Labor": 4,
"6_Education": 5,
"7_Environment": 6,
"8_Energy": 7,
"99_Others": 20,
"9_Immigration": 8
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "roberta",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.27.4",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 50265
}