Run this model with HF Jobs
Run ai-babai/tiny-random-Sam3Model-ONNX 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/ai-babai/tiny-random-Sam3Model-ONNX. 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/ai-babai/tiny-random-Sam3Model-ONNX 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 ai-babai/tiny-random-Sam3Model-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use ai-babai/tiny-random-Sam3Model-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'ai-babai/tiny-random-Sam3Model-ONNX');
File size: 3,288 Bytes
34b56a0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | {
"architectures": [
"Sam3Model"
],
"detr_decoder_config": {
"dropout": 0.1,
"hidden_act": "relu",
"hidden_dropout": 0.0,
"hidden_size": 16,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_norm_eps": 1e-06,
"model_type": "sam3_detr_decoder",
"num_attention_heads": 2,
"num_layers": 1,
"num_queries": 3
},
"detr_encoder_config": {
"dropout": 0.1,
"hidden_act": "relu",
"hidden_dropout": 0.0,
"hidden_size": 16,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_norm_eps": 1e-06,
"model_type": "sam3_detr_encoder",
"num_attention_heads": 2,
"num_layers": 1
},
"geometry_encoder_config": {
"dropout": 0.1,
"hidden_act": "relu",
"hidden_dropout": 0.0,
"hidden_size": 16,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_norm_eps": 1e-06,
"model_type": "sam3_geometry_encoder",
"num_attention_heads": 2,
"num_layers": 1,
"roi_size": 7
},
"initializer_range": 0.02,
"mask_decoder_config": {
"dropout": 0.0,
"hidden_size": 16,
"initializer_range": 0.02,
"layer_norm_eps": 1e-06,
"model_type": "sam3_mask_decoder",
"num_attention_heads": 2,
"num_upsampling_stages": 3
},
"model_type": "sam3",
"text_config": {
"attention_dropout": 0.0,
"bos_token_id": 1,
"eos_token_id": 2,
"hidden_act": "quick_gelu",
"hidden_size": 16,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 32,
"model_type": "clip_text_model",
"num_attention_heads": 2,
"num_hidden_layers": 1,
"pad_token_id": 2,
"projection_dim": 8,
"vocab_size": 5
},
"transformers_version": "5.24.1",
"vision_config": {
"backbone_config": {
"_name_or_path": "",
"architectures": null,
"attention_dropout": 0.0,
"chunk_size_feed_forward": 0,
"dtype": null,
"global_attn_indexes": [
0
],
"hidden_act": "gelu",
"hidden_dropout": 0.0,
"hidden_size": 16,
"id2label": {
"0": "LABEL_0",
"1": "LABEL_1"
},
"image_size": 28,
"initializer_range": 0.02,
"intermediate_size": 32,
"is_encoder_decoder": false,
"label2id": {
"LABEL_0": 0,
"LABEL_1": 1
},
"layer_norm_eps": 1e-06,
"layer_scale_init_value": null,
"model_type": "sam3_vit_model",
"num_attention_heads": 2,
"num_channels": 3,
"num_hidden_layers": 1,
"output_attentions": false,
"output_hidden_states": false,
"patch_size": 7,
"pretrain_image_size": 28,
"problem_type": null,
"return_dict": true,
"rope_parameters": {
"rope_theta": 10000.0,
"rope_type": "axial"
},
"window_size": 2
},
"backbone_feature_sizes": [
[
16,
16
],
[
8,
8
],
[
4,
4
]
],
"fpn_hidden_size": 16,
"hidden_act": "gelu",
"initializer_range": 0.02,
"layer_norm_eps": 1e-06,
"model_type": "sam3_vision_model",
"scale_factors": [
4.0,
2.0,
1.0,
0.5
]
}
}
|