Skip to content

Commit

Permalink
Add MetaCLIP ViT-H-14 AllTogether (v1.2) weight
Browse files Browse the repository at this point in the history
  • Loading branch information
rwightman committed Dec 23, 2024
1 parent aeaf2a0 commit 992eb6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/open_clip/pretrained.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,11 @@ def _mccfg(url='', hf_hub='', **kwargs):
hf_hub="timm/vit_huge_patch14_clip_224.metaclip_2pt5b/",
quick_gelu=True,
),
metaclip_alltogether=_pcfg(
url="https://dl.fbaipublicfiles.com/MMPT/metaclip/h14_v1.2_altogether.pt",
hf_hub="timm/vit_huge_patch14_clip_224.metaclip_alltogether/",
# NOTE unlike other MetaCLIP models, this is not using QuickGELU, yay!
),
# DFN-5B (quick-gelu)
dfn5b=_pcfg(
hf_hub='apple/DFN5B-CLIP-ViT-H-14/',
Expand Down

0 comments on commit 992eb6c

Please sign in to comment.