Instructions to use ctzhang/Zhitong with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chronos
How to use ctzhang/Zhitong with Chronos:
pip install chronos-forecasting
import pandas as pd from chronos import BaseChronosPipeline pipeline = BaseChronosPipeline.from_pretrained("ctzhang/Zhitong", device_map="cuda") # Load historical data context_df = pd.read_csv("https://autogluon.s3.us-west-2.amazonaws.com/datasets/timeseries/misc/AirPassengers.csv") # Generate predictions pred_df = pipeline.predict_df( context_df, prediction_length=36, # Number of steps to forecast quantile_levels=[0.1, 0.5, 0.9], # Quantiles for probabilistic forecast id_column="item_id", # Column identifying different time series timestamp_column="Month", # Column with datetime information target="#Passengers", # Column(s) with time series values to predict ) - PEFT
How to use ctzhang/Zhitong with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Zhitong_SDU_WT_LLM
LoRA fine-tuned amazon/chronos-2 on cell-level 4G/5G multi-service traffic data (8 metrics per cell per network) from the Shandong University WT (æ— çº¿/网通) dataset.
Usage
from chronos import Chronos2Pipeline
pipeline = Chronos2Pipeline.from_pretrained("Zhitong_SDU_WT_LLM",
device_map="cuda")
forecast = pipeline.predict(context, prediction_length=24)
Training
- base model:
amazon/chronos-2 - finetune mode: LoRA (r=16, " alpha=32)
- context length: 336
- prediction length: 24
- training series: 800
- num_steps: 30, batch_size: 8, lr: 1e-05
- Downloads last month
- 16
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for ctzhang/Zhitong
Base model
amazon/chronos-2