| { | |
| "_name_or_path": "leireher/BookGenrePredictionDBERT", | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForSequenceClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "hidden_dim": 3072, | |
| "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, | |
| "label2id": { | |
| "adventure": 6, | |
| "childrens": 9, | |
| "fantasy": 2, | |
| "fiction": 0, | |
| "historical": 7, | |
| "mystery": 5, | |
| "nonfiction": 4, | |
| "paranormal": 8, | |
| "romance": 1, | |
| "young adult": 3 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "pad_token_id": 0, | |
| "problem_type": "multi_label_classification", | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.28.1", | |
| "vocab_size": 30522 | |
| } | |