Paraformer: Parameterization of Sub-grid Scale Processes Using Transformers