Run this model with HF Jobs
Run hf-tiny-model-private/tiny-random-YolosForObjectDetection 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/hf-tiny-model-private/tiny-random-YolosForObjectDetection. 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/hf-tiny-model-private/tiny-random-YolosForObjectDetection 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 hf-tiny-model-private/tiny-random-YolosForObjectDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-YolosForObjectDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="hf-tiny-model-private/tiny-random-YolosForObjectDetection")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-YolosForObjectDetection") model = AutoModelForObjectDetection.from_pretrained("hf-tiny-model-private/tiny-random-YolosForObjectDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
6f8e420
1
Parent(s): dbd1cec
Upload tiny models for YolosForObjectDetection
Browse filesFiles changed (3)
- config.jsonAdded+43
- preprocessor_config.jsonAdded+28
- pytorch_model.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243{ "architectures": [ "YolosForObjectDetection" ], "attention_probs_dropout_prob": 0.1, "auxiliary_loss": false, "bbox_cost": 5, "bbox_loss_coefficient": 5, "class_cost": 1, "eos_coefficient": 0.1, "giou_cost": 2, "giou_loss_coefficient": 2, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 32, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2" }, "image_size": [ 30, 30 ], "initializer_range": 0.02, "intermediate_size": 37, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2 }, "layer_norm_eps": 1e-12, "model_type": "yolos", "num_attention_heads": 4, "num_channels": 3, "num_detection_tokens": 10, "num_hidden_layers": 5, "patch_size": 2, "qkv_bias": true, "torch_dtype": "float32", "transformers_version": "4.28.0.dev0", "use_mid_position_embeddings": true}12345678910111213141516171819202122232425262728{ "crop_size": [ 30, 30 ], "do_normalize": true, "do_pad": true, "do_rescale": true, "do_resize": true, "format": "coco_detection", "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "YolosImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "height": 30, "width": 30 }}123version https://git-lfs.github.com/spec/v1oid sha256:f34657617c63e1e694825040a83506391f2a170e210445315b2b23131ca81654size 339869config.jsonAdded+43
preprocessor_config.jsonAdded+28
pytorch_model.binAdded+3