parlbert-topic-german / config.json
chkla's picture
Update config.json
f38b2f4
raw
history blame
1.61 kB
{
"_name_or_path": "parlbert-topic-german",
"architectures": [
"BertForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"classifier_dropout": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "Macroeconomics",
"1": "Civil",
"2": "Health",
"3": "Agriculture",
"4": "Labor",
"5": "Education",
"6": "Environment",
"7": "Energy",
"8": "Immigration",
"9": "Transportation",
"10": "Law",
"11": "Social",
"12": "Housing",
"13": "Domestic",
"14": "Defense",
"15": "Technology",
"16": "Foreign",
"17": "International",
"18": "Government",
"19": "Public",
"20": "Culture"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Macroeconomics": 0,
"Civil": 1,
"Law": 10,
"Social": 11,
"Housing": 12,
"Domestic": 13,
"Defense": 14,
"Technology": 15,
"Foreign": 16,
"International": 17,
"Government": 18,
"Public": 19,
"Health": 2,
"Culture": 20,
"Agriculture": 3,
"Labor": 4,
"Education": 5,
"Environment": 6,
"Energy": 7,
"Immigration": 8,
"Transportation": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": "single_label_classification",
"torch_dtype": "float32",
"transformers_version": "4.16.2",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30000
}