Update model description
Browse files
README.md
CHANGED
@@ -1,18 +1,24 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
---
|
4 |
-
|
5 |
-
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).
|
6 |
-
|
7 |
-
# BART Base model IPU config
|
8 |
-
|
9 |
-
This model contains just the `IPUConfig` files for running the BART base model (e.g. [facebook/bart-base](https://huggingface.co/facebook/bart-base)) on Graphcore IPUs.
|
10 |
-
|
11 |
-
**This model contains no model weights, only an IPUConfig.**
|
12 |
-
|
13 |
-
##
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
```
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
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).
|
6 |
+
|
7 |
+
# BART Base model IPU config
|
8 |
+
|
9 |
+
This model contains just the `IPUConfig` files for running the BART base model (e.g. [facebook/bart-base](https://huggingface.co/facebook/bart-base)) on Graphcore IPUs.
|
10 |
+
|
11 |
+
**This model contains no model weights, only an IPUConfig.**
|
12 |
+
|
13 |
+
## Model description
|
14 |
+
|
15 |
+
BART is a transformer encoder-encoder (seq2seq) model with a bidirectional (BERT-like) encoder and an autoregressive (GPT-like) decoder. BART is pre-trained by (1) corrupting text with an arbitrary noising function, and (2) learning a model to reconstruct the original text.
|
16 |
+
|
17 |
+
BART is particularly effective when fine-tuned for text generation (e.g. summarization, translation) but also works well for comprehension tasks (e.g. text classification, question answering).
|
18 |
+
|
19 |
+
## Usage
|
20 |
+
|
21 |
+
```
|
22 |
+
from optimum.graphcore import IPUConfig
|
23 |
+
ipu_config = IPUConfig.from_pretrained("Graphcore/bart-base-ipu")
|
24 |
```
|