SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.10835 · 2024

Time Series Forecasting with LLMs: Understanding and Enhancing Model Capabilities

arXiv · PDF · Open in the Atlas

Code that ran

10 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 12 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2402.10835.json · badge: /api/ran/2402.10835.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mingyuj666/time-series-forecasting-with-llms canonical (classifier label)
classifier basis: census
10 ran · 12 no recorded run
FunctionStatusWhere it lives
get_avg_tokens_per_step Ran
ran, honoured the contract we drafted
mingyuj666/time-series-forecasting-with-llms/models/promptcast.py
pointer only (licence: NONE) · get_code("a43c0e795f42a4e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_chunked_AR_likelihoods Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/models/darts.py
pointer only (licence: NONE) · get_code("f9f0267039a3e10c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_gp_predictions_data Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mingyuj666/time-series-forecasting-with-llms/models/gaussian_process.py
pointer only (licence: NONE) · get_code("c9d4277557a5ad48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_scaler Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mingyuj666/time-series-forecasting-with-llms/models/llmtime.py
pointer only (licence: NONE) · get_code("ddf3ae386381837b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

handle_prediction Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
mingyuj666/time-series-forecasting-with-llms/models/llmtime.py
pointer only (licence: NONE) · get_code("e2334c5cdd64f02f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

llama2_model_string Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/models/llama.py
pointer only (licence: NONE) · get_code("ea3f2a9058322ab1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

metrics_used Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/utils_others.py
pointer only (licence: NONE) · get_code("c0e90befe3def690")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

paraphrase_seq2lan Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/utils_paragraph.py
pointer only (licence: NONE) · get_code("1584833dcf9cb539")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

test_gp Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/models/gaussian_process.py
pointer only (licence: NONE) · get_code("a944775a44d34a92")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

unflatten Ran
ran; our contract draft was wrong, not the code
mingyuj666/time-series-forecasting-with-llms/models/utils.py
pointer only (licence: NONE) · get_code("fbf4f5f91d7ae546")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

describe_change Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/utils_paragraph.py
pointer only (licence: NONE) · get_code("697cdd488db56658")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

evaluate_hyper Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/validation_likelihood_tuning.py
pointer only (licence: NONE) · get_code("2a86130b6c290600")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

flatten Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/utils.py
pointer only (licence: NONE) · get_code("4d2db8ac4af8bffc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_allowed_ids Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/gpt.py
pointer only (licence: NONE) · get_code("07a1ec7a6c69ed48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_model_and_tokenizer Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/llama.py
pointer only (licence: NONE) · get_code("42592f351c8e9f61")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_token_ids Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/promptcast.py
pointer only (licence: NONE) · get_code("013b729b67771afc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_tokenizer Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/llama.py
pointer only (licence: NONE) · get_code("cfe13ed62ca54e83")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

make_validation_dataset Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/validation_likelihood_tuning.py
pointer only (licence: NONE) · get_code("3ead7ce217600482")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

paraphrase_initial Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/utils_paragraph.py
pointer only (licence: NONE) · get_code("7c64b8e59c3fb35b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

sample_config Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/utils.py
pointer only (licence: NONE) · get_code("3aae9ed7e6ed94d4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

tokenize_fn Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/gpt.py
pointer only (licence: NONE) · get_code("0974c070244bffa0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train_gp Not yet run
unverified (harvested, no recorded run)
mingyuj666/time-series-forecasting-with-llms/models/gaussian_process.py
pointer only (licence: NONE) · get_code("76c5dcef347a5103")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, mingyuj666/time-series-forecasting-with-llms when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 21 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_scaler 1 other paper
1 later
2603.02913 (2026-03)
Eliciting Numerical Predictive Distributions of LLMs Without Autoregression

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large language models (LLMs) have been applied in many fields and have developed rapidly in recent years. As a classic machine learning task, time series forecasting has recently been boosted by LLMs. Recent works treat large language models as \emph{zero-shot} time series reasoners without further fine-tuning, which achieves remarkable performance. However, there are some unexplored research problems when applying LLMs for time series forecasting under the zero-shot setting. For instance, the LLMs' preferences for the input time series are less understood. In this paper, by comparing LLMs with traditional time series forecasting models, we observe many interesting properties of LLMs in the context of time series forecasting. First, our study shows that LLMs perform well in predicting time series with clear patterns and trends, but face challenges with datasets lacking periodicity. This observation can be explained by the ability of LLMs to recognize the underlying period within datasets, which is supported by our experiments. In addition, the input strategy is investigated, and it is found that incorporating external knowledge and adopting natural language paraphrases substantially improve the predictive performance of LLMs for time series. Overall, our study contributes insight into LLMs' advantages and limitations in time series forecasting under different conditions.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2402.10835")
get_code_for_paper("2402.10835")
have("2402.10835")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2402.10835.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2402.10835.svg)](https://syntology.ai/paper/2402.10835)

Connect an agent — have() is free.