Issue loading processor
Hi
@HYPJUDY
, I want to use HYPJUDY/layoutlmv3-large-finetuned-funsd
token classifier but not able to load using AutoProcessor
. I am getting OS error like:
OSError: HYPJUDY/layoutlmv3-large-finetuned-funsd does not appear to have a file named preprocessor_config.json. Checkout 'https://huggingface.co/HYPJUDY/layoutlmv3-large-finetuned-funsd/main' for available files.
I think "preprocessor_config.json" file is missing. Will you able to help me with it? Is there any other way to load model? I want to use image, text for token classification.
My code:
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("HYPJUDY/layoutlmv3-large-finetuned-funsd")
Thanks in advance.
I figured out.
I downloaded to local - !git clone https://huggingface.co/HYPJUDY/layoutlmv3-large-finetuned-funsd and added preprocessor_config.json file to it. And read locally.
How did you figure it out? Where did you find the preprocessor_config.json content? Thanks in advance!
download the model and download preprocessor_config.json from https://huggingface.co/microsoft/layoutlmv3-base/tree/main.
You are good to go!