A non-local two-dimensional foundation model