Instructions to use jxm/u-PMLM-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jxm/u-PMLM-R with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="jxm/u-PMLM-R")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("jxm/u-PMLM-R") model = AutoModel.from_pretrained("jxm/u-PMLM-R") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PMLM is the language model described in [Probabilistically Masked Language Model Capable of Autoregressive Generation in Arbitrary Word Order](https://arxiv.org/abs/2004.11579), which is trained with probabilistic masking. This is the "PMLM-R" variant, adapted from [the authors' original implementation](https://github.com/huawei-noah/Pretrained-Language-Model/tree/master/PMLM).
|