Upload WeightedT5EncoderForTokenClassification
Browse files- config.json +53 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "pdf_postprocessor",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"WeightedT5EncoderForTokenClassification"
|
| 5 |
+
],
|
| 6 |
+
"classifier_dropout": 0.0,
|
| 7 |
+
"d_ff": 3584,
|
| 8 |
+
"d_kv": 64,
|
| 9 |
+
"d_model": 1472,
|
| 10 |
+
"decoder_start_token_id": 0,
|
| 11 |
+
"dense_act_fn": "gelu_new",
|
| 12 |
+
"dropout_rate": 0.1,
|
| 13 |
+
"eos_token_id": 1,
|
| 14 |
+
"feed_forward_proj": "gated-gelu",
|
| 15 |
+
"gradient_checkpointing": false,
|
| 16 |
+
"id2label": {
|
| 17 |
+
"0": "equal",
|
| 18 |
+
"1": "delete",
|
| 19 |
+
"2": "newline-1",
|
| 20 |
+
"3": "space-1"
|
| 21 |
+
},
|
| 22 |
+
"initializer_factor": 1.0,
|
| 23 |
+
"is_encoder_decoder": true,
|
| 24 |
+
"is_gated_act": true,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"delete": 1,
|
| 27 |
+
"equal": 0,
|
| 28 |
+
"newline-1": 2,
|
| 29 |
+
"space-1": 3
|
| 30 |
+
},
|
| 31 |
+
"label_weights": [
|
| 32 |
+
1.0,
|
| 33 |
+
5.0,
|
| 34 |
+
30.0,
|
| 35 |
+
20.0
|
| 36 |
+
],
|
| 37 |
+
"layer_norm_epsilon": 1e-06,
|
| 38 |
+
"max_sequence_length": 4096,
|
| 39 |
+
"model_type": "t5",
|
| 40 |
+
"num_decoder_layers": 4,
|
| 41 |
+
"num_heads": 6,
|
| 42 |
+
"num_layers": 12,
|
| 43 |
+
"pad_token_id": 0,
|
| 44 |
+
"problem_type": "single_label_classification",
|
| 45 |
+
"relative_attention_max_distance": 128,
|
| 46 |
+
"relative_attention_num_buckets": 32,
|
| 47 |
+
"tie_word_embeddings": false,
|
| 48 |
+
"tokenizer_class": "ByT5Tokenizer",
|
| 49 |
+
"torch_dtype": "float32",
|
| 50 |
+
"transformers_version": "4.34.0",
|
| 51 |
+
"use_cache": true,
|
| 52 |
+
"vocab_size": 384
|
| 53 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:873d6c321966cd3e7bdae5d413a78d8da160d615a033b40decfe8a0093a56670
|
| 3 |
+
size 870691022
|