未验证 提交 7cac5ece 编写于 作者: K KP 提交者: GitHub

Merge pull request #1564 from linjieccc/update_readme

update readme
```shell ```shell
$ hub install bert-base-cased==2.0.1 $ hub install bert-base-cased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-base-cased', name='bert-base-cased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-base-chinese==2.0.1 $ hub install bert-base-chinese==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-base-chinese', name='bert-base-chinese',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-base-multilingual-cased==2.0.1 $ hub install bert-base-multilingual-cased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-base-multilingual-cased', name='bert-base-multilingual-cased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-base-multilingual-uncased==2.0.1 $ hub install bert-base-multilingual-uncased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-base-multilingual-uncased', name='bert-base-multilingual-uncased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-base-uncased==2.0.1 $ hub install bert-base-uncased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-base-uncased', name='bert-base-uncased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-large-cased==2.0.1 $ hub install bert-large-cased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-large-cased', name='bert-large-cased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install bert-large-uncased==2.0.1 $ hub install bert-large-uncased==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -87,7 +87,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='bert-large-uncased', name='bert-large-uncased',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install chinese-bert-wwm==2.0.0 $ hub install chinese-bert-wwm==2.0.1
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='chinese-bert-wwm', name='chinese-bert-wwm',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install chinese-bert-wwm-ext==2.0.0 $ hub install chinese-bert-wwm-ext==2.0.1
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='chinese-bert-wwm-ext', name='chinese-bert-wwm-ext',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install chinese-electra-base==2.0.0 $ hub install chinese-electra-base==2.0.1
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='chinese-electra-base', name='chinese-electra-base',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install chinese-electra-small==2.0.0 $ hub install chinese-electra-small==2.0.1
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='chinese-electra-small', name='chinese-electra-small',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install electra-base==1.0.0 $ hub install electra-base==1.0.1
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='electra-base', name='electra-base',
version='1.0.0', version='1.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install electra-large==1.0.0 $ hub install electra-large==1.0.1
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='electra-large', name='electra-large',
version='1.0.0', version='1.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install electra-small==1.0.0 $ hub install electra-small==1.0.1
``` ```
<p align="center"> <p align="center">
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='electra-small', name='electra-small',
version='1.0.0', version='1.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install ernie==2.0.1 $ hub install ernie==2.0.2
``` ```
## 在线体验 ## 在线体验
<a class="ant-btn large" href="https://aistudio.baidu.com/aistudio/projectDetail/79380" target="_blank">AI Studio 快速体验</a> <a class="ant-btn large" href="https://aistudio.baidu.com/aistudio/projectDetail/79380" target="_blank">AI Studio 快速体验</a>
...@@ -96,7 +96,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -96,7 +96,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='ernie', name='ernie',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install ernie_tiny==2.0.1 $ hub install ernie_tiny==2.0.2
``` ```
## 在线体验 ## 在线体验
<a class="ant-btn large" href="https://aistudio.baidu.com/aistudio/projectDetail/79380" target="_blank">AI Studio 快速体验</a> <a class="ant-btn large" href="https://aistudio.baidu.com/aistudio/projectDetail/79380" target="_blank">AI Studio 快速体验</a>
...@@ -96,7 +96,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -96,7 +96,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='ernie_tiny', name='ernie_tiny',
version='2.0.1', version='2.0.2',
task='sequence_classification', task='sequence_classification',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install ernie_v2_eng_base==2.0.1 $ hub install ernie_v2_eng_base==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -92,7 +92,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -92,7 +92,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='ernie_v2_eng_base', name='ernie_v2_eng_base',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install ernie_v2_eng_large==2.0.1 $ hub install ernie_v2_eng_large==2.0.2
``` ```
<p align="center"> <p align="center">
...@@ -92,7 +92,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -92,7 +92,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='ernie_v2_eng_large', name='ernie_v2_eng_large',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install rtb3==2.0.0 $ hub install rtb3==2.0.1
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='rtb3', name='rtb3',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install rbtl3==2.0.0 $ hub install rbtl3==2.0.1
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -85,7 +85,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='rbtl3', name='rbtl3',
version='2.0.0', version='2.0.1',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install roberta-wwm-ext-large==2.0.1 $ hub install roberta-wwm-ext-large==2.0.2
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='roberta-wwm-ext-large', name='roberta-wwm-ext-large',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
```shell ```shell
$ hub install roberta-wwm-ext==2.0.1 $ hub install roberta-wwm-ext==2.0.2
``` ```
<p align="center"> <p align="center">
<img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br /> <img src="https://bj.bcebos.com/paddlehub/paddlehub-img/bert_network.png" hspace='10'/> <br />
...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'} ...@@ -86,7 +86,7 @@ label_map = {0: 'negative', 1: 'positive'}
model = hub.Module( model = hub.Module(
name='roberta-wwm-ext', name='roberta-wwm-ext',
version='2.0.1', version='2.0.2',
task='seq-cls', task='seq-cls',
load_checkpoint='/path/to/parameters', load_checkpoint='/path/to/parameters',
label_map=label_map) label_map=label_map)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册