Transformers How to use Mustafa21/layoutlm-funsd-tf with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mustafa21/layoutlm-funsd-tf") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Mustafa21/layoutlm-funsd-tf")
model = AutoModelForTokenClassification.from_pretrained("Mustafa21/layoutlm-funsd-tf")