Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,9 @@ license: afl-3.0
|
|
7 |
This is an unofficial Pytorch implementation of [ERNIE-Layout](http://arxiv.org/abs/2210.06155) which is originally released through PaddleNLP.
|
8 |
|
9 |
|
|
|
|
|
|
|
10 |
**A Quick Example**
|
11 |
```python
|
12 |
from networks.modeling_erine_layout import ErnieLayoutConfig, ErnieLayoutForQuestionAnswering
|
|
|
7 |
This is an unofficial Pytorch implementation of [ERNIE-Layout](http://arxiv.org/abs/2210.06155) which is originally released through PaddleNLP.
|
8 |
|
9 |
|
10 |
+
**Get Ready**
|
11 |
+
After downloading the model, you need to set ``sentencepiece_model_file`` and ``vocab_file`` in [tokenizer_config.json](https://huggingface.co/Norm/ERNIE-Layout-Pytorch/blob/main/tokenizer_config.json) to your own directory
|
12 |
+
|
13 |
**A Quick Example**
|
14 |
```python
|
15 |
from networks.modeling_erine_layout import ErnieLayoutConfig, ErnieLayoutForQuestionAnswering
|