Instructions to use OpenMOSS-Team/bart-base-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMOSS-Team/bart-base-chinese with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("OpenMOSS-Team/bart-base-chinese") model = AutoModelForSeq2SeqLM.from_pretrained("OpenMOSS-Team/bart-base-chinese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Yunfan Shao commited on
Commit ·
eb46a5f
1
Parent(s): 0396827
update
Browse files
README.md
CHANGED
|
@@ -4,6 +4,10 @@
|
|
| 4 |
|
| 5 |
This is an implementation of Chinese BART-Base.
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
## Usage
|
| 8 |
|
| 9 |
```python
|
|
|
|
| 4 |
|
| 5 |
This is an implementation of Chinese BART-Base.
|
| 6 |
|
| 7 |
+
[**CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generation**](https://arxiv.org/pdf/2109.05729.pdf)
|
| 8 |
+
|
| 9 |
+
Yunfan Shao, Zhichao Geng, Yitao Liu, Junqi Dai, Fei Yang, Li Zhe, Hujun Bao, Xipeng Qiu
|
| 10 |
+
|
| 11 |
## Usage
|
| 12 |
|
| 13 |
```python
|