huseinzol05 commited on
Commit
48c12d8
1 Parent(s): ea4537b

Upload T5ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +73 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiny",
3
+ "architectures": [
4
+ "T5ForTokenClassification"
5
+ ],
6
+ "classifier_dropout": 0.0,
7
+ "d_ff": 1344,
8
+ "d_kv": 64,
9
+ "d_model": 384,
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
+ },
26
+ "initializer_factor": 1.0,
27
+ "inputs_length": 512,
28
+ "is_encoder_decoder": true,
29
+ "is_gated_act": false,
30
+ "label2id": {
31
+ "LABEL_0": 0,
32
+ "LABEL_1": 1,
33
+ "LABEL_2": 2,
34
+ "LABEL_3": 3,
35
+ "LABEL_4": 4,
36
+ "LABEL_5": 5,
37
+ "LABEL_6": 6,
38
+ "LABEL_7": 7
39
+ },
40
+ "layer_norm_epsilon": 1e-06,
41
+ "model_type": "t5",
42
+ "n_positions": 512,
43
+ "num_decoder_layers": 4,
44
+ "num_heads": 12,
45
+ "num_layers": 4,
46
+ "pad_token_id": 0,
47
+ "relative_attention_max_distance": 128,
48
+ "relative_attention_num_buckets": 32,
49
+ "rev_vocab": {
50
+ "OTHER": 0,
51
+ "event": 7,
52
+ "law": 1,
53
+ "location": 2,
54
+ "organization": 3,
55
+ "person": 4,
56
+ "quantity": 5,
57
+ "time": 6
58
+ },
59
+ "torch_dtype": "float32",
60
+ "transformers_version": "4.34.0.dev0",
61
+ "use_cache": false,
62
+ "vocab": {
63
+ "OTHER": 0,
64
+ "event": 7,
65
+ "law": 1,
66
+ "location": 2,
67
+ "organization": 3,
68
+ "person": 4,
69
+ "quantity": 5,
70
+ "time": 6
71
+ },
72
+ "vocab_size": 32103
73
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b46d7406fa0500ad93ad0c8c202d595f7994d5708400c9016ab9abbc1be0b09
3
+ size 84731552