Instructions to use microsoft/table-transformer-structure-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/table-transformer-structure-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="microsoft/table-transformer-structure-recognition")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("microsoft/table-transformer-structure-recognition") model = AutoModelForObjectDetection.from_pretrained("microsoft/table-transformer-structure-recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("microsoft/table-transformer-structure-recognition")
model = AutoModelForObjectDetection.from_pretrained("microsoft/table-transformer-structure-recognition", device_map="auto")Quick Links
- Downloads last month
- 1,100,810
Model tree for microsoft/table-transformer-structure-recognition
Spaces using microsoft/table-transformer-structure-recognition 44
π©
embedl/hfviewer
π
rishabhv471/table-extraction-from-image
π
SalML/TableTransformer2CSV
π
rizgiak/table-to-csv-pipeline
π
jurgendn/table-extraction
Collection including microsoft/table-transformer-structure-recognition
Collection
The Table Transformer (TATR) is a series of object detection models useful for table extraction from PDF images. β’ 5 items β’ Updated β’ 27
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="microsoft/table-transformer-structure-recognition")