|
{ |
|
"_name_or_path": "pdf_postprocessor", |
|
"apply_residual_connection_post_layernorm": false, |
|
"architectures": [ |
|
"BloomForTokenClassification" |
|
], |
|
"attention_dropout": 0.0, |
|
"attention_softmax_in_fp32": true, |
|
"bias_dropout_fusion": true, |
|
"bos_token_id": 1, |
|
"eos_token_id": 2, |
|
"hidden_dropout": 0.0, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "equal", |
|
"1": "delete", |
|
"2": "delete_trailing_newline", |
|
"3": "delete_leading_space", |
|
"4": "leading_space_to_newline", |
|
"5": "newline-1", |
|
"6": "space-1" |
|
}, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"delete": 1, |
|
"delete_leading_space": 3, |
|
"delete_trailing_newline": 2, |
|
"equal": 0, |
|
"leading_space_to_newline": 4, |
|
"newline-1": 5, |
|
"space-1": 6 |
|
}, |
|
"label_weights": [ |
|
1.0, |
|
5.0, |
|
5.0, |
|
5.0, |
|
5.0, |
|
5.0, |
|
5.0 |
|
], |
|
"layer_norm_epsilon": 1e-05, |
|
"masked_softmax_fusion": true, |
|
"max_sequence_length": 4096, |
|
"model_type": "bloom", |
|
"n_head": 16, |
|
"n_inner": null, |
|
"n_layer": 24, |
|
"offset_alibi": 100, |
|
"pad_token_id": 3, |
|
"pretraining_tp": 1, |
|
"skip_bias_add": true, |
|
"skip_bias_add_qkv": false, |
|
"slow_but_exact": false, |
|
"torch_dtype": "bfloat16", |
|
"transformers_version": "4.34.0", |
|
"unk_token_id": 0, |
|
"use_cache": true, |
|
"vocab_size": 250880 |
|
} |
|
|