Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/paddle/text/Overview_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ PaddleNLP 提供了在文本任务上简洁易用的全流程 API,旨在为飞
" `paddlenlp.data <https://paddlenlp.readthedocs.io/zh/latest/data_prepare/data_preprocess.html>`_ ", "文本数据处理 Pipeline 的相关 API", "见链接文档"
" `paddlenlp.transformers <https://paddlenlp.readthedocs.io/zh/latest/source/paddlenlp.transformers.html>`_ ", "基于 Transformer 结构相关的预训练模型 API,包含 ERNIE, BERT, RoBERTa, Electra 等主流经典结构和下游任务", " ``model = paddlenlp.transformers.BertForSequenceClassification.from_pretrained('bert-wwm-chinese', num_classes=2)`` "
" `paddlenlp.metrics <https://paddlenlp.readthedocs.io/zh/latest/metrics/metrics.html>`_", "提供了文本任务上的一些模型评价指标,例如 Perplexity、GlLUE 中用到的评估器、BLEU、Rouge 等,与飞桨高层 API 兼容", " ``metric = paddlenlp.metrics.AccuracyAndF1()`` "
" `paddlenlp.embeddings <https://paddlenlp.readthedocs.io/zh/latest/model_zoo/embeddings.html>`_", "词向量相关 API,支持一键快速加载包预训练的中文词向量,VisualDL 高维可视化等功能", " ``token_embedding = paddlenlp.embeddings.TokenEmbedding(embedding_name='fasttext.wiki-news.target.word-word.dim300.en')`` "
" `paddlenlp.embeddings <https://paddlenlp.readthedocs.io/zh/latest/>`_", "词向量相关 API,支持一键快速加载包预训练的中文词向量,VisualDL 高维可视化等功能", " ``token_embedding = paddlenlp.embeddings.TokenEmbedding(embedding_name='fasttext.wiki-news.target.word-word.dim300.en')`` "