├── LICENSE ├── README.md ├── SDXL ├── SDXL.md ├── SDXL_img2img.py ├── SDXL_pipeline.py ├── demo_SDXL.png ├── encode_prompt.py └── sdxl.py ├── checkpoints └── model_zoo.md ├── demo.py ├── eval ├── classification │ ├── cifar │ │ ├── cifar10.py │ │ ├── cifar100.py │ │ └── templates.py │ └── imagenet │ │ ├── categories.txt │ │ ├── classes.py │ │ ├── data_loader.py │ │ ├── imagenet.py │ │ └── templates.py └── retrieval │ ├── Urban1k.py │ ├── coco.py │ └── flickr30k.py ├── img ├── demo.png ├── demo_SDXL.png ├── framework.PNG ├── generation.png └── retrieval.png ├── model ├── __init__.py ├── bpe_simple_vocab_16e6.txt.gz ├── longclip.py ├── model_longclip.py └── simple_tokenizer.py ├── open_clip_long ├── __init__.py ├── big_vision.py ├── bpe_simple_vocab_16e6.txt.gz ├── coca_model.py ├── constants.py ├── factory.py ├── hf_configs.py ├── hf_model.py ├── loss.py ├── model.py ├── model_configs │ ├── EVA01-g-14-plus.json │ ├── EVA01-g-14.json │ ├── EVA02-B-16.json │ ├── EVA02-E-14-plus.json │ ├── EVA02-E-14.json │ ├── EVA02-L-14-336.json │ ├── EVA02-L-14.json │ ├── RN101-quickgelu.json │ ├── RN101.json │ ├── RN50-quickgelu.json │ ├── RN50.json │ ├── RN50x16.json │ ├── RN50x4.json │ ├── RN50x64.json │ ├── ViT-B-16-SigLIP-256.json │ ├── ViT-B-16-SigLIP-384.json │ ├── ViT-B-16-SigLIP-512.json │ ├── ViT-B-16-SigLIP-i18n-256.json │ ├── ViT-B-16-SigLIP.json │ ├── ViT-B-16-plus-240.json │ ├── ViT-B-16-plus.json │ ├── ViT-B-16-quickgelu.json │ ├── ViT-B-16.json │ ├── ViT-B-32-256.json │ ├── ViT-B-32-plus-256.json │ ├── ViT-B-32-quickgelu.json │ ├── ViT-B-32.json │ ├── ViT-H-14-378-quickgelu.json │ ├── ViT-H-14-CLIPA-336.json │ ├── ViT-H-14-CLIPA.json │ ├── ViT-H-14-quickgelu.json │ ├── ViT-H-14.json │ ├── ViT-H-16.json │ ├── ViT-L-14-280.json │ ├── ViT-L-14-336.json │ ├── ViT-L-14-CLIPA-336.json │ ├── ViT-L-14-CLIPA.json │ ├── ViT-L-14-quickgelu.json │ ├── ViT-L-14.json │ ├── ViT-L-16-320.json │ ├── ViT-L-16-SigLIP-256.json │ ├── ViT-L-16-SigLIP-384.json │ ├── ViT-L-16.json │ ├── ViT-M-16-alt.json │ ├── ViT-M-16.json │ ├── ViT-M-32-alt.json │ ├── ViT-M-32.json │ ├── ViT-S-16-alt.json │ ├── ViT-S-16.json │ ├── ViT-S-32-alt.json │ ├── ViT-S-32.json │ ├── ViT-SO400M-14-SigLIP-384.json │ ├── ViT-SO400M-14-SigLIP.json │ ├── ViT-bigG-14-CLIPA-336.json │ ├── ViT-bigG-14-CLIPA.json │ ├── ViT-bigG-14.json │ ├── ViT-e-14.json │ ├── ViT-g-14.json │ ├── coca_ViT-B-32.json │ ├── coca_ViT-L-14.json │ ├── coca_base.json │ ├── coca_roberta-ViT-B-32.json │ ├── convnext_base.json │ ├── convnext_base_w.json │ ├── convnext_base_w_320.json │ ├── convnext_large.json │ ├── convnext_large_d.json │ ├── convnext_large_d_320.json │ ├── convnext_small.json │ ├── convnext_tiny.json │ ├── convnext_xlarge.json │ ├── convnext_xxlarge.json │ ├── convnext_xxlarge_320.json │ ├── mt5-base-ViT-B-32.json │ ├── mt5-xl-ViT-H-14.json │ ├── nllb-clip-base-siglip.json │ ├── nllb-clip-base.json │ ├── nllb-clip-large-siglip.json │ ├── nllb-clip-large.json │ ├── roberta-ViT-B-32.json │ ├── swin_base_patch4_window7_224.json │ ├── vit_medium_patch16_gap_256.json │ ├── vit_relpos_medium_patch16_cls_224.json │ ├── xlm-roberta-base-ViT-B-32.json │ └── xlm-roberta-large-ViT-H-14.json ├── modified_resnet.py ├── openai.py ├── pos_embed.py ├── pretrained.py ├── push_to_hf_hub.py ├── timm_model.py ├── tokenizer.py ├── transform.py ├── transformer.py ├── utils.py ├── version.py ├── zero_shot_classifier.py └── zero_shot_metadata.py └── train ├── scheduler.py ├── sharegpt4v.py ├── train.md ├── train.py ├── train_slurm.sh └── utils.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/README.md -------------------------------------------------------------------------------- /SDXL/SDXL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/SDXL.md -------------------------------------------------------------------------------- /SDXL/SDXL_img2img.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/SDXL_img2img.py -------------------------------------------------------------------------------- /SDXL/SDXL_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/SDXL_pipeline.py -------------------------------------------------------------------------------- /SDXL/demo_SDXL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/demo_SDXL.png -------------------------------------------------------------------------------- /SDXL/encode_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/encode_prompt.py -------------------------------------------------------------------------------- /SDXL/sdxl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/SDXL/sdxl.py -------------------------------------------------------------------------------- /checkpoints/model_zoo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/checkpoints/model_zoo.md -------------------------------------------------------------------------------- /demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/demo.py -------------------------------------------------------------------------------- /eval/classification/cifar/cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/cifar/cifar10.py -------------------------------------------------------------------------------- /eval/classification/cifar/cifar100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/cifar/cifar100.py -------------------------------------------------------------------------------- /eval/classification/cifar/templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/cifar/templates.py -------------------------------------------------------------------------------- /eval/classification/imagenet/categories.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/imagenet/categories.txt -------------------------------------------------------------------------------- /eval/classification/imagenet/classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/imagenet/classes.py -------------------------------------------------------------------------------- /eval/classification/imagenet/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/imagenet/data_loader.py -------------------------------------------------------------------------------- /eval/classification/imagenet/imagenet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/imagenet/imagenet.py -------------------------------------------------------------------------------- /eval/classification/imagenet/templates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/classification/imagenet/templates.py -------------------------------------------------------------------------------- /eval/retrieval/Urban1k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/retrieval/Urban1k.py -------------------------------------------------------------------------------- /eval/retrieval/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/retrieval/coco.py -------------------------------------------------------------------------------- /eval/retrieval/flickr30k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/eval/retrieval/flickr30k.py -------------------------------------------------------------------------------- /img/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/img/demo.png -------------------------------------------------------------------------------- /img/demo_SDXL.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/img/demo_SDXL.png -------------------------------------------------------------------------------- /img/framework.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/img/framework.PNG -------------------------------------------------------------------------------- /img/generation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/img/generation.png -------------------------------------------------------------------------------- /img/retrieval.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/img/retrieval.png -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | from .longclip import * 2 | -------------------------------------------------------------------------------- /model/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/model/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /model/longclip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/model/longclip.py -------------------------------------------------------------------------------- /model/model_longclip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/model/model_longclip.py -------------------------------------------------------------------------------- /model/simple_tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/model/simple_tokenizer.py -------------------------------------------------------------------------------- /open_clip_long/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/__init__.py -------------------------------------------------------------------------------- /open_clip_long/big_vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/big_vision.py -------------------------------------------------------------------------------- /open_clip_long/bpe_simple_vocab_16e6.txt.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/bpe_simple_vocab_16e6.txt.gz -------------------------------------------------------------------------------- /open_clip_long/coca_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/coca_model.py -------------------------------------------------------------------------------- /open_clip_long/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/constants.py -------------------------------------------------------------------------------- /open_clip_long/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/factory.py -------------------------------------------------------------------------------- /open_clip_long/hf_configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/hf_configs.py -------------------------------------------------------------------------------- /open_clip_long/hf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/hf_model.py -------------------------------------------------------------------------------- /open_clip_long/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/loss.py -------------------------------------------------------------------------------- /open_clip_long/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model.py -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA01-g-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA01-g-14-plus.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA01-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA01-g-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA02-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA02-B-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA02-E-14-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA02-E-14-plus.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA02-E-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA02-E-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA02-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA02-L-14-336.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/EVA02-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/EVA02-L-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN101-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN101-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN101.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN101.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN50-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN50-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN50.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN50.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN50x16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN50x16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN50x4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN50x4.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/RN50x64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/RN50x64.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-SigLIP-512.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-SigLIP-512.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-SigLIP-i18n-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-SigLIP-i18n-256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-SigLIP.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-SigLIP.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-plus-240.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-plus-240.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-plus.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-plus.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-32-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-32-256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-32-plus-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-32-plus-256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-32-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-32-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-14-378-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-14-378-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-H-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-H-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14-280.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14-280.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14-336.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14-quickgelu.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14-quickgelu.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-16-320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-16-320.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-16-SigLIP-256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-16-SigLIP-256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-16-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-16-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-L-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-L-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-M-16-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-M-16-alt.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-M-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-M-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-M-32-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-M-32-alt.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-M-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-M-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-S-16-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-S-16-alt.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-S-16.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-S-16.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-S-32-alt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-S-32-alt.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-S-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-S-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-SO400M-14-SigLIP-384.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-SO400M-14-SigLIP-384.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-SO400M-14-SigLIP.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-SO400M-14-SigLIP.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-bigG-14-CLIPA-336.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-bigG-14-CLIPA-336.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-bigG-14-CLIPA.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-bigG-14-CLIPA.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-bigG-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-bigG-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-e-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-e-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/ViT-g-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/ViT-g-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/coca_ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/coca_ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/coca_ViT-L-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/coca_ViT-L-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/coca_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/coca_base.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/coca_roberta-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/coca_roberta-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_base.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_base_w.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_base_w.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_base_w_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_base_w_320.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_large.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_large_d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_large_d.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_large_d_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_large_d_320.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_small.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_small.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_tiny.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_tiny.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_xlarge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_xlarge.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_xxlarge.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_xxlarge.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/convnext_xxlarge_320.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/convnext_xxlarge_320.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/mt5-base-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/mt5-base-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/mt5-xl-ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/mt5-xl-ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/nllb-clip-base-siglip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/nllb-clip-base-siglip.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/nllb-clip-base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/nllb-clip-base.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/nllb-clip-large-siglip.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/nllb-clip-large-siglip.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/nllb-clip-large.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/nllb-clip-large.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/roberta-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/roberta-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/swin_base_patch4_window7_224.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/swin_base_patch4_window7_224.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/vit_medium_patch16_gap_256.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/vit_medium_patch16_gap_256.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/vit_relpos_medium_patch16_cls_224.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/vit_relpos_medium_patch16_cls_224.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/xlm-roberta-base-ViT-B-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/xlm-roberta-base-ViT-B-32.json -------------------------------------------------------------------------------- /open_clip_long/model_configs/xlm-roberta-large-ViT-H-14.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/model_configs/xlm-roberta-large-ViT-H-14.json -------------------------------------------------------------------------------- /open_clip_long/modified_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/modified_resnet.py -------------------------------------------------------------------------------- /open_clip_long/openai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/openai.py -------------------------------------------------------------------------------- /open_clip_long/pos_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/pos_embed.py -------------------------------------------------------------------------------- /open_clip_long/pretrained.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/pretrained.py -------------------------------------------------------------------------------- /open_clip_long/push_to_hf_hub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/push_to_hf_hub.py -------------------------------------------------------------------------------- /open_clip_long/timm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/timm_model.py -------------------------------------------------------------------------------- /open_clip_long/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/tokenizer.py -------------------------------------------------------------------------------- /open_clip_long/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/transform.py -------------------------------------------------------------------------------- /open_clip_long/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/transformer.py -------------------------------------------------------------------------------- /open_clip_long/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/utils.py -------------------------------------------------------------------------------- /open_clip_long/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '2.24.0' 2 | -------------------------------------------------------------------------------- /open_clip_long/zero_shot_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/zero_shot_classifier.py -------------------------------------------------------------------------------- /open_clip_long/zero_shot_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/open_clip_long/zero_shot_metadata.py -------------------------------------------------------------------------------- /train/scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/scheduler.py -------------------------------------------------------------------------------- /train/sharegpt4v.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/sharegpt4v.py -------------------------------------------------------------------------------- /train/train.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/train.md -------------------------------------------------------------------------------- /train/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/train.py -------------------------------------------------------------------------------- /train/train_slurm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/train_slurm.sh -------------------------------------------------------------------------------- /train/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beichenzbc/Long-CLIP/HEAD/train/utils.py --------------------------------------------------------------------------------