|
{ |
|
"_name_or_path": "leireher/GenreBERT", |
|
"activation": "gelu", |
|
"architectures": [ |
|
"DistilBertForSequenceClassification" |
|
], |
|
"attention_dropout": 0.1, |
|
"attention_probs_dropout_prob": 0.1, |
|
"dim": 768, |
|
"dropout": 0.1, |
|
"gradient_checkpointing": false, |
|
"hidden_act": "gelu", |
|
"hidden_dim": 3072, |
|
"hidden_dropout_prob": 0.1, |
|
"id2label": { |
|
"0": "fiction", |
|
"1": "romance", |
|
"2": "fantasy", |
|
"3": "young adult", |
|
"4": "nonfiction", |
|
"5": "mystery", |
|
"6": "adventure", |
|
"7": "historical", |
|
"8": "paranormal", |
|
"9": "childrens" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"adventure": 6, |
|
"childrens": 9, |
|
"fantasy": 2, |
|
"fiction": 0, |
|
"historical": 7, |
|
"mystery": 5, |
|
"nonfiction": 4, |
|
"paranormal": 8, |
|
"romance": 1, |
|
"young adult": 3 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_position_embeddings": 512, |
|
"model_type": "distilbert", |
|
"n_heads": 12, |
|
"n_layers": 12, |
|
"pad_token_id": 0, |
|
"position_embedding_type": "absolute", |
|
"problem_type": "multi_label_classification", |
|
"qa_dropout": 0.1, |
|
"seq_classif_dropout": 0.2, |
|
"sinusoidal_pos_embds": false, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.28.1", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|