Added files f414e70
Nikola commited on
How to use ngvozdenovic/invoice_extraction with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ngvozdenovic/invoice_extraction") # Load model directly
from transformers import AutoProcessor, AutoModelForTokenClassification
processor = AutoProcessor.from_pretrained("ngvozdenovic/invoice_extraction")
model = AutoModelForTokenClassification.from_pretrained("ngvozdenovic/invoice_extraction", device_map="auto")