diff --git a/nested_sequence/text_classification/README.md b/nested_sequence/text_classification/README.md index e066a480653430344c33a89e65051ad50f7a8074..ca272a8097e7c794f09fb2a4fc58840edc631cc7 100644 --- a/nested_sequence/text_classification/README.md +++ b/nested_sequence/text_classification/README.md @@ -60,7 +60,10 @@ prob = paddle.layer.mixed(size=class_num, input=[paddle.layer.full_matrix_projection(input=avg_pool)], act=paddle.activation.Softmax()) ``` - +## 安装依赖包 +```bash +pip install -r requirements.txt +``` ## 使用 PaddlePaddle 内置数据运行 diff --git a/nested_sequence/text_classification/index.html b/nested_sequence/text_classification/index.html index e5fdfbb9ebeb4909fa592b23cf454142ef98e63b..de06050628c6e2a420e1f90674642162e3746bb7 100644 --- a/nested_sequence/text_classification/index.html +++ b/nested_sequence/text_classification/index.html @@ -102,7 +102,10 @@ prob = paddle.layer.mixed(size=class_num, input=[paddle.layer.full_matrix_projection(input=avg_pool)], act=paddle.activation.Softmax()) ``` - +## 安装依赖包 +```bash +pip install -r requirements.txt +``` ## 使用 PaddlePaddle 内置数据运行 diff --git a/nested_sequence/text_classification/requirements.txt b/nested_sequence/text_classification/requirements.txt new file mode 100644 index 0000000000000000000000000000000000000000..dca9a909647e3b066931de2909c2d1e65c78c995 --- /dev/null +++ b/nested_sequence/text_classification/requirements.txt @@ -0,0 +1 @@ +click