chronos-bolt-small β€” COREAI

Time series forecasting: 9 quantiles (0.1–0.9), 64 future steps, context up to 2048 observations. No text tokenizer.

Conversion of amazon/chronos-bolt-small at revision 772f3d25d38aec6d914c8949dab4462e2d46f5d8. No fine-tuning or replacement checkpoint. F32 baseline, not a 4-bit quantization. Original authors retain credit and license rights.

Usage and compatibility

Apple Core AI .aimodel asset; F32; fixed input shape [1, 2048]. Tested using coreai-core==1.0.0b3, GPU execution on macOS 27.2. Not a Core ML .mlpackage.

import asyncio, numpy as np
from huggingface_hub import snapshot_download
from coreai.runtime import AIModel, NDArray, SpecializationOptions, ComputeUnitKind
path = snapshot_download("masahiroid/chronos-bolt-small-coreai")
async def main():
    opts = SpecializationOptions.from_preferred_compute_unit_kind(ComputeUnitKind.gpu())
    model = await AIModel.load(path + "/model.aimodel", specialization_options=opts)
    fn = model.load_function(model.function_names[0])
    output = await fn(inputs={"context": NDArray(np.arange(2048, dtype=np.float32)[None, :])})
    print(output["output"].numpy().shape)
asyncio.run(main())

Numerical validation

Compared against the original PyTorch implementation, 3 deterministic cases. Maximum absolute output difference: 3.8146973e-06; minimum cosine similarity: 1. See validation.json for each case. These are conversion parity checks, not a full task-quality benchmark or latency benchmark.

Text tests cover English emotions, neutral retrieval text, Japanese, empty input and truncation. Chronos tests cover a trend plus sinusoid, a constant series and a series with missing observations. Only applicable tests are used for each model.

Core ML/Core AI text exports use batch 1 and sequence length 128; tokenization must pad/truncate to 128. Chronos Apple exports use batch 1 and context length 2048. MLX/custom GGUF preserve the original maximum context rather than adding training. Short Chronos inputs can be left-padded with NaN for the fixed Apple exports. Forecast horizon remains 64.

Reproducibility

Source revision and output semantics: provenance.json. Conversion scripts are included. Reproduce in a checkout with sources/<original-model-name>/, sources.json and publish/ directories as in the scripts. PyTorch 2.14.1; Transformers 4.57.3; MLX 0.32.4; NumPy 1.26.4 (MLX/Core ML environment); coremltools 9.0; chronos-forecasting 2.3.2; GGUF 0.19.0; Core AI export uses coreai-torch 0.4.3. Core AI validation uses its separate Python 3.14 environment. Version compatibility outside the tested environment is not guaranteed.

License

Weights remain under apache-2.0, with upstream terms in LICENSE. Converter/runtime additions are MIT licensed (CODE_LICENSE). No new task training, safety certification or commercial license is implied.

Other formats

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for masahiroid/chronos-bolt-small-coreai

Finetuned
(7)
this model