Instructions to use thu-sail-lab/Time-RCD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thu-sail-lab/Time-RCD with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="thu-sail-lab/Time-RCD", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("thu-sail-lab/Time-RCD", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,056 Bytes
0880420 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | [build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "time-rcd"
version = "0.1.0"
description = "Zero-shot time series anomaly detection with Time-RCD"
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "THU SAIL Lab" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"einops>=0.7.0",
"huggingface_hub>=0.20.0",
"jaxtyping>=0.2.25",
"numpy>=1.24.0",
"torch>=2.0.0",
]
[project.urls]
Homepage = "https://github.com/thu-sail-lab/Time-RCD"
Repository = "https://github.com/thu-sail-lab/Time-RCD"
[tool.setuptools]
packages = ["time_rcd", "time_rcd._core"]
|