How to generate content of config.json as given here.

#2
by 123www - opened

The config of trained Donut Model contains only

{
  "_name_or_path": "naver-clova-ix/donut-base",
  "align_long_axis": false,
  "architectures": [
    "DonutModel"
  ],
  "decoder_layer": 4,
  "encoder_layer": [
    2,
    2,
    14,
    2
  ],
  "input_size": [
    1600,
    1600
  ],
  "max_length": 768,
  "max_position_embeddings": 768,
  "model_type": "donut",
  "torch_dtype": "float32",
  "transformers_version": "4.11.3",
  "window_size": 10
}

Any suggestions?

Thanks and Regards

Hello 123www, did you learned how to generate the config file?

Sign up or log in to comment