Models
Metalhead has 335 ported architectures in 25 families. Build one with create_model("<architecture>"), or load a Hub checkpoint of it with create_model("<organisation>/<repository>"; pretrained = true).
Models are grouped by library and family, a model line. A timm family is usually one of timm's model modules: Wide ResNet, ResNeXt and SE-ResNet belong to the ResNet family; Res2Net and aligned Xception have their own families; the three Inception modules share one. A transformers or diffusers family, such as Granite or FLUX.2, can span several modules.
Browse the same families from Julia with list_models:
families = list_models(; byfamily = true)
families["resnet"]
list_models(; byfamily = true, pretrained = true)["resnet"]The 94 checkpoints listed here were compared with PyTorch's outputs (see How models are validated). Bare architecture names load the first one with pretrained = true. Other checkpoints of the same architectures load with the same strict checks. A dash means no checkpoint has been validated for that architecture.
- Models
Vision models (timm)
Aligned Xception
xception_aligned: 5 architectures. Source: xception.jl.
| Architecture | Validated checkpoints |
|---|---|
xception41 | timm/xception41.tf_in1k |
xception41p | timm/xception41p.ra3_in1k |
xception65 | — |
xception65p | — |
xception71 | — |
ConvMixer
convmixer: 3 architectures. Source: convmixer.jl.
| Architecture | Validated checkpoints |
|---|---|
convmixer_1024_20_ks9_p14 | — |
convmixer_1536_20 | — |
convmixer_768_32 | timm/convmixer_768_32.in1k |
ConvNeXt
convnext: 8 architectures. Source: convnext.jl.
| Architecture | Validated checkpoints |
|---|---|
convnext_atto | timm/convnext_atto.d2_in1k |
convnext_base | — |
convnext_femto | — |
convnext_large | — |
convnext_nano | — |
convnext_pico | — |
convnext_small | — |
convnext_tiny | timm/convnext_tiny.fb_in1k |
DenseNet
densenet: 6 architectures. Source: densenet.jl.
| Architecture | Validated checkpoints |
|---|---|
densenet121 | timm/densenet121.tv_in1k |
densenet161 | — |
densenet169 | — |
densenet201 | — |
densenet264d | — |
densenetblur121d | timm/densenetblur121d.ra_in1k |
EfficientNet, MobileNetV1/V2, MNASNet and MixNet
efficientnet: 99 architectures. Source: efficientnet.jl.
| Architecture | Validated checkpoints |
|---|---|
efficientnet_b0 | timm/efficientnet_b0.ra_in1k |
efficientnet_b1 | — |
efficientnet_b2 | — |
efficientnet_b3 | — |
efficientnet_b4 | — |
efficientnet_b5 | — |
efficientnet_b6 | — |
efficientnet_b7 | — |
efficientnet_b8 | — |
efficientnet_cc_b0_4e | — |
efficientnet_cc_b0_8e | — |
efficientnet_cc_b1_8e | — |
efficientnet_el | — |
efficientnet_el_pruned | — |
efficientnet_em | — |
efficientnet_es | — |
efficientnet_es_pruned | — |
efficientnet_l2 | — |
efficientnet_lite0 | — |
efficientnet_lite1 | — |
efficientnet_lite2 | — |
efficientnet_lite3 | — |
efficientnet_lite4 | — |
efficientnetv2_l | — |
efficientnetv2_m | — |
efficientnetv2_rw_m | — |
efficientnetv2_rw_s | — |
efficientnetv2_rw_t | — |
efficientnetv2_s | — |
efficientnetv2_xl | — |
fbnetc_100 | timm/fbnetc_100.rmsp_in1k |
mixnet_l | — |
mixnet_m | — |
mixnet_s | timm/mixnet_s.ft_in1k |
mixnet_xl | — |
mixnet_xxl | — |
mnasnet_050 | — |
mnasnet_075 | — |
mnasnet_100 | timm/mnasnet_100.rmsp_in1k |
mnasnet_140 | — |
mnasnet_small | — |
mobilenet_edgetpu_100 | — |
mobilenet_edgetpu_v2_l | — |
mobilenet_edgetpu_v2_m | timm/mobilenet_edgetpu_v2_m.ra4_e3600_r224_in1k |
mobilenet_edgetpu_v2_s | — |
mobilenet_edgetpu_v2_xs | — |
mobilenetv1_100 | timm/mobilenetv1_100.ra4_e3600_r224_in1k |
mobilenetv1_100h | — |
mobilenetv1_125 | — |
mobilenetv2_035 | — |
mobilenetv2_050 | — |
mobilenetv2_075 | — |
mobilenetv2_100 | timm/mobilenetv2_100.ra_in1k |
mobilenetv2_110d | — |
mobilenetv2_120d | — |
mobilenetv2_140 | — |
semnasnet_050 | — |
semnasnet_075 | — |
semnasnet_100 | — |
semnasnet_140 | — |
spnasnet_100 | — |
test_efficientnet | timm/test_efficientnet.r160_in1k |
tf_efficientnet_b0 | timm/tf_efficientnet_b0.ns_jft_in1k |
tf_efficientnet_b1 | — |
tf_efficientnet_b2 | — |
tf_efficientnet_b3 | — |
tf_efficientnet_b4 | — |
tf_efficientnet_b5 | — |
tf_efficientnet_b6 | — |
tf_efficientnet_b7 | — |
tf_efficientnet_b8 | — |
tf_efficientnet_cc_b0_4e | timm/tf_efficientnet_cc_b0_4e.in1k |
tf_efficientnet_cc_b0_8e | — |
tf_efficientnet_cc_b1_8e | — |
tf_efficientnet_el | — |
tf_efficientnet_em | — |
tf_efficientnet_es | — |
tf_efficientnet_l2 | — |
tf_efficientnet_lite0 | — |
tf_efficientnet_lite1 | — |
tf_efficientnet_lite2 | — |
tf_efficientnet_lite3 | — |
tf_efficientnet_lite4 | — |
tf_efficientnetv2_b0 | timm/tf_efficientnetv2_b0.in1k |
tf_efficientnetv2_b1 | — |
tf_efficientnetv2_b2 | — |
tf_efficientnetv2_b3 | — |
tf_efficientnetv2_l | — |
tf_efficientnetv2_m | — |
tf_efficientnetv2_s | — |
tf_efficientnetv2_xl | — |
tf_mixnet_l | — |
tf_mixnet_m | — |
tf_mixnet_s | timm/tf_mixnet_s.in1k |
tinynet_a | — |
tinynet_b | — |
tinynet_c | — |
tinynet_d | — |
tinynet_e | — |
Inception-v3, Inception-v4 and Inception-ResNet-v2
inception: 3 architectures. Source: inception_resnet_v2.jl, inception_v3.jl, inception_v4.jl.
| Architecture | Validated checkpoints |
|---|---|
inception_resnet_v2 | timm/inception_resnet_v2.tf_in1k |
inception_v3 | timm/inception_v3.tv_in1k |
inception_v4 | timm/inception_v4.tf_in1k |
MLP-Mixer, ResMLP and gMLP
mlp_mixer: 15 architectures. Source: mlp_mixer.jl.
| Architecture | Validated checkpoints |
|---|---|
gmixer_12_224 | — |
gmixer_24_224 | — |
gmlp_b16_224 | — |
gmlp_s16_224 | timm/gmlp_s16_224.ra3_in1k |
gmlp_ti16_224 | — |
mixer_b16_224 | timm/mixer_b16_224.goog_in21k_ft_in1k |
mixer_b32_224 | — |
mixer_l16_224 | — |
mixer_l32_224 | — |
mixer_s16_224 | — |
mixer_s32_224 | — |
resmlp_12_224 | timm/resmlp_12_224.fb_in1k |
resmlp_24_224 | — |
resmlp_36_224 | — |
resmlp_big_24_224 | — |
MobileNetV3/V4, FBNetV3 and LCNet
mobilenetv3: 33 architectures. Source: mobilenetv3.jl.
| Architecture | Validated checkpoints |
|---|---|
fbnetv3_b | timm/fbnetv3_b.ra2_in1k |
fbnetv3_d | — |
fbnetv3_g | — |
lcnet_035 | — |
lcnet_050 | timm/lcnet_050.ra2_in1k |
lcnet_075 | — |
lcnet_100 | — |
lcnet_150 | — |
mobilenetv3_large_075 | — |
mobilenetv3_large_100 | timm/mobilenetv3_large_100.ra_in1k |
mobilenetv3_large_150d | — |
mobilenetv3_rw | timm/mobilenetv3_rw.rmsp_in1k |
mobilenetv3_small_050 | — |
mobilenetv3_small_075 | — |
mobilenetv3_small_100 | timm/mobilenetv3_small_100.lamb_in1k |
mobilenetv4_conv_aa_large | — |
mobilenetv4_conv_aa_medium | — |
mobilenetv4_conv_blur_medium | timm/mobilenetv4_conv_blur_medium.e500_r224_in1k |
mobilenetv4_conv_large | — |
mobilenetv4_conv_medium | timm/mobilenetv4_conv_medium.e500_r224_in1k |
mobilenetv4_conv_small | timm/mobilenetv4_conv_small.e2400_r224_in1k |
mobilenetv4_conv_small_035 | — |
mobilenetv4_conv_small_050 | timm/mobilenetv4_conv_small_050.e3000_r224_in1k |
mobilenetv4_hybrid_large | timm/mobilenetv4_hybrid_large.e600_r384_in1k |
mobilenetv4_hybrid_large_075 | — |
mobilenetv4_hybrid_medium | timm/mobilenetv4_hybrid_medium.e500_r224_in1k |
mobilenetv4_hybrid_medium_075 | — |
tf_mobilenetv3_large_075 | — |
tf_mobilenetv3_large_100 | timm/tf_mobilenetv3_large_100.in1k |
tf_mobilenetv3_large_minimal_100 | — |
tf_mobilenetv3_small_075 | — |
tf_mobilenetv3_small_100 | — |
tf_mobilenetv3_small_minimal_100 | timm/tf_mobilenetv3_small_minimal_100.in1k |
Res2Net
res2net: 9 architectures. Source: res2net.jl.
| Architecture | Validated checkpoints |
|---|---|
res2net101_26w_4s | — |
res2net101d | — |
res2net50_14w_8s | — |
res2net50_26w_4s | timm/res2net50_26w_4s.in1k |
res2net50_26w_6s | — |
res2net50_26w_8s | — |
res2net50_48w_2s | — |
res2net50d | — |
res2next50 | — |
ResNet
resnet: 58 architectures. Source: resnet.jl.
| Architecture | Validated checkpoints |
|---|---|
ecaresnet101d | — |
ecaresnet200d | — |
ecaresnet269d | — |
ecaresnet26t | timm/ecaresnet26t.ra2_in1k |
ecaresnet50d | — |
ecaresnet50t | — |
ecaresnetlight | — |
ecaresnext26t_32x4d | — |
ecaresnext50t_32x4d | — |
resnet101 | — |
resnet101c | — |
resnet101d | — |
resnet101s | — |
resnet10t | — |
resnet14t | — |
resnet152 | — |
resnet152c | — |
resnet152d | — |
resnet152s | — |
resnet18 | timm/resnet18.a1_in1k |
resnet18d | — |
resnet200d | — |
resnet26 | — |
resnet26d | — |
resnet26t | timm/resnet26t.ra2_in1k |
resnet34 | — |
resnet34d | — |
resnet50 | timm/resnet50.tv2_in1k |
resnet50c | — |
resnet50d | timm/resnet50d.ra2_in1k |
resnet50s | — |
resnet50t | — |
resnext101_32x16d | — |
resnext101_32x32d | — |
resnext101_32x4d | — |
resnext101_32x8d | — |
resnext101_64x4d | — |
resnext50_32x4d | timm/resnext50_32x4d.a1h_in1k |
resnext50d_32x4d | — |
senet154 | — |
seresnet101 | — |
seresnet152 | — |
seresnet152d | — |
seresnet18 | — |
seresnet200d | — |
seresnet269d | — |
seresnet34 | — |
seresnet50 | — |
seresnet50t | — |
seresnext101_32x4d | — |
seresnext101_32x8d | — |
seresnext101_64x4d | — |
seresnext101d_32x8d | — |
seresnext26d_32x4d | timm/seresnext26d_32x4d.bt_in1k |
seresnext26t_32x4d | — |
seresnext50_32x4d | — |
wide_resnet101_2 | — |
wide_resnet50_2 | timm/wide_resnet50_2.tv2_in1k |
VGG
vgg: 8 architectures. Source: vgg.jl.
| Architecture | Validated checkpoints |
|---|---|
vgg11 | timm/vgg11.tv_in1k |
vgg11_bn | timm/vgg11_bn.tv_in1k |
vgg13 | — |
vgg13_bn | — |
vgg16 | — |
vgg16_bn | — |
vgg19 | — |
vgg19_bn | — |
Vision Transformer (ViT)
vision_transformer: 51 architectures. Source: vit.jl.
| Architecture | Validated checkpoints |
|---|---|
vit_base_patch14_dinov2 | — |
vit_base_patch14_reg4_dinov2 | — |
vit_base_patch16_224 | timm/vit_base_patch16_224.augreg2_in21k_ft_in1k |
vit_base_patch16_384 | — |
vit_base_patch16_clip_224 | timm/vit_base_patch16_clip_224.laion2b |
vit_base_patch16_clip_384 | — |
vit_base_patch16_clip_quickgelu_224 | — |
vit_base_patch16_siglip_224 | timm/vit_base_patch16_siglip_224.v2_webli |
vit_base_patch16_siglip_256 | — |
vit_base_patch16_siglip_384 | — |
vit_base_patch16_siglip_512 | — |
vit_base_patch16_siglip_gap_224 | — |
vit_base_patch32_224 | — |
vit_base_patch32_384 | — |
vit_base_patch32_clip_224 | — |
vit_base_patch32_clip_256 | — |
vit_base_patch32_clip_384 | — |
vit_base_patch32_clip_quickgelu_224 | timm/vit_base_patch32_clip_quickgelu_224.metaclip_400m |
vit_base_patch32_siglip_256 | — |
vit_base_patch8_224 | — |
vit_huge_patch14_clip_224 | — |
vit_huge_patch14_clip_336 | — |
vit_huge_patch14_clip_quickgelu_224 | — |
vit_large_patch14_clip_224 | — |
vit_large_patch14_clip_336 | — |
vit_large_patch14_clip_quickgelu_224 | — |
vit_large_patch14_clip_quickgelu_336 | — |
vit_large_patch14_dinov2 | — |
vit_large_patch14_reg4_dinov2 | — |
vit_large_patch16_224 | — |
vit_large_patch16_384 | — |
vit_large_patch16_siglip_256 | — |
vit_large_patch16_siglip_384 | — |
vit_large_patch16_siglip_512 | — |
vit_large_patch16_siglip_gap_256 | — |
vit_large_patch32_224 | — |
vit_large_patch32_384 | — |
vit_small_patch14_dinov2 | timm/vit_small_patch14_dinov2.lvd142m |
vit_small_patch14_reg4_dinov2 | timm/vit_small_patch14_reg4_dinov2.lvd142m |
vit_small_patch16_224 | — |
vit_small_patch16_384 | — |
vit_small_patch32_224 | — |
vit_small_patch32_384 | — |
vit_small_patch8_224 | — |
vit_so400m_patch14_siglip_224 | — |
vit_so400m_patch14_siglip_384 | — |
vit_so400m_patch14_siglip_gap_224 | — |
vit_so400m_patch16_siglip_256 | — |
vit_so400m_patch16_siglip_384 | — |
vit_tiny_patch16_224 | timm/vit_tiny_patch16_224.augreg_in21k_ft_in1k |
vit_tiny_patch16_384 | — |
Language, text encoder, vision-language, image-text and segmentation models (transformers)
BERT
bert: 2 architectures. Source: bert.jl.
create_model builds the sentence-transformers model of sentence-transformers/all-MiniLM-L6-v2, BAAI/bge-small-en-v1.5 and the other repositories with a modules.json, whose BertModel the references validate. A BertModel checkpoint without pooler weights needs add_pooling_layer = false.
| Architecture | Validated checkpoints |
|---|---|
BertForSequenceClassification | cross-encoder/ms-marco-MiniLM-L6-v2 |
BertModel | sentence-transformers/all-MiniLM-L6-v2, BAAI/bge-small-en-v1.5 |
CLIP
clip: 5 architectures. Source: clip.jl.
The main branch of openai/clip-vit-base-patch32 has no safetensors weights: its validated commit is the pull request of Hugging Face's conversion bot that adds them, which create_model loads by default.
| Architecture | Validated checkpoints |
|---|---|
CLIPModel | openai/clip-vit-base-patch32, openai/clip-vit-large-patch14, laion/CLIP-ViT-B-32-laion2B-s34B-b79K |
CLIPTextModel | stable-diffusion-v1-5/stable-diffusion-v1-5/text_encoder |
CLIPTextModelWithProjection | — |
CLIPVisionModel | — |
CLIPVisionModelWithProjection | — |
Gemma 3
gemma3: 1 architecture. Source: gemma3.jl.
| Architecture | Validated checkpoints |
|---|---|
Gemma3ForCausalLM | unsloth/gemma-3-270m |
Granite
granite: 4 architectures. Source: granite.jl, granitemoe.jl.
Granite 4.0 models load without Mamba layers, so the hybrid "H" models (granite-4.0-h-*) don't load.
| Architecture | Validated checkpoints |
|---|---|
GraniteForCausalLM | ibm-granite/granite-3.3-2b-base |
GraniteMoeForCausalLM | ibm-granite/granite-3.1-1b-a400m-base |
GraniteMoeHybridForCausalLM | ibm-granite/granite-4.0-350m-base |
GraniteMoeSharedForCausalLM | ibm-research/moe-7b-1b-active-shared-experts |
Llama
llama: 1 architecture. Source: llama.jl.
| Architecture | Validated checkpoints |
|---|---|
LlamaForCausalLM | HuggingFaceTB/SmolLM2-135M, unsloth/Llama-3.2-1B |
ModernBERT
modernbert: 3 architectures. Source: modernbert.jl.
| Architecture | Validated checkpoints |
|---|---|
ModernBertForMaskedLM | answerdotai/ModernBERT-base |
ModernBertForSequenceClassification | Alibaba-NLP/gte-reranker-modernbert-base |
ModernBertModel | Alibaba-NLP/gte-modernbert-base |
Qwen
qwen: 8 architectures. Source: qwen2.jl, qwen3.jl, qwen3_moe.jl, qwen3_5.jl, qwen3_5_moe.jl, qwen3_5_vision.jl.
Qwen3-30B-A3B and Qwen3.6-35B-A3B were validated on their first 4 decoder layers, with their embeddings, head and, for Qwen3.6, vision encoder; Qwen/Qwen3.8-27B with its first 8 decoder layers (see How models are validated).
| Architecture | Validated checkpoints |
|---|---|
Qwen2ForCausalLM | Qwen/Qwen2.5-0.5B |
Qwen3ForCausalLM | Qwen/Qwen3-0.6B |
Qwen3MoeForCausalLM | Qwen/Qwen3-30B-A3B |
Qwen3_5ForCausalLM | — |
Qwen3_5ForConditionalGeneration | Qwen/Qwen3.5-0.8B, Qwen/Qwen3.8-27B |
Qwen3_5MoeForCausalLM | — |
Qwen3_5MoeForConditionalGeneration | Qwen/Qwen3.6-35B-A3B |
Qwen3_5VisionModel | — |
SAM 3
sam3: 2 architectures. Source: sam3.jl.
jetjodh/sam3 is an ungated copy of the weights of Meta's gated facebook/sam3. Only the detector of Sam3VideoModel is ported, not its tracker.
| Architecture | Validated checkpoints |
|---|---|
Sam3Model | unsloth/sam3.1 |
Sam3VideoModel | jetjodh/sam3 |
SigLIP and SigLIP 2
siglip: 2 architectures. Source: siglip2.jl, siglip.jl.
The NaFlex checkpoints of SigLIP 2 (google/siglip2-*-naflex) are Siglip2Models, which take images of any aspect ratio; the others, of fixed resolution, are SiglipModels.
| Architecture | Validated checkpoints |
|---|---|
Siglip2Model | google/siglip2-base-patch16-naflex |
SiglipModel | google/siglip-base-patch16-224, google/siglip2-base-patch16-224 |
XLM-RoBERTa
xlm_roberta: 2 architectures. Source: xlm_roberta.jl.
BAAI/bge-m3 stores its weights in pytorch_model.bin only, which Metalhead doesn't read; BAAI/bge-reranker-v2-m3 has the same architecture and is validated.
| Architecture | Validated checkpoints |
|---|---|
XLMRobertaForSequenceClassification | BAAI/bge-reranker-base, BAAI/bge-reranker-v2-m3 |
XLMRobertaModel | intfloat/multilingual-e5-base |
Image generation (diffusers)
FLUX.2
flux2: 3 architectures. Source: autoencoder_kl_flux2.jl, pipeline_flux2_klein.jl, transformer_flux2.jl.
| Architecture | Validated checkpoints |
|---|---|
AutoencoderKLFlux2 | black-forest-labs/FLUX.2-klein-4B/vae |
Flux2KleinPipeline | black-forest-labs/FLUX.2-klein-4B |
Flux2Transformer2DModel | black-forest-labs/FLUX.2-klein-4B/transformer |
Z-Image
z_image: 3 architectures. Source: autoencoder_kl.jl, pipeline_z_image.jl, transformer_z_image.jl.
AutoencoderKL is diffusers' autoencoder of Stable Diffusion and FLUX.1 too, validated with the one of Z-Image.
| Architecture | Validated checkpoints |
|---|---|
AutoencoderKL | Tongyi-MAI/Z-Image-Turbo/vae |
ZImagePipeline | Tongyi-MAI/Z-Image-Turbo |
ZImageTransformer2DModel | Tongyi-MAI/Z-Image-Turbo/transformer |
Text embeddings (sentence-transformers)
Sentence Transformers
sentence_transformers: 1 architecture. Source: model.jl.
A repository with a modules.json loads as a SentenceTransformer, whose Transformer module holds a transformers model of a validated model_type (qwen3).
| Architecture | Validated checkpoints |
|---|---|
SentenceTransformer | Qwen/Qwen3-Embedding-0.6B |