{"id":9701119,"url":"https://github.com/SaberaTalukder/TOTEM","last_synced_at":"2025-08-26T11:31:27.987Z","repository":{"id":239863792,"uuid":"763979551","full_name":"SaberaTalukder/TOTEM","owner":"SaberaTalukder","description":"The official code 👩‍💻 for - TOTEM: TOkenized Time Series EMbeddings for General Time Series Analysis","archived":false,"fork":false,"pushed_at":"2025-02-20T18:48:44.000Z","size":67,"stargazers_count":225,"open_issues_count":0,"forks_count":34,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-02-20T19:31:48.061Z","etag":null,"topics":["foundation-models","representation-learning","time-series","time-series-analysis","time-series-anomaly-detection","time-series-forecasting","time-series-foundation-model","time-series-imputation","tokenization"],"latest_commit_sha":null,"homepage":"https://arxiv.org/pdf/2402.16412.pdf","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SaberaTalukder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-27T09:06:34.000Z","updated_at":"2025-02-20T18:48:54.000Z","dependencies_parsed_at":"2024-05-15T21:06:02.117Z","dependency_job_id":null,"html_url":"https://github.com/SaberaTalukder/TOTEM","commit_stats":null,"previous_names":["saberatalukder/totem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SaberaTalukder/TOTEM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaberaTalukder%2FTOTEM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaberaTalukder%2FTOTEM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaberaTalukder%2FTOTEM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaberaTalukder%2FTOTEM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaberaTalukder","download_url":"https://codeload.github.com/SaberaTalukder/TOTEM/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaberaTalukder%2FTOTEM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272214419,"owners_count":24893201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["foundation-models","representation-learning","time-series","time-series-analysis","time-series-anomaly-detection","time-series-forecasting","time-series-foundation-model","time-series-imputation","tokenization"],"created_at":"2024-05-15T19:03:36.910Z","updated_at":"2025-08-26T11:31:27.969Z","avatar_url":"https://github.com/SaberaTalukder.png","language":"Python","funding_links":[],"categories":["Python","❖ Must-Read Papers on Time-Series Imputation"],"sub_categories":["`Year 2024`"],"readme":"# TOTEM: TOkenized Time series EMbeddings for General Time Series Analysis\nTOTEM explores time series unification through discrete tokens (not patches!!). Its simple VQVAE backbone learns a self-supervised, discrete, codebook in either a generalist (multiple domains) or specialist (1 domain) manner.\nTOTEM's codebook can then be tested on in domain or zero shot data with many 🔥 time series tasks.\n\nFor a high level overview see the [video recap](https://www.youtube.com/watch?v=OqrCpdb6MJk).\nCheck out the [paper](https://arxiv.org/pdf/2402.16412.pdf) for more details!\n\n## Get Started with TOTEM 💪\n\n### 1. Setup your environment 🤓\n```\npip install -r requirements.txt\n```\n\n### 2. Get the [data](https://drive.google.com/drive/u/0/folders/1gI36rS8irRZ32ibzKBPGncDmMXQtEf1C) ⏳\n\n### 3. Run TOTEM 🚀\n\n```\n# Imputation Specialist\nimputation/scripts/electricity.sh or ETTh1.sh or ETTh2.sh or ETTm1.sh or ETTm2.sh or weather.sh\n\n# Imputation Generalist\nimputation/scripts/all.sh\n\n# Anomaly Detection Specialist\nanomaly_detection/scripts/msl.sh or psm.sh or smap.sh or smd.sh or swat.sh\n\n# Anomaly Detection Generalist\nanomaly_detection/scripts/all.sh\n\n# Forecasting Specialist\nforecasting/scripts/electricity.sh or ETTh1.sh or ETTh2.sh or ETTm1.sh or ETTm2.sh or weather.sh or traffic.sh\n\n# Forecasting Generalist\nforecasting/scripts/all.sh\n\n# Process Zero Shot Data\nprocess_zero_shot_data/scripts/neuro2.sh or neuro5.sh or saugeen.sh or sunspot.sh or us_births.sh\n```\n\n### 4. Model Zoo (a.k.a Pretrained Models) 🦑🐯🐊🐳\nFind the pretrained generalist tokenizers [here](https://drive.google.com/drive/u/0/folders/1TSwPHDMAhcpe2AKl4xsVbUUmAvd_Tp-Z).\nRead some notes on usage [here](https://docs.google.com/document/d/1GbqYFBsTZWKoXu2yFs49sP9X311q8BsnjNsfHYYN_Wg/edit?tab=t.0).\n\n\n## Cite If You ❤️ TOTEM\n\n```\n@article{\ntalukder2024totem,\ntitle={{TOTEM}: {TO}kenized Time Series {EM}beddings for General Time Series Analysis},\nauthor={Sabera J Talukder and Yisong Yue and Georgia Gkioxari},\njournal={Transactions on Machine Learning Research},\nissn={2835-8856},\nyear={2024},\nurl={https://openreview.net/forum?id=QlTLkH6xRC},\nnote={}\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaberaTalukder%2FTOTEM","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSaberaTalukder%2FTOTEM","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSaberaTalukder%2FTOTEM/lists"}