huseinzol05
commited on
Commit
•
50d08ea
1
Parent(s):
1e596d0
Upload T5ForTokenClassification
Browse files- config.json +109 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "small",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForTokenClassification"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2048,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 512,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "relu",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "relu",
|
15 |
+
"gradient_checkpointing": false,
|
16 |
+
"id2label": {
|
17 |
+
"0": "LABEL_0",
|
18 |
+
"1": "LABEL_1",
|
19 |
+
"2": "LABEL_2",
|
20 |
+
"3": "LABEL_3",
|
21 |
+
"4": "LABEL_4",
|
22 |
+
"5": "LABEL_5",
|
23 |
+
"6": "LABEL_6",
|
24 |
+
"7": "LABEL_7",
|
25 |
+
"8": "LABEL_8",
|
26 |
+
"9": "LABEL_9",
|
27 |
+
"10": "LABEL_10",
|
28 |
+
"11": "LABEL_11",
|
29 |
+
"12": "LABEL_12",
|
30 |
+
"13": "LABEL_13",
|
31 |
+
"14": "LABEL_14",
|
32 |
+
"15": "LABEL_15",
|
33 |
+
"16": "LABEL_16"
|
34 |
+
},
|
35 |
+
"initializer_factor": 1.0,
|
36 |
+
"inputs_length": 1024,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"is_gated_act": false,
|
39 |
+
"label2id": {
|
40 |
+
"LABEL_0": 0,
|
41 |
+
"LABEL_1": 1,
|
42 |
+
"LABEL_10": 10,
|
43 |
+
"LABEL_11": 11,
|
44 |
+
"LABEL_12": 12,
|
45 |
+
"LABEL_13": 13,
|
46 |
+
"LABEL_14": 14,
|
47 |
+
"LABEL_15": 15,
|
48 |
+
"LABEL_16": 16,
|
49 |
+
"LABEL_2": 2,
|
50 |
+
"LABEL_3": 3,
|
51 |
+
"LABEL_4": 4,
|
52 |
+
"LABEL_5": 5,
|
53 |
+
"LABEL_6": 6,
|
54 |
+
"LABEL_7": 7,
|
55 |
+
"LABEL_8": 8,
|
56 |
+
"LABEL_9": 9
|
57 |
+
},
|
58 |
+
"layer_norm_epsilon": 1e-06,
|
59 |
+
"model_type": "t5",
|
60 |
+
"n_positions": 1024,
|
61 |
+
"num_decoder_layers": 6,
|
62 |
+
"num_heads": 8,
|
63 |
+
"num_layers": 6,
|
64 |
+
"pad_token_id": 0,
|
65 |
+
"relative_attention_max_distance": 128,
|
66 |
+
"relative_attention_num_buckets": 32,
|
67 |
+
"rev_vocab": {
|
68 |
+
"ADJ": 1,
|
69 |
+
"ADP": 2,
|
70 |
+
"ADV": 3,
|
71 |
+
"AUX": 4,
|
72 |
+
"CCONJ": 5,
|
73 |
+
"DET": 6,
|
74 |
+
"NOUN": 7,
|
75 |
+
"NUM": 8,
|
76 |
+
"OTHER": 0,
|
77 |
+
"PART": 9,
|
78 |
+
"PRON": 10,
|
79 |
+
"PROPN": 11,
|
80 |
+
"PUNCT": 12,
|
81 |
+
"SCONJ": 13,
|
82 |
+
"SYM": 14,
|
83 |
+
"VERB": 15,
|
84 |
+
"X": 16
|
85 |
+
},
|
86 |
+
"torch_dtype": "float32",
|
87 |
+
"transformers_version": "4.34.0.dev0",
|
88 |
+
"use_cache": false,
|
89 |
+
"vocab": {
|
90 |
+
"ADJ": 1,
|
91 |
+
"ADP": 2,
|
92 |
+
"ADV": 3,
|
93 |
+
"AUX": 4,
|
94 |
+
"CCONJ": 5,
|
95 |
+
"DET": 6,
|
96 |
+
"NOUN": 7,
|
97 |
+
"NUM": 8,
|
98 |
+
"OTHER": 0,
|
99 |
+
"PART": 9,
|
100 |
+
"PRON": 10,
|
101 |
+
"PROPN": 11,
|
102 |
+
"PUNCT": 12,
|
103 |
+
"SCONJ": 13,
|
104 |
+
"SYM": 14,
|
105 |
+
"VERB": 15,
|
106 |
+
"X": 16
|
107 |
+
},
|
108 |
+
"vocab_size": 32103
|
109 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:24dcdd28ab86bc3abbb898998187b1c7b5dff746f2a2b48d40ca6688006dd9ab
|
3 |
+
size 141313036
|