File size: 1,538 Bytes
aecf9ec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
{
"_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": "Justice Breyer",
"1": "Justice Ginsburg",
"10": "Justice Alito",
"11": "Justice Sotomayor",
"12": "Justice Roberts",
"2": "Justice Kennedy",
"3": "Justice O'Connor",
"4": "Justice Rehnquist",
"5": "Justice Scalia",
"6": "Justice Souter",
"7": "Justice Stevens",
"8": "Justice Thomas",
"9": "Justice Kagan"
},
"initializer_range": 0.02,
"intermediate_size": 2048,
"label2id": {
"Justice Alito": 10,
"Justice Breyer": 0,
"Justice Ginsburg": 1,
"Justice Kagan": 9,
"Justice Kennedy": 2,
"Justice O'Connor": 3,
"Justice Rehnquist": 4,
"Justice Roberts": 12,
"Justice Scalia": 5,
"Justice Sotomayor": 11,
"Justice Souter": 6,
"Justice Stevens": 7,
"Justice Thomas": 8,
"per_curiam": 100
},
"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.33.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 30522
}
|