TimeNet 开源统一时序数据格式 TimeF

原标题:TimeNet: Open-source data infrastructure for temporal foundation models
62AI 研判分

TimeNet 是一个面向时序基础模型的开源数据基础设施项目,通过统一存储格式 TimeF 与单一 API,解决时序数据集格式互不兼容的问题,覆盖数据查找、构建、下载与加载全流程,模型训练与推理仍交由用户自选框架。项目由 Aionic Labs、斯坦福、ETH Zurich、Google 等多家机构研究者协作推进,目前处于 1.0 之前的预发布阶段,API 与格式仍可能变动。

报道正文

本文目录2 个章节

TimeNet

Find, build, and load time-series datasets through one shared format.

[!NOTE] TimeNet is a pre-release project. Its public API and the TimeF format can change before 1.0.

Time-series datasets use many incompatible layouts. TimeF gives them one storage format. TimeNet provides one API to find, build, download, and load them.

TimeNet handles the data layer. Model training, inference, and evaluation stay in your chosen framework.

TimeNet Hackathon

TimeNet Online Hackathon

TimeNet Online Hackathon is live. Pick a time-series problem, onboard a dataset in TimeNet format, then train or fine-tune a Temporal AI Model (e.g. OpenTSLM) to explore what it can do. Choose any use case, from forecasting and classification to explanation, reasoning and beyond.

Register here: challenge.timenet.ai

Quick start

BASH
uv add 'timenet[cli]'
uv tool install timenet-connectors
timenet-build build timenet/hello-world

The build lands in the local registry at ~/.timenet/registry/timenet/hello-world/1.0.0/. Load it with Python:

PYTHON
from timenet import TimeNet

dataset = TimeNet().load("timenet/[email protected]")
dataset.describe()

signal = dataset.records[0].signals[0]
values = signal.to_numpy()

TimeNet() reads the local registry first, and the local registry holds this exact version. So the example works without registry credentials or network access.

See the Get started guide for installation options and a longer example.

How it fits together

TimeNet architecture diagram

A connector converts a raw source into a TimeF version. The version contains:

  • manifest.json, which identifies the dataset and lists its files
  • control.duckdb, which stores the hierarchy and relationships
  • a Parquet or Zarr values plane, which stores Signal values

A registry stores immutable TimeF versions. The client reads a version without importing its connector.

The repository is a uv workspace with two packages:

PackagePurpose
timenetThe TimeF model, reader, writer, registries, SDK, and consumer CLI.
timenet-connectorsDataset connectors and the timenet-build producer CLI.

Read the architecture guide for the complete design.


作者发帖说明(HN):

Hi HN,

Current frontier LLMs show incredible results across text, video, and audio. However, when looking at real world scenarios like production lines, trading, drilling operations, or demand supply forecasting, they are not capable of comprehending this data, especially given a limited context.

That’s why we need models that are able to understand temporal information natively: temporal foundation models (TFMs). However, there is a data problem: unlike all the public information that frontier models train on, temporal information though is still scattered across organizations without a unified way to access it.

That’s why we built TimeNet. It's like ImageNet for temporal data:

  • One uniform data layer for either our repository or your own data

  • Define tasks on top temporal data around classification, question answering, scalar prediction, temporal localization, forecasting, generation, editing, and correspondence (more to come)

  • Simple and performant API to integrate into ML frameworks.

  • First experimental results: training on multiple temporal datasets increased F1 performance on each dataset respectively by an average of 14% and 22% for OpenTSLM and SLIP respectively.

  • Install via ‘uv add timenet’

TimeNet is the result of a growing open and global collaboration between researchers from Aionic Labs, Stanford, ETH Zurich, UNSW Sydney, Sun Yat-sen University, Griffith University, Google, UCLA, TimeCopilot, Dartmouth, Harvard, Cambridge, Eindhoven University of T...