Run this model with HF Jobs
Run SalML/DETR-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/SalML/DETR-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/SalML/DETR-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 SalML/DETR-table-structure-recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SalML/DETR-table-structure-recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="SalML/DETR-table-structure-recognition")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("SalML/DETR-table-structure-recognition") model = AutoModelForObjectDetection.from_pretrained("SalML/DETR-table-structure-recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ "activation_dropout": 0.0, "activation_function": "relu", "architectures": [ "DetrForObjectDetection" ], "attention_dropout": 0.0, "auxiliary_loss": false, "backbone": "resnet18", "bbox_cost": 5, "bbox_loss_coefficient": 5, "ce_loss_coefficient": 1, "class_cost": 1, "d_model": 256, "decoder_attention_heads": 8, "decoder_ffn_dim": 2048, "decoder_layerdrop": 0.0, "decoder_layers": 6, "dice_loss_coefficient": 1, "dilation": false, "dropout": 0.1, "encoder_attention_heads": 8, "encoder_ffn_dim": 2048, "encoder_layerdrop": 0.0, "encoder_layers": 6, "eos_coefficient": 0.4, "giou_cost": 2, "giou_loss_coefficient": 2, "id2label": { "0": "table", "1": "table column", "2": "table row", "3": "table column header", "4": "table projected row header", "5": "table spanning cell" }, "init_std": 0.02, "init_xavier_std": 1.0, "is_encoder_decoder": true, "label2id": { "table": 0, "table column": 1, "table column header": 3, "table projected row header": 4, "table row": 2, "table spanning cell": 5 }, "mask_loss_coefficient": 1, "max_position_embeddings": 1024, "model_type": "detr", "normalize_before": true, "num_channels": 3, "num_hidden_layers": 6, "num_queries": 125, "position_embedding_type": "sine", "scale_embedding": false, "torch_dtype": "float32", "transformers_version": "4.22.0.dev0", "use_pretrained_backbone": true}config.jsonAdded+60