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.
ai-babai's picture
Add seeded SAM 3 ONNX fixture for Transformers.js tests
34b56a0 verified
Raw History Blame Contribute Delete
3.29 kB
{
"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
]
}
}