File size: 3,374 Bytes
f546538 |
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 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
{
"activation_function": "gelu_new",
"architectures": [
"GPT2ForTokenClassification"
],
"attn_pdrop": 0.1,
"bos_token_id": 1,
"custom_pipelines": {
"upos": {
"impl": "upos.BellmanFordTokenClassificationPipeline",
"pt": "AutoModelForTokenClassification"
}
},
"embd_pdrop": 0.1,
"eos_token_id": 2,
"id2label": {
"0": "ADJ",
"1": "B-ADJ",
"2": "I-ADJ",
"3": "ADJ|Polarity=Neg",
"4": "B-ADJ|Polarity=Neg",
"5": "I-ADJ|Polarity=Neg",
"6": "ADP",
"7": "B-ADP",
"8": "I-ADP",
"9": "ADV",
"10": "B-ADV",
"11": "I-ADV",
"12": "AUX",
"13": "B-AUX",
"14": "I-AUX",
"15": "AUX|Polarity=Neg",
"16": "B-AUX|Polarity=Neg",
"17": "I-AUX|Polarity=Neg",
"18": "CCONJ",
"19": "B-CCONJ",
"20": "I-CCONJ",
"21": "DET",
"22": "B-DET",
"23": "I-DET",
"24": "INTJ",
"25": "B-INTJ",
"26": "I-INTJ",
"27": "NOUN",
"28": "B-NOUN",
"29": "I-NOUN",
"30": "NOUN|Polarity=Neg",
"31": "B-NOUN|Polarity=Neg",
"32": "I-NOUN|Polarity=Neg",
"33": "NUM",
"34": "B-NUM",
"35": "I-NUM",
"36": "PART",
"37": "B-PART",
"38": "I-PART",
"39": "PRON",
"40": "B-PRON",
"41": "I-PRON",
"42": "PROPN",
"43": "B-PROPN",
"44": "I-PROPN",
"45": "PUNCT",
"46": "B-PUNCT",
"47": "I-PUNCT",
"48": "SCONJ",
"49": "B-SCONJ",
"50": "I-SCONJ",
"51": "SYM",
"52": "B-SYM",
"53": "I-SYM",
"54": "VERB",
"55": "B-VERB",
"56": "I-VERB",
"57": "X",
"58": "B-X",
"59": "I-X"
},
"initializer_range": 0.02,
"label2id": {
"ADJ": 0,
"ADJ|Polarity=Neg": 3,
"ADP": 6,
"ADV": 9,
"AUX": 12,
"AUX|Polarity=Neg": 15,
"B-ADJ": 1,
"B-ADJ|Polarity=Neg": 4,
"B-ADP": 7,
"B-ADV": 10,
"B-AUX": 13,
"B-AUX|Polarity=Neg": 16,
"B-CCONJ": 19,
"B-DET": 22,
"B-INTJ": 25,
"B-NOUN": 28,
"B-NOUN|Polarity=Neg": 31,
"B-NUM": 34,
"B-PART": 37,
"B-PRON": 40,
"B-PROPN": 43,
"B-PUNCT": 46,
"B-SCONJ": 49,
"B-SYM": 52,
"B-VERB": 55,
"B-X": 58,
"CCONJ": 18,
"DET": 21,
"I-ADJ": 2,
"I-ADJ|Polarity=Neg": 5,
"I-ADP": 8,
"I-ADV": 11,
"I-AUX": 14,
"I-AUX|Polarity=Neg": 17,
"I-CCONJ": 20,
"I-DET": 23,
"I-INTJ": 26,
"I-NOUN": 29,
"I-NOUN|Polarity=Neg": 32,
"I-NUM": 35,
"I-PART": 38,
"I-PRON": 41,
"I-PROPN": 44,
"I-PUNCT": 47,
"I-SCONJ": 50,
"I-SYM": 53,
"I-VERB": 56,
"I-X": 59,
"INTJ": 24,
"NOUN": 27,
"NOUN|Polarity=Neg": 30,
"NUM": 33,
"PART": 36,
"PRON": 39,
"PROPN": 42,
"PUNCT": 45,
"SCONJ": 48,
"SYM": 51,
"VERB": 54,
"X": 57
},
"layer_norm_epsilon": 1e-05,
"model_type": "gpt2",
"n_embd": 768,
"n_head": 12,
"n_inner": null,
"n_layer": 12,
"n_positions": 1024,
"pad_token_id": 1,
"reorder_and_upcast_attn": false,
"resid_pdrop": 0.1,
"scale_attn_by_inverse_layer_idx": false,
"scale_attn_weights": true,
"summary_activation": null,
"summary_first_dropout": 0.1,
"summary_proj_to_labels": true,
"summary_type": "cls_index",
"summary_use_proj": true,
"tokenizer_class": "GPT2Tokenizer",
"torch_dtype": "float32",
"transformers_version": "4.40.1",
"use_cache": true,
"vocab_size": 6000
}
|