From 0e9c4fd6b55dc10d6784c3515236c3ef706a1770 Mon Sep 17 00:00:00 2001 From: wuzhihua Date: Fri, 15 May 2020 14:14:09 +0800 Subject: [PATCH] refine readme for cu --- doc/imgs/cnn-ckim2014.JPG | Bin 0 -> 270 bytes doc/imgs/tagspace.JPG | Bin 0 -> 270 bytes .../config.yaml | 0 .../model.py | 0 .../reader.py | 0 .../train_data/part-0 | 0 models/contentunderstanding/readme.md | 23 ++++++++++++------ readme.md | 4 +-- 8 files changed, 18 insertions(+), 9 deletions(-) create mode 100644 doc/imgs/cnn-ckim2014.JPG create mode 100644 doc/imgs/tagspace.JPG rename models/contentunderstanding/{text_classification => classification}/config.yaml (100%) rename models/contentunderstanding/{text_classification => classification}/model.py (100%) rename models/contentunderstanding/{text_classification => classification}/reader.py (100%) rename models/contentunderstanding/{text_classification => classification}/train_data/part-0 (100%) diff --git a/doc/imgs/cnn-ckim2014.JPG b/doc/imgs/cnn-ckim2014.JPG new file mode 100644 index 0000000000000000000000000000000000000000..a1a8f1ec29adc75652ac79f1a71e0a3db11456e8 GIT binary patch literal 270 zcmex=7L_|eEMldo1b+E8wh=0EmSn AW&i*H literal 0 HcmV?d00001 diff --git a/doc/imgs/tagspace.JPG b/doc/imgs/tagspace.JPG new file mode 100644 index 0000000000000000000000000000000000000000..3889db2d98c35cd494a77b710e6734fb4139d440 GIT binary patch literal 270 zcmex=7L_|eEMldo1b+E8TEfhz#K0uT$SlbC{|JLT0|O%~(4`>9LIEQa(0y#|9GqO-Km}U`7?>EDnVDFa zK`sWWt_8|7un4jWDH=Mm2?r*!D;0_uHBMZ}q3pErplHy=4=Tn + +

+ +文本分类CNN模型 +

+ +

## 使用教程 ### 数据处理 @@ -53,7 +62,7 @@ mv test.csv raw_big_test_data python text2paddle.py raw_big_train_data/ raw_big_test_data/ train_big_data test_big_data big_vocab_text.txt big_vocab_tag.txt ``` -**(2)TextClassification** +**(2)Classification** 无 @@ -66,7 +75,7 @@ python text2paddle.py raw_big_train_data/ raw_big_test_data/ train_big_data test | 数据集 | 模型 | loss | auc | acc | mae | | :------------------: | :--------------------: | :---------: |:---------: | :---------: |:---------: | | -- | TagSpace | -- | -- | -- | -- | -| -- | TextClassification | -- | -- | -- | -- | +| -- | Classification | -- | -- | -- | -- | ## 分布式 @@ -74,7 +83,7 @@ python text2paddle.py raw_big_train_data/ raw_big_test_data/ train_big_data test | 数据集 | 模型 | 单机 | 同步 (4节点) | 同步 (8节点) | 同步 (16节点) | 同步 (32节点) | | :------------------: | :--------------------: | :---------: |:---------: |:---------: |:---------: |:---------: | | -- | TagSpace | -- | -- | -- | -- | -- | -| -- | TextClassification | -- | -- | -- | -- | -- | +| -- | Classification | -- | -- | -- | -- | -- | ---- @@ -82,4 +91,4 @@ python text2paddle.py raw_big_train_data/ raw_big_test_data/ train_big_data test | 数据集 | 模型 | 单机 | 异步 (4节点) | 异步 (8节点) | 异步 (16节点) | 异步 (32节点) | | :------------------: | :--------------------: | :---------: |:---------: |:---------: |:---------: |:---------: | | -- | TagSpace | -- | -- | -- | -- | -- | -| -- | TextClassification | -- | -- | -- | -- | -- | \ No newline at end of file +| -- | Classification | -- | -- | -- | -- | -- | diff --git a/readme.md b/readme.md index 4873ab05..ff2b64b8 100644 --- a/readme.md +++ b/readme.md @@ -108,7 +108,7 @@ python -m paddlerec.run -m ./models/rank/dnn/config.yaml -e single | 方向 | 模型 | 单机CPU训练 | 单机GPU训练 | 分布式CPU训练 | | :------: | :----------------------------------------------------------------------------: | :---------: | :---------: | :-----------: | -| 内容理解 | [Text-Classifcation](models/contentunderstanding/text_classification/model.py) | ✓ | x | ✓ | +| 内容理解 | [Text-Classifcation](models/contentunderstanding/classification/model.py) | ✓ | x | ✓ | | 内容理解 | [TagSpace](models/contentunderstanding/tagspace/model.py) | ✓ | x | ✓ | | 召回 | [TDM](models/treebased/tdm/model.py) | ✓ | x | ✓ | | 召回 | [Word2Vec](models/recall/word2vec/model.py) | ✓ | x | ✓ | @@ -162,4 +162,4 @@ python -m paddlerec.run -m ./models/rank/dnn/config.yaml -e single ### 许可证书 本项目的发布受[Apache 2.0 license](LICENSE)许可认证。 - \ No newline at end of file + -- GitLab