apple / TiC-CLIP-basic-sequential

huggingface.co
Total runs: 128
24-hour runs: 20
7-day runs: -34
30-day runs: -81
Model's Last Updated: February 25 2025
zero-shot-image-classification

Introduction of TiC-CLIP-basic-sequential

Model Details of TiC-CLIP-basic-sequential

Model Card for TiC-CLIP-basic-sequential

This repository contains TiC-CLIP models trained on TiC-DataComp-Yearly (xlarge, basic filtering) with data from 2014 to 2022 using our modified OpenCLIP code. For additional information refer to our GitHub repo .

Model Details
Model Description

Keeping large foundation models up to date on latest data is inherently expensive. To avoid the prohibitive costs of constantly retraining, it is imperative to continually train these models. This problem is exacerbated by the lack of any large scale continual learning benchmarks or baselines. We introduce the first set of web-scale Time-Continual (TiC) benchmarks for training vision-language models: TiC-DataComp, TiC-YFCC, and TiC-Redcaps. TiC-DataComp, our largest dataset, contains over 12.7B timestamped image-text pairs spanning 9 years (2014-2022). We first use our benchmarks to curate various dynamic evaluations to measure temporal robustness of existing models. We show OpenAI's CLIP (trained on data up to 2020) loses ≈8% zero-shot accuracy on our curated retrieval task from 2021-2022 compared with more recently trained models in OpenCLIP repository. We then study how to efficiently train models on time-continuous data. We demonstrate that a simple rehearsal-based approach that continues training from the last checkpoint and replays old data reduces compute by 2.5× when compared to the standard practice of retraining from scratch. Code is available at this https URL .

Model Sources [optional]
Uses

Researchers can use TiC-CLIP pretrained models for faster design of continual learning methods by start from a pretrained checkpoint and continually train on the next year or next month data.

How to Get Started with the Model

The models are compatible with DataComp evaluation suite and our patched version of DataComp for evaluation on TiC-DataComp-Retrieval and TiC-DataCompNet. The models can also be used to resume a training or as initialization for new training using OpenCLIP code. Please follow instructions in our GitHub repo to create the evaluation sets or follow DataComp for the standard evaluations on 38 datasets.

The following snippet assumes the TiC-DataComp data has been prepared and following the instructions in the GitHub repo.

Training
YEAR=2016 # There are no models before 2016 since data from 2014-2016 were compined into one year
REPO="apple/TiC-CLIP-basic-sequential"
huggingface-cli download $REPO checkpoints/$YEAR.pt

## Train
pushd datacomp
final_data_dir=$TIC_DATACOMP_Y_PATH/train/$YEAR/
torchrun --nproc_per_node 8 --nnodes 1 \
    train.py \
    --scale "tic_medium" \
    --dataset_resampled \
    --data_dir $final_data_dir \
    --output_dir "./results/" \
    --exp_name "datacomp_medium-basic_cumulative" \
    --imagenet_val  $IMAGENET_VAL_PATH  \
    --save_frequency 1 \
    --resume
popd
Evaluation
## Evaluate Model
# Evaluate a ViT-B/16 model on TiC/Retrieval/Yearly/$YEAR and
# TiC/DataCompNet/Yearly/$YEAR
pushd datacomp
python ../dataset_creation/tic-datacomp/generate_tasklist.py --yaml-path tasklist.yml --sample-eval --eval-tasks retrieval/yearly,datacompnet/yearly
python evaluate.py --data_dir data/ --train_output_dir ./results --use_model "ViT-B-16 $YEAR.pt" --skip_hf --skip_db --skip_notification
OpenCLIP Load and Inference Example
import open_clip
from huggingface_hub import hf_hub_download
filename = hf_hub_download(repo_id="apple/TiC-CLIP-basic-sequential", filename="checkpoints/2016.pt")
model, _, preprocess = open_clip.create_model_and_transforms('ViT-B-16', filename)
tokenizer = open_clip.get_tokenizer('ViT-B-16')

image = preprocess(Image.open("image.png").convert('RGB')).unsqueeze(0)
text = tokenizer(["a diagram", "a dog", "a cat"])

with torch.no_grad(), torch.cuda.amp.autocast():
    image_features = model.encode_image(image)
    text_features = model.encode_text(text)
    image_features /= image_features.norm(dim=-1, keepdim=True)
    text_features /= text_features.norm(dim=-1, keepdim=True)

    text_probs = (100.0 * image_features @ text_features.T).softmax(dim=-1)

print("Label probs:", text_probs)
Training Details
Training Data

Please refer to TiC-DataComp .

Training Procedure

Please refer to Sections 2-3 of our TiC-CLIP paper.

Citation

TiC-CLIP: Continual Training of CLIP Models . (ICLR 2024) Garg, S., Farajtabar, M., Pouransari, H., Vemulapalli, R., Mehta, S., Tuzel, O., Shankar, V. and Faghri, F..

