Update README.md
Browse files
README.md
CHANGED
|
@@ -5,7 +5,7 @@ license: afl-3.0
|
|
| 5 |
# ERNIE-Layout_Pytorch
|
| 6 |
|
| 7 |
[This repo](https://github.com/NormXU/ERNIE-Layout-Pytorch) is an unofficial Pytorch implementation of [ERNIE-Layout](http://arxiv.org/abs/2210.06155) which is originally released through PaddleNLP.
|
| 8 |
-
The model is translated from [PaddlePaddle
|
| 9 |
|
| 10 |
**A Quick Example**
|
| 11 |
```python
|
|
|
|
| 5 |
# ERNIE-Layout_Pytorch
|
| 6 |
|
| 7 |
[This repo](https://github.com/NormXU/ERNIE-Layout-Pytorch) is an unofficial Pytorch implementation of [ERNIE-Layout](http://arxiv.org/abs/2210.06155) which is originally released through PaddleNLP.
|
| 8 |
+
The model is translated from [PaddlePaddle/ernie-layoutx-base-uncased](https://huggingface.co/PaddlePaddle/ernie-layoutx-base-uncased) with [tools/convert2torch.py](https://github.com/NormXU/ERNIE-Layout-Pytorch/blob/main/tools/convert2torch.py). It is a script to translate all state dicts of ERNIE-pretrained models for PaddlePaddle into Pytorch style. Feel free to edit it if necessary.
|
| 9 |
|
| 10 |
**A Quick Example**
|
| 11 |
```python
|