Instructions to use junnyu/roformer_chinese_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use junnyu/roformer_chinese_base with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, RoFormerForMaskedLM tokenizer = AutoTokenizer.from_pretrained("junnyu/roformer_chinese_base", from_hf_hub=True) model = RoFormerForMaskedLM.from_pretrained("junnyu/roformer_chinese_base", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -45,10 +45,12 @@ print(outputs_sentence)
|
|
| 45 |
Bibtex:
|
| 46 |
|
| 47 |
```tex
|
| 48 |
-
@
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
|
|
|
|
|
|
| 53 |
}
|
| 54 |
```
|
|
|
|
| 45 |
Bibtex:
|
| 46 |
|
| 47 |
```tex
|
| 48 |
+
@misc{su2021roformer,
|
| 49 |
+
title={RoFormer: Enhanced Transformer with Rotary Position Embedding},
|
| 50 |
+
author={Jianlin Su and Yu Lu and Shengfeng Pan and Bo Wen and Yunfeng Liu},
|
| 51 |
+
year={2021},
|
| 52 |
+
eprint={2104.09864},
|
| 53 |
+
archivePrefix={arXiv},
|
| 54 |
+
primaryClass={cs.CL}
|
| 55 |
}
|
| 56 |
```
|