@inproceedings{garg2024tic,
  title={TiC-CLIP: Continual Training of CLIP Models},
  author={Garg, Saurabh and Farajtabar, Mehrdad and Pouransari, Hadi and Vemulapalli, Raviteja and Mehta, Sachin and Tuzel, Oncel and Shankar, Vaishaal and Faghri, Fartash},
  booktitle={The Twelfth International Conference on Learning Representations (ICLR)},
  year={2024},
  url={https://openreview.net/forum?id=TLADT8Wrhn}
}

Runs of apple TiC-CLIP-basic-sequential on huggingface.co

128
Total runs
20
24-hour runs
-1
3-day runs
-34
7-day runs
-81
30-day runs

More Information About TiC-CLIP-basic-sequential huggingface.co Model

More TiC-CLIP-basic-sequential license Visit here:

https://choosealicense.com/licenses/custom-apple-license

TiC-CLIP-basic-sequential huggingface.co

TiC-CLIP-basic-sequential huggingface.co is an AI model on huggingface.co that provides TiC-CLIP-basic-sequential's model effect (), which can be used instantly with this apple TiC-CLIP-basic-sequential model. huggingface.co supports a free trial of the TiC-CLIP-basic-sequential model, and also provides paid use of the TiC-CLIP-basic-sequential. Support call TiC-CLIP-basic-sequential model through api, including Node.js, Python, http.

TiC-CLIP-basic-sequential huggingface.co Url

https://huggingface.co/apple/TiC-CLIP-basic-sequential

apple TiC-CLIP-basic-sequential online free

TiC-CLIP-basic-sequential huggingface.co is an online trial and call api platform, which integrates TiC-CLIP-basic-sequential's modeling effects, including api services, and provides a free online trial of TiC-CLIP-basic-sequential, you can try TiC-CLIP-basic-sequential online for free by clicking the link below.

apple TiC-CLIP-basic-sequential online free url in huggingface.co:

https://huggingface.co/apple/TiC-CLIP-basic-sequential

TiC-CLIP-basic-sequential install

TiC-CLIP-basic-sequential is an open source model from GitHub that offers a free installation service, and any user can find TiC-CLIP-basic-sequential on GitHub to install. At the same time, huggingface.co provides the effect of TiC-CLIP-basic-sequential install, users can directly use TiC-CLIP-basic-sequential installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

TiC-CLIP-basic-sequential install url in huggingface.co:

https://huggingface.co/apple/TiC-CLIP-basic-sequential

Url of TiC-CLIP-basic-sequential

TiC-CLIP-basic-sequential huggingface.co Url

Provider of TiC-CLIP-basic-sequential huggingface.co

apple
ORGANIZATIONS

Other API from apple

huggingface.co

Total runs: 29.5K
Run Growth: 7.8K
Growth Rate: 26.32%
Updated:March 01 2025
huggingface.co

Total runs: 20.3K
Run Growth: 15.4K
Growth Rate: 76.01%
Updated:September 03 2025
huggingface.co

Total runs: 10.0K
Run Growth: 5.0K
Growth Rate: 50.99%
Updated:March 01 2025
huggingface.co

Total runs: 8.1K
Run Growth: -1.3M
Growth Rate: -15073.82%
Updated:February 25 2025
huggingface.co

Total runs: 6.9K
Run Growth: 6.7K
Growth Rate: 97.02%
Updated:July 26 2024
huggingface.co

Total runs: 3.5K
Run Growth: -2.1K
Growth Rate: -56.30%
Updated:March 01 2025
huggingface.co

Total runs: 3.3K
Run Growth: -3.7K
Growth Rate: -110.05%
Updated:December 19 2025
huggingface.co

Total runs: 2.0K
Run Growth: -755
Growth Rate: -38.50%
Updated:September 03 2025
huggingface.co

Total runs: 1.8K
Run Growth: 266
Growth Rate: 14.60%
Updated:September 03 2025
huggingface.co

Total runs: 1.6K
Run Growth: 743
Growth Rate: 45.14%
Updated:March 01 2025
huggingface.co

Total runs: 307
Run Growth: 94
Growth Rate: 29.84%
Updated:March 01 2025
huggingface.co

Total runs: 273
Run Growth: 214
Growth Rate: 78.39%
Updated:April 25 2026
huggingface.co

Total runs: 267
Run Growth: -3
Growth Rate: -1.12%
Updated:March 01 2025
huggingface.co

Total runs: 188
Run Growth: 62
Growth Rate: 33.16%
Updated:October 10 2025
huggingface.co

Total runs: 162
Run Growth: -770
Growth Rate: -481.25%
Updated:June 14 2024
huggingface.co

Total runs: 133
Run Growth: 7
Growth Rate: 5.15%
Updated:September 03 2025
huggingface.co

Total runs: 107
Run Growth: -9
Growth Rate: -7.96%
Updated:October 10 2025
huggingface.co

Total runs: 83
Run Growth: -55
Growth Rate: -66.27%
Updated:September 03 2025
huggingface.co

Total runs: 73
Run Growth: -54
Growth Rate: -71.05%
Updated:March 01 2025
huggingface.co

Total runs: 70
Run Growth: 65
Growth Rate: 92.86%
Updated:April 15 2026
huggingface.co

Total runs: 65
Run Growth: 1.7K
Growth Rate: 99.19%
Updated:March 01 2025
huggingface.co

Total runs: 63
Run Growth: 28
Growth Rate: 44.44%
Updated:March 01 2025
huggingface.co

Total runs: 57
Run Growth: 52
Growth Rate: 91.23%
Updated:March 01 2025
huggingface.co

Total runs: 55
Run Growth: -35
Growth Rate: -67.31%
Updated:August 02 2024
huggingface.co

Total runs: 45
Run Growth: -6
Growth Rate: -13.33%
Updated:April 15 2026
huggingface.co

Total runs: 37
Run Growth: 7
Growth Rate: 18.92%
Updated:October 10 2025
huggingface.co

Total runs: 34
Run Growth: 28
Growth Rate: 82.35%
Updated:March 01 2025
huggingface.co

Total runs: 31
Run Growth: 25
Growth Rate: 80.65%
Updated:March 01 2025