Instructions to use susnato/ernie-m-base_pytorch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use susnato/ernie-m-base_pytorch with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, ErnieMModel tokenizer = AutoTokenizer.from_pretrained("susnato/ernie-m-base_pytorch", from_hf_hub=True) model = ErnieMModel.from_pretrained("susnato/ernie-m-base_pytorch", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ language:
|
|
| 22 |
- ur
|
| 23 |
---
|
| 24 |
|
| 25 |
-
### DISCLAIMER - I don't own the weights of `ernie-m-base` neither did I
|
| 26 |
The real(paddle) weights can be found [here](https://huggingface.co/PaddlePaddle/ernie-m-base).
|
| 27 |
|
| 28 |
The rest of the README is copied from the same page listed above,
|
|
|
|
| 22 |
- ur
|
| 23 |
---
|
| 24 |
|
| 25 |
+
### DISCLAIMER - I don't own the weights of `ernie-m-base` neither did I train the model. I only converted the model weights from paddle to pytorch(using the scripts listed in files).
|
| 26 |
The real(paddle) weights can be found [here](https://huggingface.co/PaddlePaddle/ernie-m-base).
|
| 27 |
|
| 28 |
The rest of the README is copied from the same page listed above,
|