提交 8c076ce0 编写于 作者: Z Zeyu Chen

update PaddleNLP README

上级 bbfd74a5
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
## Introduction ## Introduction
PaddleNLP aims to accelerate NLP applications by powerful model zoo, easy-to-use API and detailed tutorials, It's also the NLP best practice for PaddlePaddle 2.0 API system. PaddleNLP aims to accelerate NLP applications through powerful model zoo, easy-to-use API with detailed tutorials, It's also the NLP best practice for PaddlePaddle 2.0 API system.
** This project is still UNDER ACTIVE DEVELOPMENT. ** ** This project is still UNDER ACTIVE DEVELOPMENT. **
...@@ -29,7 +29,7 @@ PaddleNLP aims to accelerate NLP applications by powerful model zoo, easy-to-use ...@@ -29,7 +29,7 @@ PaddleNLP aims to accelerate NLP applications by powerful model zoo, easy-to-use
* paddlepaddle >= 2.0.0-rc1 * paddlepaddle >= 2.0.0-rc1
``` ```
pip install paddlenlp pip install paddlenlp==2.0.0a
``` ```
## Quick Start ## Quick Start
...@@ -37,7 +37,7 @@ pip install paddlenlp ...@@ -37,7 +37,7 @@ pip install paddlenlp
### Quick Dataset Loading ### Quick Dataset Loading
```python ```python
train_ds, test_ds = paddlenlp.datasets.ChnSentiCorp(['train','test']) train_ds, test_ds = paddlenlp.datasets.ChnSentiCorp.get_datasets(['train','test'])
``` ```
### Reusable Text Emebdding ### Reusable Text Emebdding
...@@ -72,4 +72,4 @@ List our notebook tutorials based on AI Studio. ...@@ -72,4 +72,4 @@ List our notebook tutorials based on AI Studio.
## License ## License
PaddleNLP is provided under the [Apache-2.0 license](./LICENSE). PaddleNLP is provided under the [Apache-2.0 License](./LICENSE).
\ No newline at end of file \ No newline at end of file
...@@ -33,7 +33,7 @@ from paddlenlp.transformers.tokenizer_bert import BertTokenizer ...@@ -33,7 +33,7 @@ from paddlenlp.transformers.tokenizer_bert import BertTokenizer
from run_glue import convert_example, TASK_CLASSES from run_glue import convert_example, TASK_CLASSES
MODEL_CLASSES = {"bert": (BertForSequenceClassification, BertTokenizer), } MODEL_CLASSES = {"bert": (BertForSequenceClassification, BertTokenizer) }
def parse_args(): def parse_args():
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
## Dialogue General Understanding ## Dialogue General Understanding
## PLATO ## PLATO-2
# Machine Translation # Machine Translation 机器翻译
从最基础的LSTM Seq2Seq, 到Transformer和TransformerXL训练机器翻译模型 从最基础的LSTM Seq2Seq, 到Transformer训练机器翻译模型
## Seq2Seq ## Seq2Seq
## Transformer ## Transformer
## Transformer-XL
# 文本生成 Text Generation # 文本生成 Text Generation
## 使用Seq2Seq模型完成自动对联模型 ## [使用Seq2Seq模型完成自动对联](./couplet)
## Variational AutoEncoder(VAE) for Text Generation ## [使用Variational AutoEncoder(VAE)技术提升文本生成质量](./ernie-gen)
## 使用ERNIE-Gen模型实现自动写诗 ## [通过ERNIE-Gen模型实现自动写诗](./ernie-gen)
# 使用Seq2Seq模型完成自动对联
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册