Monash-University/monash_tsf
Updated โข 6.9k โข 61
Run huggingface/time-series-transformer-tourism-monthly on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/huggingface/time-series-transformer-tourism-monthly. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/huggingface/time-series-transformer-tourism-monthly on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use huggingface/time-series-transformer-tourism-monthly with Transformers:
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, TimeSeriesTransformerForPrediction
tokenizer = AutoTokenizer.from_pretrained("huggingface/time-series-transformer-tourism-monthly")
model = TimeSeriesTransformerForPrediction.from_pretrained("huggingface/time-series-transformer-tourism-monthly", device_map="auto")Time Series Transformer model trained on the tourism-monthly dataset for 30 epochs.
The Time Series Transformer is a vanilla encoder-decoder Transformer for time-series forecasting. The model is trained in the same way as one trains a Transformer for machine translation. At inference time, the model autoregressively generates samples, one time step at a time.
We refer to the documentation regarding usage.