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.
gender-classifier-base / config.json
tinylens's picture
Initial release: 21.6M-param Apache-2.0 face gender classifier trained on FairFace
fc718c1 verified
Raw History Blame Contribute Delete
781 Bytes
{
"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
}
}