# GPT2 Small model IPU config | |
This model contains just the `IPUConfig` files for running the [gpt2](https://huggingface.co/gpt2) model on Graphcore IPUs. | |
**This model contains no model weights, only an IPUConfig.** | |
## Usage | |
``` | |
from optimum.graphcore import IPUConfig | |
ipu_config = IPUConfig.from_pretrained("Graphcore/gpt2-small-ipu") | |
``` |