# iTransformer for Variate Generalization This folder contains the implementation of the iTransformer to generalize on unseen variates. If you are new to this repo, we recommend you to read this [README](../multivariate_forecasting/README.md) first. By inverting vanilla Transformers, the model is empowered with the generalization capability on unseen variates. Firstly, benefiting from the flexibility of the number of input tokens, the amount of variate channels is no longer restricted and thus feasible to vary from training and inference. Second, feed-forward networks are identically applied on independent variate tokens to learn transferable representations of time series. ## Scripts ``` # Train models with only 20% of variates from Traffic and test the model on all variates without finetuning bash ./scripts/variate_generalization/Traffic/iTransformer.sh ``` > During Training