trocr-noise-bigram2 / config.json
cyttic's picture
Training in progress, epoch 1
516622a verified
Raw
History Blame
2.89 kB
{
"architectures": [
"VisionEncoderDecoderModel"
],
"decoder": {
"_name_or_path": "dicta-il/dictabert",
"add_cross_attention": true,
"architectures": [
"BertForMaskedLM"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"classifier_dropout": null,
"dtype": "float32",
"eos_token_id": null,
"gradient_checkpointing": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": true,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"newmodern": true,
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": 0,
"position_embedding_type": "absolute",
"problem_type": null,
"return_dict": true,
"tie_word_embeddings": true,
"type_vocab_size": 2,
"use_cache": true,
"vocab_size": 128000
},
"decoder_start_token_id": 1,
"dtype": "float32",
"encoder": {
"_name_or_path": "",
"add_cross_attention": false,
"architectures": null,
"attention_probs_dropout_prob": 0.0,
"bos_token_id": null,
"chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null,
"dtype": "float32",
"encoder_stride": 16,
"eos_token_id": null,
"finetuning_task": null,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"image_size": 384,
"initializer_range": 0.02,
"intermediate_size": 3072,
"is_decoder": false,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"output_attentions": false,
"output_hidden_states": false,
"pad_token_id": null,
"patch_size": 16,
"pooler_act": "tanh",
"pooler_output_size": 768,
"prefix": null,
"problem_type": null,
"pruned_heads": {},
"qkv_bias": false,
"return_dict": true,
"sep_token_id": null,
"task_specific_params": null,
"tie_encoder_decoder": false,
"tie_word_embeddings": true,
"tokenizer_class": null,
"torchscript": false,
"use_bfloat16": false
},
"eos_token_id": 2,
"is_encoder_decoder": true,
"model_type": "vision-encoder-decoder",
"pad_token_id": 3,
"tie_word_embeddings": false,
"transformers_version": "5.9.0",
"use_cache": false,
"vocab_size": 128000
}