Downloads · 30 days
0
Jwpqkh/TIC-FM
TIC-FM is a machine learning model from Jwpqkh. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
TIC-FM is a time series classification foundation model that replaces the conventional frozen-encoder-plus-task-specific-classifier pipeline with in-context inference. At deployment, TIC-FM treats the labeled training…
Downloads · 30 days
0
Access
Public
Updated Sep 29, 2026
Repo size
241 MB
Likes
2
Public
Click a slice to open those files.
.pt241 MB · 100%
From the Hugging Face model README
TIC-FM is a time series classification foundation model that replaces the conventional frozen-encoder-plus-task-specific-classifier pipeline with in-context inference. At deployment, TIC-FM treats the labeled training split as context and predicts labels for the query/test split without fitting a new classifier or updating model parameters.
Paper · Code · ICML FMSD 2026 workshop paper
TIC-FM contains three main components:
The released checkpoint supports parallel context–query inference and cyclic label-permutation ensembling. Its main configuration is summarized below.
| Component | Configuration |
|---|---|
| Input length | 512 |
| Time series embedding dimension | 512 |
| Time series encoder | 6 Transformer layers |
| Projection adapter | 512 → 1024 → 512 |
| In-context Transformer | 12 blocks, 4 attention heads |
| Latent memory | 32 latent tokens; 2 write and 2 read layers |
| Direct class capacity | Up to 10 classes |
Tasks with more than 10 classes are handled by the hierarchical class-extension procedure implemented in the evaluation pipeline.
| File | Description |
|---|---|
TSEncoder_orion_icl_full.pt | TIC-FM model checkpoint |
TSEncoder_orion_icl_model_hparams.json | Architecture and checkpoint configuration |
This repository contains model weights and configuration only. Model definitions, data loading, preprocessing, and evaluation scripts are provided in the official code repository.
git clone https://github.com/fangjuntao/TIC-FM.git
cd TIC-FM
conda env create -f environment.yml
conda activate TICFS
pip install -U huggingface_hub
hf download Jwpqkh/TIC-FM \
TSEncoder_orion_icl_full.pt \
TSEncoder_orion_icl_model_hparams.json \
--local-dir checkpoints
The same files can be downloaded in Python:
from huggingface_hub import hf_hub_download
checkpoint_path = hf_hub_download(
repo_id="Jwpqkh/TIC-FM",
filename="TSEncoder_orion_icl_full.pt",
)
hparams_path = hf_hub_download(
repo_id="Jwpqkh/TIC-FM",
filename="TSEncoder_orion_icl_model_hparams.json",
)
print(checkpoint_path)
print(hparams_path)
Download the UCR archive and run the evaluation script from the project root:
python scripts/eval_TSEncoder_orion_icl_classifier_ucr_full.py \
--suite ucr \
--mode classifier_v2 \
--ucr_path /path/to/UCRdata/ \
--full_ckpt checkpoints/TSEncoder_orion_icl_full.pt \
--model_hparams_json checkpoints/TSEncoder_orion_icl_model_hparams.json
To evaluate a single dataset:
python scripts/eval_TSEncoder_orion_icl_classifier_ucr_full.py \
--suite ucr \
--dataset ECG200 \
--mode classifier_v2 \
--ucr_path /path/to/UCRdata/ \
--full_ckpt checkpoints/TSEncoder_orion_icl_full.pt \
--model_hparams_json checkpoints/TSEncoder_orion_icl_model_hparams.json
Useful arguments include --support_size, --query_batch_size, and --softmax_temperature. See the code repository for the complete evaluation interface.
TIC-FM is trained in three stages:
No UCR test split is used for checkpoint training. Therefore, this released checkpoint corresponds to the main TIC-FM model rather than the fully synthetic TIC-FM (Syn.) variant.
The model is evaluated on all 128 datasets in the UCR archive using the official train/test splits. The official training split is supplied as labeled context, and the test split is treated as unlabeled queries. TIC-FM performs inference without fitting a dataset-specific classifier.
| Model | Target-specific classifier fitting | Average accuracy | Mean rank |
|---|---|---|---|
| TIC-FM | No | 80.01% | 3.59 |
These results are taken from version 2 of the accompanying arXiv paper. Refer to the paper for baselines, per-dataset results, low-label protocols, statistical analysis, and complete experimental settings.
TIC-FM is evaluated in the TSC-FM time series classification foundation model benchmark. See its model configurations and benchmark results, compare matching settings on the time series classification leaderboard, and consult the Standard and few-shot evaluation protocol.
TIC-FM is intended for:
transformers.pipeline.If you use this checkpoint, please cite the following papers.
@article{fang2026rethinking,
title = {Rethinking Zero-Shot Time Series Classification:
From Task-specific Classifiers to In-Context Inference},
author = {Fang, Juntao and Xie, Shifeng and Nie, Shengbin and
Ling, Yuhui and Liu, Yuming and Li, Zijian and Zhang, Keli and
Pan, Lujia and Palpanas, Themis and Cai, Ruichu},
journal = {arXiv preprint arXiv:2602.00620},
year = {2026}
}
@inproceedings{fang2026beyond,
title = {Beyond Task-Specific Classifiers:
In-Context Inference for Time Series Classification
Foundation Models},
author = {Fang, Juntao and Xie, Shifeng and Nie, Shengbin and
Ling, Yuhui and Liu, Yuming and Li, Zijian and Zhang, Keli and
Pan, Lujia and Palpanas, Themis and Cai, Ruichu},
booktitle = {2nd ICML Workshop on Foundation Models for Structured Data},
year = {2026},
url = {https://openreview.net/forum?id=HVvARHEA9M}
}
The TIC-FM model checkpoint is released under the MIT License. Third-party components remain subject to their respective licenses.
For questions or issues, please open an issue in the official code repository.