Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ViT Base model IPU config
|
| 2 |
+
|
| 3 |
+
This model contains just the `IPUConfig` files for running the ViT base model (e.g. [vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) or [deit-base-patch16-384](https://huggingface.co/facebook/deit-base-patch16-384)) on Graphcore IPUs.
|
| 4 |
+
|
| 5 |
+
**This model contains no model weights, only an IPUConfig.**
|
| 6 |
+
|
| 7 |
+
## Usage
|
| 8 |
+
|
| 9 |
+
```
|
| 10 |
+
from optimum.graphcore import IPUConfig
|
| 11 |
+
ipu_config = IPUConfig.from_pretrained("Graphcore/vit-base-ipu")
|
| 12 |
+
```
|