How to use pierreguillou/layout-xlm-base-finetuned-with-DocLayNet-base-at-linelevel-ml384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="pierreguillou/layout-xlm-base-finetuned-with-DocLayNet-base-at-linelevel-ml384")
# Load model directly from transformers import AutoProcessor, AutoModelForTokenClassification processor = AutoProcessor.from_pretrained("pierreguillou/layout-xlm-base-finetuned-with-DocLayNet-base-at-linelevel-ml384") model = AutoModelForTokenClassification.from_pretrained("pierreguillou/layout-xlm-base-finetuned-with-DocLayNet-base-at-linelevel-ml384")