Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleHub
提交
9efcce4c
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看板
提交
9efcce4c
编写于
5月 12, 2020
作者:
K
kinghuin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bugs
上级
1ce7581a
变更
19
隐藏空白更改
内联
并排
Showing
19 changed file
with
20 addition
and
20 deletion
+20
-20
hub_module/modules/text/semantic_model/bert_cased_L_12_H_768_A_12/README.md
.../text/semantic_model/bert_cased_L_12_H_768_A_12/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_cased_L_24_H_1024_A_16/README.md
...text/semantic_model/bert_cased_L_24_H_1024_A_16/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_chinese_L_12_H_768_A_12/README.md
...ext/semantic_model/bert_chinese_L_12_H_768_A_12/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_multi_cased_L_12_H_768_A_12/README.md
...semantic_model/bert_multi_cased_L_12_H_768_A_12/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_multi_uncased_L_12_H_768_A_12/README.md
...mantic_model/bert_multi_uncased_L_12_H_768_A_12/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_uncased_L_12_H_768_A_12/README.md
...ext/semantic_model/bert_uncased_L_12_H_768_A_12/README.md
+1
-1
hub_module/modules/text/semantic_model/bert_uncased_L_24_H_1024_A_16/README.md
...xt/semantic_model/bert_uncased_L_24_H_1024_A_16/README.md
+1
-1
hub_module/modules/text/semantic_model/chinese_bert_wwm/README.md
...le/modules/text/semantic_model/chinese_bert_wwm/README.md
+2
-2
hub_module/modules/text/semantic_model/chinese_bert_wwm_ext/README.md
...odules/text/semantic_model/chinese_bert_wwm_ext/README.md
+1
-1
hub_module/modules/text/semantic_model/chinese_electra_base/README.md
...odules/text/semantic_model/chinese_electra_base/README.md
+1
-1
hub_module/modules/text/semantic_model/chinese_electra_small/README.md
...dules/text/semantic_model/chinese_electra_small/README.md
+1
-1
hub_module/modules/text/semantic_model/chinese_roberta_wwm_ext/README.md
...les/text/semantic_model/chinese_roberta_wwm_ext/README.md
+1
-1
hub_module/modules/text/semantic_model/chinese_roberta_wwm_ext_large/README.md
...xt/semantic_model/chinese_roberta_wwm_ext_large/README.md
+1
-1
hub_module/modules/text/semantic_model/ernie/README.md
hub_module/modules/text/semantic_model/ernie/README.md
+1
-1
hub_module/modules/text/semantic_model/ernie_tiny/README.md
hub_module/modules/text/semantic_model/ernie_tiny/README.md
+1
-1
hub_module/modules/text/semantic_model/ernie_v2_eng_base/README.md
...e/modules/text/semantic_model/ernie_v2_eng_base/README.md
+1
-1
hub_module/modules/text/semantic_model/ernie_v2_eng_large/README.md
.../modules/text/semantic_model/ernie_v2_eng_large/README.md
+1
-1
hub_module/modules/text/semantic_model/rbt3/README.md
hub_module/modules/text/semantic_model/rbt3/README.md
+1
-1
hub_module/modules/text/semantic_model/rbtl3/README.md
hub_module/modules/text/semantic_model/rbtl3/README.md
+1
-1
未找到文件。
hub_module/modules/text/semantic_model/bert_cased_L_12_H_768_A_12/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
...
...
hub_module/modules/text/semantic_model/bert_cased_L_24_H_1024_A_16/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/bert_chinese_L_12_H_768_A_12/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/bert_multi_cased_L_12_H_768_A_12/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/bert_multi_uncased_L_12_H_768_A_12/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/bert_uncased_L_12_H_768_A_12/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/bert_uncased_L_24_H_1024_A_16/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/chinese_bert_wwm/README.md
浏览文件 @
9efcce4c
...
@@ -114,7 +114,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -114,7 +114,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
@@ -218,7 +218,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -218,7 +218,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/chinese_bert_wwm_ext/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/chinese_electra_base/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
...
...
hub_module/modules/text/semantic_model/chinese_electra_small/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
...
...
hub_module/modules/text/semantic_model/chinese_roberta_wwm_ext/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/chinese_roberta_wwm_ext_large/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/ernie/README.md
浏览文件 @
9efcce4c
...
@@ -107,7 +107,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -107,7 +107,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/text-classification
)
、
[
序列标注
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/sequence-labeling
)
。
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/text-classification
)
、
[
序列标注
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/sequence-labeling
)
。
...
...
hub_module/modules/text/semantic_model/ernie_tiny/README.md
浏览文件 @
9efcce4c
...
@@ -94,7 +94,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -94,7 +94,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.4.0/demo/text-classification
)
。
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.4.0/demo/text-classification
)
。
...
...
hub_module/modules/text/semantic_model/ernie_v2_eng_base/README.md
浏览文件 @
9efcce4c
...
@@ -100,7 +100,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -100,7 +100,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.4.0/demo/text-classification
)
。
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.4.0/demo/text-classification
)
。
...
...
hub_module/modules/text/semantic_model/ernie_v2_eng_large/README.md
浏览文件 @
9efcce4c
...
@@ -103,7 +103,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -103,7 +103,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/text-classification
)
。
利用该PaddleHub Module Fine-tune示例,可参考
[
文本分类
](
https://github.com/PaddlePaddle/PaddleHub/tree/release/v1.2/demo/text-classification
)
。
...
...
hub_module/modules/text/semantic_model/rbt3/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
hub_module/modules/text/semantic_model/rbtl3/README.md
浏览文件 @
9efcce4c
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
...
@@ -96,7 +96,7 @@ embedding_result = module.get_embedding(texts=[["Sample1_text_a"],["Sample2_text
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
# Use "get_params_layer" to get params layer and used to ULMFiTStrategy.
params_layer
=
module
.
get_params_layer
()
params_layer
=
module
.
get_params_layer
()
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
params_layer
=
params_layer
)
strategy
=
hub
.
finetune
.
strategy
.
ULMFiTStrategy
(
frz_params_layer
=
params_layer
,
dis_
params_layer
=
params_layer
)
```
```
## 查看代码
## 查看代码
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录