{ | |
"_name_or_path": "nlpaueb/legal-bert-small-uncased", | |
"architectures": [ | |
"BertForSequenceClassification" | |
], | |
"attention_probs_dropout_prob": 0.1, | |
"bos_token_id": 0, | |
"classifier_dropout": null, | |
"eos_token_ids": 0, | |
"hidden_act": "gelu", | |
"hidden_dropout_prob": 0.1, | |
"hidden_size": 512, | |
"id2label": { | |
"0": "Barrett", | |
"1": "Jackson", | |
"2": "Gorsuch", | |
"3": "Kavanaugh", | |
"4": "Alito", | |
"5": "Breyer", | |
"6": "Kagan", | |
"7": "Roberts", | |
"8": "Sotomayor", | |
"9": "Thomas", | |
"10": "Kennedy", | |
"11": "Ginsburg", | |
"12": "Scalia", | |
"13": "Stevens", | |
"14": "Rehnquist", | |
"15": "Souter", | |
"16": "O'Connor" | |
}, | |
"initializer_range": 0.02, | |
"intermediate_size": 2048, | |
"label2id": { | |
"Alito": 4, | |
"Barrett": 0, | |
"Breyer": 5, | |
"Ginsburg": 11, | |
"Gorsuch": 2, | |
"Jackson": 1, | |
"Kagan": 6, | |
"Kavanaugh": 3, | |
"Kennedy": 10, | |
"O'Connor": 16, | |
"Rehnquist": 14, | |
"Roberts": 7, | |
"Scalia": 12, | |
"Sotomayor": 8, | |
"Souter": 15, | |
"Stevens": 13, | |
"Thomas": 9 | |
}, | |
"layer_norm_eps": 1e-12, | |
"max_position_embeddings": 512, | |
"model_type": "bert", | |
"num_attention_heads": 8, | |
"num_hidden_layers": 6, | |
"output_past": true, | |
"pad_token_id": 0, | |
"position_embedding_type": "absolute", | |
"problem_type": "single_label_classification", | |
"torch_dtype": "float32", | |
"transformers_version": "4.38.0", | |
"type_vocab_size": 2, | |
"use_cache": true, | |
"vocab_size": 30522 | |
} | |