jpWang / LiLT

Official PyTorch implementation of LiLT: A Simple yet Effective Language-Independent Layout Transformer for Structured Document Understanding (ACL 2022)
MIT License
335 stars 40 forks source link

post custom dataset training ser on funsd model, inference issue #31

Closed wrathrope closed 3 months ago

wrathrope commented 1 year ago

any tips for inference script, Actually I am new to this, I am able to train a model on custom dataset using script funsd. but not able to load model using transformers Autotokenclassifer

any help will be appreciated

image

logan-markewich commented 1 year ago

try using the absolute path (right click on folder, copy full path). I think it is failing to find your checkpoint dir and then trying to load from huggingface hub