got-ocr-2-0-fixed / config.json
Thatphum's picture
Upload folder using huggingface_hub
bb9e1af verified
raw
history blame
608 Bytes
{
"architectures": [
"GotOcr2ForConditionalGeneration"
],
"ignore_index": -100,
"image_seq_length": 576,
"image_token_index": 151859,
"model_type": "got_ocr2",
"text_config": {
"hidden_size": 1024,
"intermediate_size": 2816,
"max_window_layers": 21,
"model_type": "qwen2",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"num_key_value_heads": 16,
"rope_theta": 1000000.0,
"tie_word_embeddings": true,
"vocab_size": 151860
},
"torch_dtype": "bfloat16",
"transformers_version": "4.49.0.dev0",
"vision_config": {
"model_type": ""
}
}