time-series-transformer-tourism-monthly
AI model · Forecasting / time series · Time series → Time series by Hugging Face
Specialized Transformer for monthly tourism time-series forecasting.
A 30.5k parameter Transformer model from Hugging Face specialized in monthly tourism forecasting. It uses an encoder-decoder architecture to generate autoregressive time-series predictions.
Model specs
The full spec card (context, pricing per token, modalities and more) on AntSpace. Sign up free to see the full spec card.
- Price
- From 0 USD
Category: Machine Learning
- Parameters
- 30.5k
- License
- MIT
- Tensor Type
- F32
- Format
- Safetensors
- Training Epochs
- 30
- Library Compatibility
- Transformers, accelerate
- 30.5k parameter Transformer model
- Trained on tourism-monthly dataset
- Vanilla encoder-decoder architecture
- Available in Safetensors format
- MIT licensed open source model
Overview
time-series-transformer-tourism-monthly is a specialized machine learning model developed by Hugging Face for time-series forecasting. Built on a vanilla encoder-decoder Transformer architecture, the model is specifically optimized for predicting monthly tourism data. It was trained for 30 epochs on the monash_tsf tourism-monthly dataset and operates autoregressively during inference, generating samples one time step at a time. The model is designed for researchers and developers who need a lightweight, 30.5k parameter solution for temporal sequence prediction. It is distributed via the Hugging Face Hub and is fully compatible with the Transformers and accelerate libraries.
Forecasting Architecture
- Tourism-Monthly Training: The model is specifically trained on the tourism-monthly dataset from Monash University for 30 epochs.
- Encoder-Decoder Architecture: It functions as a vanilla encoder-decoder Transformer designed for time-series forecasting tasks.
- Machine Translation Style Training: The model is trained in the same manner as a Transformer used for machine translation.
Deployment and Usage
- Transformers Integration: Users can load the model directly using the AutoTokenizer and TimeSeriesTransformerForPrediction classes from the Transformers library.
- Accelerated Loading: The model is compatible with the accelerate library for optimized loading and device mapping.
- Notebook Compatibility: Official notebooks are provided for running the model on Google Colab and Kaggle platforms.
- Safetensors Format: The model weights are distributed in the Safetensors format for secure and fast loading.
Use cases
- Researchers use the model to forecast monthly tourism trends based on historical data sequences.
- Developers integrate the model into forecasting applications using the Hugging Face Transformers library.
- Data scientists use the provided Google Colab and Kaggle notebooks to experiment with Transformer-based time-series analysis.
Specifications
- Parameters
- 30.5k
- License
- MIT
- Access
- Download via Hugging Face Hub, Transformers library, Google Colab, Kaggle
- Tensor Type
- F32
- Format
- Safetensors
- Training Epochs
- 30
- Library Compatibility
- Transformers, accelerate
- Base Architecture
- Vanilla encoder-decoder Transformer
How it works
- Install Dependencies: Install the transformers and accelerate libraries using pip.
- Load Model: Use AutoTokenizer and TimeSeriesTransformerForPrediction to load the model from the Hugging Face Hub.
- Perform Inference: Run the model to autoregressively generate time-series forecasts for monthly tourism data.
Pricing
- Open Source Download
- Free
FAQ
What is the size of the model?
The model has 30.5k parameters and uses the F32 tensor type.
How does the model generate predictions?
It is a vanilla encoder-decoder Transformer that generates forecasts autoregressively, one time step at a time.
What data was used to train this model?
The model was trained on the tourism-monthly dataset from the Monash University monash_tsf collection.
What is the license for this model?
The model is released under the MIT license.
Added by AntSpace from public sources (huggingface.co).