How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="vikp/layout_segmenter")
# Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification

processor = AutoProcessor.from_pretrained("vikp/layout_segmenter")
model = AutoModelForTokenClassification.from_pretrained("vikp/layout_segmenter")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Segments pdf page layout into blocks. Based on layoutlmv3.

Used in marker.

Downloads last month
10,542
Inference Providers NEW