Run this model with HF Jobs
Run tinylens/gender-classifier-base 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/tinylens/gender-classifier-base. 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/tinylens/gender-classifier-base 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 tinylens/gender-classifier-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use tinylens/gender-classifier-base with timm:
import timm model = timm.create_model("hf-hub:tinylens/gender-classifier-base", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 781 Bytes
fc718c1 | 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 | {
"architecture": "vit_small_patch14_dinov2",
"num_classes": 2,
"num_features": 384,
"global_pool": "token",
"label_names": [
"female",
"male"
],
"model_args": {
"img_size": [
224,
224
],
"in_chans": 3,
"global_pool": "token"
},
"pretrained_cfg": {
"custom_load": false,
"input_size": [
3,
224,
224
],
"fixed_input_size": true,
"interpolation": "bicubic",
"crop_pct": 1.0,
"crop_mode": "center",
"mean": [
0.485,
0.456,
0.406
],
"std": [
0.229,
0.224,
0.225
],
"num_classes": 2,
"pool_size": null,
"first_conv": "patch_embed.proj",
"classifier": "head",
"license": "apache-2.0",
"test_crop_pct": 1.0
}
} |