Instructions to use grays-ai/table-transformer-structure-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use grays-ai/table-transformer-structure-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="grays-ai/table-transformer-structure-recognition")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("grays-ai/table-transformer-structure-recognition") model = AutoModelForObjectDetection.from_pretrained("grays-ai/table-transformer-structure-recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download requirements.txt from grays-ai/table-transformer-structure-recognition: direct link, hf CLI and curl.
- Browser
- Download file 4 Bytes
-
https://huggingface.co/grays-ai/table-transformer-structure-recognition/resolve/main/requirements.txt
- Command line
-
hf download hf://grays-ai/table-transformer-structure-recognition/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/grays-ai/table-transformer-structure-recognition/resolve/main/requirements.txt
4 Bytes
| timm |