step1_shanshan / config.json
Shanny's picture
Upload LongformerForTokenClassification
d402b02
{
"_name_or_path": "./step1_shanshan",
"architectures": [
"LongformerForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"attention_window": [
40,
40,
40,
40
],
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 256,
"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",
"8": "LABEL_8",
"9": "LABEL_9",
"10": "LABEL_10"
},
"initializer_range": 0.02,
"intermediate_size": 512,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1,
"LABEL_10": 10,
"LABEL_2": 2,
"LABEL_3": 3,
"LABEL_4": 4,
"LABEL_5": 5,
"LABEL_6": 6,
"LABEL_7": 7,
"LABEL_8": 8,
"LABEL_9": 9
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 16384,
"model_type": "longformer",
"num_attention_heads": 4,
"num_hidden_layers": 4,
"onnx_export": false,
"pad_token_id": 1,
"position_embedding_type": "relative_key_query",
"sep_token_id": 2,
"torch_dtype": "float32",
"transformers_version": "4.23.1",
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 3634
}