Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleHub
提交
7cac5ece
P
PaddleHub
项目概览
PaddlePaddle
/
PaddleHub
大约 1 年 前同步成功
通知
282
Star
12117
Fork
2091
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
200
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleHub
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
200
Issue
200
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
7cac5ece
编写于
8月 10, 2021
作者:
K
KP
提交者:
GitHub
8月 10, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1564 from linjieccc/update_readme
update readme
上级
f914eff5
4f257b57
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
44 addition
and
44 deletion
+44
-44
modules/text/language_model/bert-base-cased/README.md
modules/text/language_model/bert-base-cased/README.md
+2
-2
modules/text/language_model/bert-base-chinese/README.md
modules/text/language_model/bert-base-chinese/README.md
+2
-2
modules/text/language_model/bert-base-multilingual-cased/README.md
...ext/language_model/bert-base-multilingual-cased/README.md
+2
-2
modules/text/language_model/bert-base-multilingual-uncased/README.md
...t/language_model/bert-base-multilingual-uncased/README.md
+2
-2
modules/text/language_model/bert-base-uncased/README.md
modules/text/language_model/bert-base-uncased/README.md
+2
-2
modules/text/language_model/bert-large-cased/README.md
modules/text/language_model/bert-large-cased/README.md
+2
-2
modules/text/language_model/bert-large-uncased/README.md
modules/text/language_model/bert-large-uncased/README.md
+2
-2
modules/text/language_model/chinese_bert_wwm/README.md
modules/text/language_model/chinese_bert_wwm/README.md
+2
-2
modules/text/language_model/chinese_bert_wwm_ext/README.md
modules/text/language_model/chinese_bert_wwm_ext/README.md
+2
-2
modules/text/language_model/chinese_electra_base/README.md
modules/text/language_model/chinese_electra_base/README.md
+2
-2
modules/text/language_model/chinese_electra_small/README.md
modules/text/language_model/chinese_electra_small/README.md
+2
-2
modules/text/language_model/electra_base/README.md
modules/text/language_model/electra_base/README.md
+2
-2
modules/text/language_model/electra_large/README.md
modules/text/language_model/electra_large/README.md
+2
-2
modules/text/language_model/electra_small/README.md
modules/text/language_model/electra_small/README.md
+2
-2
modules/text/language_model/ernie/README.md
modules/text/language_model/ernie/README.md
+2
-2
modules/text/language_model/ernie_tiny/README.md
modules/text/language_model/ernie_tiny/README.md
+2
-2
modules/text/language_model/ernie_v2_eng_base/README.md
modules/text/language_model/ernie_v2_eng_base/README.md
+2
-2
modules/text/language_model/ernie_v2_eng_large/README.md
modules/text/language_model/ernie_v2_eng_large/README.md
+2
-2
modules/text/language_model/rbt3/README.md
modules/text/language_model/rbt3/README.md
+2
-2
modules/text/language_model/rbtl3/README.md
modules/text/language_model/rbtl3/README.md
+2
-2
modules/text/language_model/roberta-wwm-ext-large/README.md
modules/text/language_model/roberta-wwm-ext-large/README.md
+2
-2
modules/text/language_model/roberta-wwm-ext/README.md
modules/text/language_model/roberta-wwm-ext/README.md
+2
-2
未找到文件。
modules/text/language_model/bert-base-cased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-base-chinese/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-base-multilingual-cased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-base-multilingual-uncased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-base-uncased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-large-cased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/bert-large-uncased/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/chinese_bert_wwm/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/chinese_bert_wwm_ext/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/chinese_electra_base/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/chinese_electra_small/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/electra_base/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/electra_large/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/electra_small/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/ernie/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/ernie_tiny/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/ernie_v2_eng_base/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/ernie_v2_eng_large/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/rbt3/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/rbtl3/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/roberta-wwm-ext-large/README.md
浏览文件 @
7cac5ece
```
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
)
...
...
modules/text/language_model/roberta-wwm-ext/README.md
浏览文件 @
7cac5ece
```
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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录