Run this model with HF Jobs
Run srv-sh007/table_structure_recognition on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/srv-sh007/table_structure_recognition. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/srv-sh007/table_structure_recognition on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use srv-sh007/table_structure_recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use srv-sh007/table_structure_recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="srv-sh007/table_structure_recognition")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("srv-sh007/table_structure_recognition") model = AutoModelForObjectDetection.from_pretrained("srv-sh007/table_structure_recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DetrForObjectDetection
Browse filesFiles changed (2)
- config.json+4-12
- model.safetensors+2-2
123452124 unmodified lines213021312132213321342135213621372138213921403 unmodified lines214421452146214721482149215021512152215321542 unmodified lines2157215821592160216121622163{"_name_or_path": "microsoft/table-transformer-structure-recognition","activation_dropout": 0.0,"activation_function": "relu","architectures": [2124 unmodified lines"1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4","5": "LABEL_5","6": "LABEL_6","7": "LABEL_7","8": "LABEL_8"},"init_std": 0.02,"init_xavier_std": 1.0,3 unmodified lines"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3,"LABEL_4": 4,"LABEL_5": 5,"LABEL_6": 6,"LABEL_7": 7,"LABEL_8": 8},"mask_loss_coefficient": 1,"model_type": "detr",2 unmodified lines"num_queries": 125,"position_embedding_type": "sine","torch_dtype": "float32","transformers_version": "4.42.4","use_pretrained_backbone": null,"use_timm_backbone": false}123452124 unmodified lines21302131213221332134213521363 unmodified lines21402141214221432144214521462 unmodified lines2149215021512152215321542155{"_name_or_path": "microsoft/table-structure-recognition-v1.1-all","activation_dropout": 0.0,"activation_function": "relu","architectures": [2124 unmodified lines"1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4"},"init_std": 0.02,"init_xavier_std": 1.0,3 unmodified lines"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3,"LABEL_4": 4},"mask_loss_coefficient": 1,"model_type": "detr",2 unmodified lines"num_queries": 125,"position_embedding_type": "sine","torch_dtype": "float32","transformers_version": "4.44.0","use_pretrained_backbone": null,"use_timm_backbone": false}
123version https://git-lfs.github.com/spec/v1oid sha256:26d40348edfb9ce04c5b942dd890283c0c641acf7893a349fba104496088be8esize 115438000123version https://git-lfs.github.com/spec/v1oid sha256:fce1ec0ba72887a5bdad3624e58141e73f90b9c98af7db01e6a5b21820d5737dsize 115433888
config.json+4-12
model.safetensors+2-2