I found that these models are somewhat different from those released on GitHub.

#7
by xiaoyao9184 - opened

The MD5 checksums of these files are different, and they cannot be loaded using the official code.

hf model nougat-0.1.0-small

.gitattributes           A859F8A89685747FFD4171B870540C41
config.json              76F9C2B2F2F1329B6A470156A792B4E4
generation_config.json   CA6C10E1A870603F799ECCCB508A5D27
model.safetensors        857CE4CDFEC9B6622725890522E4E891
preprocessor_config.json 30CCCECE02F335A917AB4FB63597C703
pytorch_model.bin        EFF0AC7BEC3CBD03305ED0D7D9236743
README.md                505D6F3DE3123BBDF7596B19A9FEE43C
special_tokens_map.json  B6404D312BA99774E75F185732242C28
tokenizer_config.json    E6BA52752050DA89D3E0908D7EF36906
tokenizer.json           FFF3EC52F6773C1E29AA38D4930FC07F

official github model nougat-0.1.0-small

config.json             76F9C2B2F2F1329B6A470156A792B4E4
pytorch_model.bin       EFF0AC7BEC3CBD03305ED0D7D9236743
special_tokens_map.json B6404D312BA99774E75F185732242C28
tokenizer_config.json   E6BA52752050DA89D3E0908D7EF36906
tokenizer.json          FFF3EC52F6773C1E29AA38D4930FC07F

Hi,

This repository contains the Transformers-compatible checkpoint, compatible with the VisionEncoderDecoderModel class.

The original checkpoints (compatible with the Github repository) are hosted on Github: https://github.com/facebookresearch/nougat/blob/47c77d70727558b4a2025005491ecb26ee97f523/nougat/utils/checkpoint.py#L49.

Sign up or log in to comment