File size: 643 Bytes
d3114ba
 
4063b4b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Graphcore and Hugging Face are working together to make training of Transformer models on IPUs fast and easy. Learn more about how to take advantage of the power of Graphcore IPUs to train Transformers models at [hf.co/hardware/graphcore](https://huggingface.co/hardware/graphcore).

# GPT2 Medium model IPU config

This model contains just the `IPUConfig` files for running the [gpt2-medium](https://huggingface.co/gpt2-medium) 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-medium-ipu")
```