Transformers library not working
When trying to use:
from transformers import AutoModel
model = AutoModel.from_pretrained("echo840/MonkeyOCR")
I get:
Unrecognized model in echo840/MonkeyOCR. Should have a model_type
key in its config.json, or contain one of the following strings in its name: albert, align, altclip, aria, aria_text, audio-spectrogram-transformer, autoformer, aya_vision, bamba, bark, bart, beit, bert, bert-generation, big_bird, bigbird_pegasus, biogpt, bit, bitnet, blenderbot, blenderbot-small, blip, blip-2, blip_2_qformer, bloom, bridgetower, bros, camembert, canine, chameleon, chinese_clip, chinese_clip_vision_model, clap, clip, clip_text_model, clip_vision_model, clipseg, clvp, code_llama, codegen, cohere, cohere2, colpali, conditional_detr, convbert, convnext, convnextv...
Hello, thank you very much for your interest in our work. You should follow the steps in https://github.com/Yuliang-Liu/MonkeyOCR to run it.