Instructions to use huggingface/time-series-transformer-tourism-monthly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
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") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from huggingface/time-series-transformer-tourism-monthly: direct link, hf CLI and curl.
- Browser
- Download file 677 Bytes
-
https://huggingface.co/huggingface/time-series-transformer-tourism-monthly/resolve/214c21b923e65f1bf743acac22abb0c7dad7b79a/README.md
- Command line
-
hf download hf://huggingface/time-series-transformer-tourism-monthly@214c21b923e65f1bf743acac22abb0c7dad7b79a/README.md
-
curl -L -o README.md https://huggingface.co/huggingface/time-series-transformer-tourism-monthly/resolve/214c21b923e65f1bf743acac22abb0c7dad7b79a/README.md
677 Bytes
metadata
pipeline_tag: time-series-forecasting
license: mit
datasets:
- monash_tsf
Time Series Transformer (trained on monash_tsf/tourism-monthly)
Time Series Transformer model trained on the tourism-monthly dataset for 30 epochs.
Model description
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.
Usage
We refer to the documentation regarding usage.