{ | |
"_name_or_path": "small", | |
"architectures": [ | |
"T5ForTokenClassification" | |
], | |
"classifier_dropout": 0.0, | |
"d_ff": 2048, | |
"d_kv": 64, | |
"d_model": 512, | |
"decoder_start_token_id": 0, | |
"dense_act_fn": "relu", | |
"dropout_rate": 0.1, | |
"eos_token_id": 1, | |
"feed_forward_proj": "relu", | |
"gradient_checkpointing": false, | |
"id2label": { | |
"0": "LABEL_0", | |
"1": "LABEL_1", | |
"2": "LABEL_2", | |
"3": "LABEL_3", | |
"4": "LABEL_4", | |
"5": "LABEL_5", | |
"6": "LABEL_6", | |
"7": "LABEL_7" | |
}, | |
"initializer_factor": 1.0, | |
"inputs_length": 1024, | |
"is_encoder_decoder": true, | |
"is_gated_act": false, | |
"label2id": { | |
"LABEL_0": 0, | |
"LABEL_1": 1, | |
"LABEL_2": 2, | |
"LABEL_3": 3, | |
"LABEL_4": 4, | |
"LABEL_5": 5, | |
"LABEL_6": 6, | |
"LABEL_7": 7 | |
}, | |
"layer_norm_epsilon": 1e-06, | |
"model_type": "t5", | |
"n_positions": 1024, | |
"num_decoder_layers": 6, | |
"num_heads": 8, | |
"num_layers": 6, | |
"pad_token_id": 0, | |
"relative_attention_max_distance": 128, | |
"relative_attention_num_buckets": 32, | |
"rev_vocab": { | |
"OTHER": 0, | |
"event": 7, | |
"law": 1, | |
"location": 2, | |
"organization": 3, | |
"person": 4, | |
"quantity": 5, | |
"time": 6 | |
}, | |
"torch_dtype": "float32", | |
"transformers_version": "4.34.0.dev0", | |
"use_cache": false, | |
"vocab": { | |
"OTHER": 0, | |
"event": 7, | |
"law": 1, | |
"location": 2, | |
"organization": 3, | |
"person": 4, | |
"quantity": 5, | |
"time": 6 | |
}, | |
"vocab_size": 32103 | |
} | |