Instructions to use Norm/ERNIE-Layout-Pytorch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Norm/ERNIE-Layout-Pytorch with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Norm/ERNIE-Layout-Pytorch", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "do_tokenize_postprocess": false, | |
| "sep_token": "[SEP]", | |
| "cls_token": "[CLS]", | |
| "unk_token": "[UNK]", | |
| "pad_token": "[PAD]", | |
| "mask_token": "[MASK]", | |
| "do_lower_case": true, | |
| "model_max_length": 512, | |
| "vocab_file": "sentencepiece.bpe.model" | |
| } |