google-research/timesfm
View on GitHub ↗
Internal79
Unique within the repo — the other 21% repeats across its own files.
Public60
Unique across all public code — a further 19% is its own but appears in other public repos too.
Original and tidy — it rarely repeats itself, and little of it turns up in other public code. About as close to genuinely its own work as this metric can measure.
Worth consolidating — in the code
Real, actionable duplication in this repo's source, most concrete first.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 76% | 732 | google-research/timesfm/src/timesfm/utils/xreg_lib.py |
google-research/timesfm/v1/src/timesfm/xreg_lib.py |
same repo |
| 31% | 483 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_base.py |
google-research/timesfm/v1/src/timesfm/timesfm_base.py |
same repo |
| 23% | 431 | google-research/timesfm/v1/src/timesfm/patched_decoder.py |
google-research/timesfm/v1/src/timesfm/pytorch_patched_decoder.py |
same repo |
| 31% | 397 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_flax.py |
google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_torch.py |
same repo |
| 43% | 354 | google-research/timesfm/src/timesfm/flax/transformer.py |
google-research/timesfm/src/timesfm/torch/transformer.py |
same repo |
| 46% | 315 | google-research/timesfm/v1/src/timesfm/timesfm_jax.py |
google-research/timesfm/v1/src/timesfm/timesfm_torch.py |
same repo |
| 15% | 255 | google-research/timesfm/v1/src/timesfm/timesfm_base.py |
google-research/timesfm/v1/src/timesfm/timesfm_jax.py |
same repo |
| 15% | 227 | google-research/timesfm/v1/src/timesfm/timesfm_base.py |
google-research/timesfm/v1/src/timesfm/timesfm_torch.py |
same repo |
| 10% | 208 | google-research/timesfm/src/timesfm/utils/xreg_lib.py |
google-research/timesfm/v1/src/timesfm/timesfm_base.py |
same repo |
| 9% | 184 | google-research/timesfm/v1/src/timesfm/timesfm_base.py |
google-research/timesfm/v1/src/timesfm/xreg_lib.py |
same repo |
| 76% | 178 | google-research/timesfm/v1/src/adapter/dora_layers.py |
google-research/timesfm/v1/src/adapter/lora_layers.py |
same repo |
| 10% | 166 | google-research/timesfm/src/timesfm/torch/transformer.py |
google-research/timesfm/v1/src/timesfm/pytorch_patched_decoder.py |
same repo |
| 11% | 161 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_base.py |
google-research/timesfm/src/timesfm/utils/xreg_lib.py |
same repo |
| 63% | 159 | google-research/timesfm/v1/experiments/extended_benchmarks/run_timegpt.py |
google-research/timesfm/v1/experiments/extended_benchmarks/run_timesfm.py |
same repo |
| 11% | 157 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_base.py |
google-research/timesfm/v1/src/timesfm/xreg_lib.py |
same repo |
| 7% | 147 | google-research/timesfm/v1/src/timesfm/patched_decoder.py |
google-research/timesfm/v1/src/timesfm/timesfm_base.py |
same repo |
| 6% | 144 | google-research/timesfm/v1/src/timesfm/pytorch_patched_decoder.py |
google-research/timesfm/v1/src/timesfm/timesfm_base.py |
same repo |
| 15% | 140 | google-research/timesfm/v1/experiments/long_horizon_benchmarks/run_eval.py |
google-research/timesfm/v1/peft/finetune.py |
same repo |
| 10% | 135 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_base.py |
google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_torch.py |
same repo |
| 7% | 135 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_torch.py |
google-research/timesfm/v1/src/timesfm/pytorch_patched_decoder.py |
same repo |
Docs & prose
Near-identical documentation — often translations (e.g. README.md ⇄ README_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 6% | 113 | google-research/timesfm/timesfm-forecasting/SKILL.md |
google-research/timesfm/timesfm-forecasting/references/api_reference.md |
same repo |
| 20% | 107 | google-research/timesfm/v1/experiments/extended_benchmarks/README.md |
google-research/timesfm/v1/experiments/long_horizon_benchmarks/README.md |
same repo |
| 6% | 82 | google-research/timesfm/README.md |
google-research/timesfm/v1/README.md |
same repo |
| 4% | 82 | google-research/timesfm/timesfm-forecasting/SKILL.md |
google-research/timesfm/v1/README.md |
same repo |
| 5% | 77 | google-research/timesfm/README.md |
google-research/timesfm/timesfm-forecasting/SKILL.md |
same repo |
| 4% | 71 | google-research/timesfm/timesfm-forecasting/SKILL.md |
google-research/timesfm/timesfm-forecasting/references/system_requirements.md |
same repo |
| 4% | 69 | google-research/timesfm/timesfm-forecasting/SKILL.md |
google-research/timesfm/timesfm-forecasting/references/data_preparation.md |
same repo |
Largest files
Largest files
| LOC | File | Status |
|---|---|---|
| 787 | google-research/timesfm/v1/src/timesfm/pytorch_patched_decoder.py | indexed |
| 738 | google-research/timesfm/timesfm-forecasting/scripts/check_system.py | indexed |
| 736 | google-research/timesfm/v1/src/timesfm/timesfm_base.py | indexed |
| 614 | google-research/timesfm/src/timesfm/timesfm_2p5/timesfm_2p5_flax.py | indexed |
| 568 | google-research/timesfm/timesfm-forecasting/examples/covariates-forecasting/demo_covariates.py | indexed |
| 544 | google-research/timesfm/timesfm-forecasting/examples/global-temperature/generate_html.py | indexed |
| 543 | google-research/timesfm/v1/src/timesfm/patched_decoder.py | indexed |
| 524 | google-research/timesfm/timesfm-forecasting/examples/anomaly-detection/detect_anomalies.py | indexed |
| 520 | google-research/timesfm/src/timesfm/utils/xreg_lib.py | indexed |
| 511 | google-research/timesfm/timesfm-forecasting/SKILL.md | indexed |