From 8bca0e4311b444a61024c2a5dd755a22b47487da Mon Sep 17 00:00:00 2001 From: qingqing01 Date: Sat, 29 Sep 2018 10:54:07 +0800 Subject: [PATCH] Rename v2 to legacy (#1323) --- README.md | 2 +- {v2 => legacy}/README.cn.md | 0 {v2 => legacy}/README.md | 36 +++++++++--------- {v2 => legacy}/conv_seq2seq/README.md | 0 {v2 => legacy}/conv_seq2seq/beamsearch.py | 0 {v2 => legacy}/conv_seq2seq/download.sh | 0 {v2 => legacy}/conv_seq2seq/infer.py | 0 {v2 => legacy}/conv_seq2seq/model.py | 0 {v2 => legacy}/conv_seq2seq/preprocess.py | 0 {v2 => legacy}/conv_seq2seq/reader.py | 0 {v2 => legacy}/conv_seq2seq/train.py | 0 {v2 => legacy}/ctr/README.cn.md | 0 {v2 => legacy}/ctr/README.md | 0 {v2 => legacy}/ctr/avazu_data_processer.py | 0 {v2 => legacy}/ctr/dataset.md | 0 {v2 => legacy}/ctr/images/lr_vs_dnn.jpg | Bin {v2 => legacy}/ctr/images/wide_deep.png | Bin {v2 => legacy}/ctr/infer.py | 0 {v2 => legacy}/ctr/network_conf.py | 0 {v2 => legacy}/ctr/reader.py | 0 {v2 => legacy}/ctr/train.py | 0 {v2 => legacy}/ctr/utils.py | 0 {v2 => legacy}/deep_fm/README.cn.md | 0 {v2 => legacy}/deep_fm/README.md | 0 {v2 => legacy}/deep_fm/data/download.sh | 0 {v2 => legacy}/deep_fm/infer.py | 0 {v2 => legacy}/deep_fm/network_conf.py | 0 {v2 => legacy}/deep_fm/preprocess.py | 0 {v2 => legacy}/deep_fm/reader.py | 0 {v2 => legacy}/deep_fm/train.py | 0 {v2 => legacy}/dssm/README.cn.md | 0 {v2 => legacy}/dssm/README.md | 0 .../dssm/data/classification/test.txt | 0 .../dssm/data/classification/train.txt | 0 {v2 => legacy}/dssm/data/rank/test.txt | 0 {v2 => legacy}/dssm/data/rank/train.txt | 0 {v2 => legacy}/dssm/data/vocab.txt | 0 {v2 => legacy}/dssm/images/dssm.jpg | Bin {v2 => legacy}/dssm/images/dssm.png | Bin {v2 => legacy}/dssm/images/dssm2.jpg | Bin {v2 => legacy}/dssm/images/dssm2.png | Bin {v2 => legacy}/dssm/images/dssm3.jpg | Bin {v2 => legacy}/dssm/infer.py | 0 {v2 => legacy}/dssm/network_conf.py | 0 {v2 => legacy}/dssm/reader.py | 0 {v2 => legacy}/dssm/train.py | 0 {v2 => legacy}/dssm/utils.py | 0 .../generate_chinese_poetry/README.md | 0 .../generate_chinese_poetry/README_en.md | 0 .../generate_chinese_poetry/data/download.sh | 0 .../generate_chinese_poetry/generate.py | 0 .../generate_chinese_poetry/network_conf.py | 0 .../generate_chinese_poetry/preprocess.py | 0 .../generate_chinese_poetry/reader.py | 0 .../generate_chinese_poetry/train.py | 0 .../generate_chinese_poetry/utils.py | 0 .../generate_sequence_by_rnn_lm/.gitignore | 0 .../generate_sequence_by_rnn_lm/README.md | 0 .../beam_search.py | 0 .../generate_sequence_by_rnn_lm/config.py | 0 .../data/train_data_examples.txt | 0 .../generate_sequence_by_rnn_lm/generate.py | 0 .../images/ngram.png | Bin .../images/rnn.png | Bin .../network_conf.py | 0 .../generate_sequence_by_rnn_lm/reader.py | 0 .../generate_sequence_by_rnn_lm/train.py | 0 .../generate_sequence_by_rnn_lm/utils.py | 0 .../globally_normalized_reader/.gitignore | 0 .../globally_normalized_reader/README.cn.md | 0 .../globally_normalized_reader/README.md | 0 .../basic_modules.py | 0 .../beam_decoding.py | 0 .../globally_normalized_reader/config.py | 0 .../data/download.sh | 0 .../globally_normalized_reader/evaluate.py | 0 .../globally_normalized_reader/featurize.py | 0 .../globally_normalized_reader/infer.py | 0 .../globally_normalized_reader/model.py | 0 .../globally_normalized_reader/reader.py | 0 .../globally_normalized_reader/train.py | 0 .../globally_normalized_reader/vocab.py | 0 {v2 => legacy}/hsigmoid/.gitignore | 0 {v2 => legacy}/hsigmoid/README.md | 0 .../hsigmoid/images/binary_tree.png | Bin .../hsigmoid/images/network_conf.png | Bin {v2 => legacy}/hsigmoid/images/path_to_1.png | Bin {v2 => legacy}/hsigmoid/infer.py | 0 {v2 => legacy}/hsigmoid/network_conf.py | 0 {v2 => legacy}/hsigmoid/train.py | 0 {v2 => legacy}/image_classification/README.md | 0 .../image_classification/alexnet.py | 0 .../caffe2paddle/README.md | 0 .../caffe2paddle/caffe2paddle.py | 0 .../image_classification/googlenet.py | 0 .../inception_resnet_v2.py | 0 .../image_classification/inception_v4.py | 0 {v2 => legacy}/image_classification/infer.py | 0 .../models/model_download.sh | 0 {v2 => legacy}/image_classification/reader.py | 0 {v2 => legacy}/image_classification/resnet.py | 0 .../image_classification/tf2paddle/README.md | 0 .../tf2paddle/tf2paddle.py | 0 {v2 => legacy}/image_classification/train.py | 0 {v2 => legacy}/image_classification/vgg.py | 0 .../image_classification/xception.py | 0 {v2 => legacy}/ltr/README.md | 0 {v2 => legacy}/ltr/README_en.md | 0 {v2 => legacy}/ltr/images/LambdaRank_EN.png | Bin {v2 => legacy}/ltr/images/lambdarank.jpg | Bin .../ltr/images/learning_to_rank.jpg | Bin {v2 => legacy}/ltr/images/ranknet.jpg | Bin {v2 => legacy}/ltr/images/ranknet_en.png | Bin .../ltr/images/search_engine_example.png | Bin {v2 => legacy}/ltr/infer.py | 0 {v2 => legacy}/ltr/lambda_rank.py | 0 {v2 => legacy}/ltr/ranknet.py | 0 {v2 => legacy}/ltr/train.py | 0 .../mt_with_external_memory/README.md | 0 .../mt_with_external_memory/data_utils.py | 0 .../external_memory.py | 0 .../image/lstm_c_state.png | Bin .../image/memory_enhanced_decoder.png | Bin .../image/neural_turing_machine_arch.png | Bin .../image/turing_machine_cartoon.gif | Bin .../mt_with_external_memory/infer.py | 0 .../mt_with_external_memory/model.py | 0 .../mt_with_external_memory/train.py | 0 {v2 => legacy}/nce_cost/.gitignore | 0 {v2 => legacy}/nce_cost/README.md | 0 .../nce_cost/images/network_conf.png | Bin {v2 => legacy}/nce_cost/infer.py | 0 {v2 => legacy}/nce_cost/network_conf.py | 0 {v2 => legacy}/nce_cost/train.py | 0 {v2 => legacy}/nested_sequence/README.md | 0 {v2 => legacy}/nested_sequence/README_en.md | 0 .../text_classification/.gitignore | 0 .../text_classification/README.md | 0 .../text_classification/README_en.md | 0 .../text_classification/config.py | 0 .../text_classification/data/infer.txt | 0 .../data/test_data/test.txt | 0 .../data/train_data/train.txt | 0 .../text_classification/images/model.jpg | Bin .../text_classification/infer.py | 0 .../text_classification/network_conf.py | 0 .../text_classification/reader.py | 0 .../text_classification/requirements.txt | 0 .../text_classification/train.py | 0 .../text_classification/utils.py | 0 {v2 => legacy}/neural_qa/.gitignore | 0 {v2 => legacy}/neural_qa/README.md | 0 {v2 => legacy}/neural_qa/config.py | 0 {v2 => legacy}/neural_qa/infer.py | 0 {v2 => legacy}/neural_qa/network.py | 0 .../pre-trained-models/download-models.sh | 0 ...a.pre-trained-models.2017-10-27.tar.gz.md5 | 0 {v2 => legacy}/neural_qa/reader.py | 0 {v2 => legacy}/neural_qa/test/test_reader.py | 0 {v2 => legacy}/neural_qa/test/trn_data.gz | Bin {v2 => legacy}/neural_qa/train.py | 0 {v2 => legacy}/neural_qa/utils.py | 0 {v2 => legacy}/neural_qa/val_and_test.py | 0 .../nmt_without_attention/README.cn.md | 0 .../nmt_without_attention/README.md | 0 .../nmt_without_attention/generate.py | 0 .../images/bidirectional-encoder.png | Bin .../images/encoder-decoder.png | Bin .../nmt_without_attention/images/gru.png | Bin .../nmt_without_attention/network_conf.py | 0 {v2 => legacy}/nmt_without_attention/train.py | 0 .../scene_text_recognition/README.md | 0 .../scene_text_recognition/config.py | 0 .../scene_text_recognition/decoder.py | 0 .../scene_text_recognition/images/503.jpg | Bin .../scene_text_recognition/images/504.jpg | Bin .../scene_text_recognition/images/505.jpg | Bin .../scene_text_recognition/images/ctc.png | Bin .../images/feature_vector.png | Bin .../images/transcription.png | Bin .../scene_text_recognition/infer.py | 0 .../scene_text_recognition/network_conf.py | 0 .../scene_text_recognition/reader.py | 0 .../scene_text_recognition/requirements.txt | 0 .../scene_text_recognition/train.py | 0 .../scene_text_recognition/utils.py | 0 {v2 => legacy}/scheduled_sampling/README.md | 0 .../scheduled_sampling/README_en.md | 0 {v2 => legacy}/scheduled_sampling/generate.py | 0 .../images/Scheduled_Sampling.jpg | Bin .../scheduled_sampling/images/decay.jpg | Bin .../scheduled_sampling/network_conf.py | 0 {v2 => legacy}/scheduled_sampling/reader.py | 0 {v2 => legacy}/scheduled_sampling/train.py | 0 {v2 => legacy}/scheduled_sampling/utils.py | 0 .../sequence_tagging_for_ner/.gitignore | 0 .../sequence_tagging_for_ner/README.md | 0 .../sequence_tagging_for_ner/data/download.sh | 0 .../sequence_tagging_for_ner/data/target.txt | 0 .../sequence_tagging_for_ner/data/test | 0 .../sequence_tagging_for_ner/data/train | 0 .../sequence_tagging_for_ner/data/vocab.txt | 0 .../images/BIO tag example.png | Bin .../images/ner_label_ins.png | Bin .../images/ner_model_en.png | Bin .../images/ner_network.png | Bin .../sequence_tagging_for_ner/infer.py | 0 .../sequence_tagging_for_ner/network_conf.py | 0 .../sequence_tagging_for_ner/reader.py | 0 .../sequence_tagging_for_ner/train.py | 0 .../sequence_tagging_for_ner/utils.py | 0 {v2 => legacy}/ssd/README.cn.md | 0 {v2 => legacy}/ssd/README.md | 0 {v2 => legacy}/ssd/config/__init__.py | 0 {v2 => legacy}/ssd/config/pascal_voc_conf.py | 0 {v2 => legacy}/ssd/data/label_list | 0 {v2 => legacy}/ssd/data/prepare_voc_data.py | 0 {v2 => legacy}/ssd/data_provider.py | 0 {v2 => legacy}/ssd/eval.py | 0 {v2 => legacy}/ssd/image_util.py | 0 {v2 => legacy}/ssd/images/SSD300x300_map.png | Bin {v2 => legacy}/ssd/images/ssd_network.png | Bin {v2 => legacy}/ssd/images/vis_1.jpg | Bin {v2 => legacy}/ssd/images/vis_2.jpg | Bin {v2 => legacy}/ssd/images/vis_3.jpg | Bin {v2 => legacy}/ssd/images/vis_4.jpg | Bin {v2 => legacy}/ssd/infer.py | 0 {v2 => legacy}/ssd/train.py | 0 {v2 => legacy}/ssd/vgg_ssd_net.py | 0 {v2 => legacy}/ssd/visual.py | 0 {v2 => legacy}/text_classification/.gitignore | 0 {v2 => legacy}/text_classification/README.md | 0 .../text_classification/images/cnn_net.png | Bin .../text_classification/images/dnn_net.png | Bin {v2 => legacy}/text_classification/infer.py | 0 .../text_classification/network_conf.py | 0 {v2 => legacy}/text_classification/reader.py | 0 {v2 => legacy}/text_classification/run.sh | 0 {v2 => legacy}/text_classification/train.py | 0 {v2 => legacy}/text_classification/utils.py | 0 {v2 => legacy}/youtube_recall/README.cn.md | 0 {v2 => legacy}/youtube_recall/README.md | 0 {v2 => legacy}/youtube_recall/data/data.tar | Bin .../youtube_recall/data_processor.py | 0 .../youtube_recall/images/model_network.png | Bin .../images/recommendation_system.png | Bin {v2 => legacy}/youtube_recall/infer.py | 0 {v2 => legacy}/youtube_recall/infer_user.py | 0 {v2 => legacy}/youtube_recall/item_vector.py | 0 {v2 => legacy}/youtube_recall/network_conf.py | 0 {v2 => legacy}/youtube_recall/reader.py | 0 {v2 => legacy}/youtube_recall/train.py | 0 {v2 => legacy}/youtube_recall/user_vector.py | 0 {v2 => legacy}/youtube_recall/utils.py | 0 254 files changed, 19 insertions(+), 19 deletions(-) rename {v2 => legacy}/README.cn.md (100%) rename {v2 => legacy}/README.md (88%) rename {v2 => legacy}/conv_seq2seq/README.md (100%) rename {v2 => legacy}/conv_seq2seq/beamsearch.py (100%) rename {v2 => legacy}/conv_seq2seq/download.sh (100%) rename {v2 => legacy}/conv_seq2seq/infer.py (100%) rename {v2 => legacy}/conv_seq2seq/model.py (100%) rename {v2 => legacy}/conv_seq2seq/preprocess.py (100%) rename {v2 => legacy}/conv_seq2seq/reader.py (100%) rename {v2 => legacy}/conv_seq2seq/train.py (100%) rename {v2 => legacy}/ctr/README.cn.md (100%) rename {v2 => legacy}/ctr/README.md (100%) rename {v2 => legacy}/ctr/avazu_data_processer.py (100%) rename {v2 => legacy}/ctr/dataset.md (100%) rename {v2 => legacy}/ctr/images/lr_vs_dnn.jpg (100%) rename {v2 => legacy}/ctr/images/wide_deep.png (100%) rename {v2 => legacy}/ctr/infer.py (100%) rename {v2 => legacy}/ctr/network_conf.py (100%) rename {v2 => legacy}/ctr/reader.py (100%) rename {v2 => legacy}/ctr/train.py (100%) rename {v2 => legacy}/ctr/utils.py (100%) rename {v2 => legacy}/deep_fm/README.cn.md (100%) rename {v2 => legacy}/deep_fm/README.md (100%) rename {v2 => legacy}/deep_fm/data/download.sh (100%) rename {v2 => legacy}/deep_fm/infer.py (100%) rename {v2 => legacy}/deep_fm/network_conf.py (100%) rename {v2 => legacy}/deep_fm/preprocess.py (100%) rename {v2 => legacy}/deep_fm/reader.py (100%) rename {v2 => legacy}/deep_fm/train.py (100%) rename {v2 => legacy}/dssm/README.cn.md (100%) rename {v2 => legacy}/dssm/README.md (100%) rename {v2 => legacy}/dssm/data/classification/test.txt (100%) rename {v2 => legacy}/dssm/data/classification/train.txt (100%) rename {v2 => legacy}/dssm/data/rank/test.txt (100%) rename {v2 => legacy}/dssm/data/rank/train.txt (100%) rename {v2 => legacy}/dssm/data/vocab.txt (100%) rename {v2 => legacy}/dssm/images/dssm.jpg (100%) rename {v2 => legacy}/dssm/images/dssm.png (100%) rename {v2 => legacy}/dssm/images/dssm2.jpg (100%) rename {v2 => legacy}/dssm/images/dssm2.png (100%) rename {v2 => legacy}/dssm/images/dssm3.jpg (100%) rename {v2 => legacy}/dssm/infer.py (100%) rename {v2 => legacy}/dssm/network_conf.py (100%) rename {v2 => legacy}/dssm/reader.py (100%) rename {v2 => legacy}/dssm/train.py (100%) rename {v2 => legacy}/dssm/utils.py (100%) rename {v2 => legacy}/generate_chinese_poetry/README.md (100%) rename {v2 => legacy}/generate_chinese_poetry/README_en.md (100%) rename {v2 => legacy}/generate_chinese_poetry/data/download.sh (100%) rename {v2 => legacy}/generate_chinese_poetry/generate.py (100%) rename {v2 => legacy}/generate_chinese_poetry/network_conf.py (100%) rename {v2 => legacy}/generate_chinese_poetry/preprocess.py (100%) rename {v2 => legacy}/generate_chinese_poetry/reader.py (100%) rename {v2 => legacy}/generate_chinese_poetry/train.py (100%) rename {v2 => legacy}/generate_chinese_poetry/utils.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/.gitignore (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/README.md (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/beam_search.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/config.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/data/train_data_examples.txt (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/generate.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/images/ngram.png (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/images/rnn.png (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/network_conf.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/reader.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/train.py (100%) rename {v2 => legacy}/generate_sequence_by_rnn_lm/utils.py (100%) rename {v2 => legacy}/globally_normalized_reader/.gitignore (100%) rename {v2 => legacy}/globally_normalized_reader/README.cn.md (100%) rename {v2 => legacy}/globally_normalized_reader/README.md (100%) rename {v2 => legacy}/globally_normalized_reader/basic_modules.py (100%) rename {v2 => legacy}/globally_normalized_reader/beam_decoding.py (100%) rename {v2 => legacy}/globally_normalized_reader/config.py (100%) rename {v2 => legacy}/globally_normalized_reader/data/download.sh (100%) rename {v2 => legacy}/globally_normalized_reader/evaluate.py (100%) rename {v2 => legacy}/globally_normalized_reader/featurize.py (100%) rename {v2 => legacy}/globally_normalized_reader/infer.py (100%) rename {v2 => legacy}/globally_normalized_reader/model.py (100%) rename {v2 => legacy}/globally_normalized_reader/reader.py (100%) rename {v2 => legacy}/globally_normalized_reader/train.py (100%) rename {v2 => legacy}/globally_normalized_reader/vocab.py (100%) rename {v2 => legacy}/hsigmoid/.gitignore (100%) rename {v2 => legacy}/hsigmoid/README.md (100%) rename {v2 => legacy}/hsigmoid/images/binary_tree.png (100%) rename {v2 => legacy}/hsigmoid/images/network_conf.png (100%) rename {v2 => legacy}/hsigmoid/images/path_to_1.png (100%) rename {v2 => legacy}/hsigmoid/infer.py (100%) rename {v2 => legacy}/hsigmoid/network_conf.py (100%) rename {v2 => legacy}/hsigmoid/train.py (100%) rename {v2 => legacy}/image_classification/README.md (100%) rename {v2 => legacy}/image_classification/alexnet.py (100%) rename {v2 => legacy}/image_classification/caffe2paddle/README.md (100%) rename {v2 => legacy}/image_classification/caffe2paddle/caffe2paddle.py (100%) rename {v2 => legacy}/image_classification/googlenet.py (100%) rename {v2 => legacy}/image_classification/inception_resnet_v2.py (100%) rename {v2 => legacy}/image_classification/inception_v4.py (100%) rename {v2 => legacy}/image_classification/infer.py (100%) rename {v2 => legacy}/image_classification/models/model_download.sh (100%) rename {v2 => legacy}/image_classification/reader.py (100%) rename {v2 => legacy}/image_classification/resnet.py (100%) rename {v2 => legacy}/image_classification/tf2paddle/README.md (100%) rename {v2 => legacy}/image_classification/tf2paddle/tf2paddle.py (100%) rename {v2 => legacy}/image_classification/train.py (100%) rename {v2 => legacy}/image_classification/vgg.py (100%) rename {v2 => legacy}/image_classification/xception.py (100%) rename {v2 => legacy}/ltr/README.md (100%) rename {v2 => legacy}/ltr/README_en.md (100%) rename {v2 => legacy}/ltr/images/LambdaRank_EN.png (100%) rename {v2 => legacy}/ltr/images/lambdarank.jpg (100%) rename {v2 => legacy}/ltr/images/learning_to_rank.jpg (100%) rename {v2 => legacy}/ltr/images/ranknet.jpg (100%) rename {v2 => legacy}/ltr/images/ranknet_en.png (100%) rename {v2 => legacy}/ltr/images/search_engine_example.png (100%) rename {v2 => legacy}/ltr/infer.py (100%) rename {v2 => legacy}/ltr/lambda_rank.py (100%) rename {v2 => legacy}/ltr/ranknet.py (100%) rename {v2 => legacy}/ltr/train.py (100%) rename {v2 => legacy}/mt_with_external_memory/README.md (100%) rename {v2 => legacy}/mt_with_external_memory/data_utils.py (100%) rename {v2 => legacy}/mt_with_external_memory/external_memory.py (100%) rename {v2 => legacy}/mt_with_external_memory/image/lstm_c_state.png (100%) rename {v2 => legacy}/mt_with_external_memory/image/memory_enhanced_decoder.png (100%) rename {v2 => legacy}/mt_with_external_memory/image/neural_turing_machine_arch.png (100%) rename {v2 => legacy}/mt_with_external_memory/image/turing_machine_cartoon.gif (100%) rename {v2 => legacy}/mt_with_external_memory/infer.py (100%) rename {v2 => legacy}/mt_with_external_memory/model.py (100%) rename {v2 => legacy}/mt_with_external_memory/train.py (100%) rename {v2 => legacy}/nce_cost/.gitignore (100%) rename {v2 => legacy}/nce_cost/README.md (100%) rename {v2 => legacy}/nce_cost/images/network_conf.png (100%) rename {v2 => legacy}/nce_cost/infer.py (100%) rename {v2 => legacy}/nce_cost/network_conf.py (100%) rename {v2 => legacy}/nce_cost/train.py (100%) rename {v2 => legacy}/nested_sequence/README.md (100%) rename {v2 => legacy}/nested_sequence/README_en.md (100%) rename {v2 => legacy}/nested_sequence/text_classification/.gitignore (100%) rename {v2 => legacy}/nested_sequence/text_classification/README.md (100%) rename {v2 => legacy}/nested_sequence/text_classification/README_en.md (100%) rename {v2 => legacy}/nested_sequence/text_classification/config.py (100%) rename {v2 => legacy}/nested_sequence/text_classification/data/infer.txt (100%) rename {v2 => legacy}/nested_sequence/text_classification/data/test_data/test.txt (100%) rename {v2 => legacy}/nested_sequence/text_classification/data/train_data/train.txt (100%) rename {v2 => legacy}/nested_sequence/text_classification/images/model.jpg (100%) rename {v2 => legacy}/nested_sequence/text_classification/infer.py (100%) rename {v2 => legacy}/nested_sequence/text_classification/network_conf.py (100%) rename {v2 => legacy}/nested_sequence/text_classification/reader.py (100%) rename {v2 => legacy}/nested_sequence/text_classification/requirements.txt (100%) rename {v2 => legacy}/nested_sequence/text_classification/train.py (100%) rename {v2 => legacy}/nested_sequence/text_classification/utils.py (100%) rename {v2 => legacy}/neural_qa/.gitignore (100%) rename {v2 => legacy}/neural_qa/README.md (100%) rename {v2 => legacy}/neural_qa/config.py (100%) rename {v2 => legacy}/neural_qa/infer.py (100%) rename {v2 => legacy}/neural_qa/network.py (100%) rename {v2 => legacy}/neural_qa/pre-trained-models/download-models.sh (100%) rename {v2 => legacy}/neural_qa/pre-trained-models/neural_seq_qa.pre-trained-models.2017-10-27.tar.gz.md5 (100%) rename {v2 => legacy}/neural_qa/reader.py (100%) rename {v2 => legacy}/neural_qa/test/test_reader.py (100%) rename {v2 => legacy}/neural_qa/test/trn_data.gz (100%) rename {v2 => legacy}/neural_qa/train.py (100%) rename {v2 => legacy}/neural_qa/utils.py (100%) rename {v2 => legacy}/neural_qa/val_and_test.py (100%) rename {v2 => legacy}/nmt_without_attention/README.cn.md (100%) rename {v2 => legacy}/nmt_without_attention/README.md (100%) rename {v2 => legacy}/nmt_without_attention/generate.py (100%) rename {v2 => legacy}/nmt_without_attention/images/bidirectional-encoder.png (100%) rename {v2 => legacy}/nmt_without_attention/images/encoder-decoder.png (100%) rename {v2 => legacy}/nmt_without_attention/images/gru.png (100%) rename {v2 => legacy}/nmt_without_attention/network_conf.py (100%) rename {v2 => legacy}/nmt_without_attention/train.py (100%) rename {v2 => legacy}/scene_text_recognition/README.md (100%) rename {v2 => legacy}/scene_text_recognition/config.py (100%) rename {v2 => legacy}/scene_text_recognition/decoder.py (100%) rename {v2 => legacy}/scene_text_recognition/images/503.jpg (100%) rename {v2 => legacy}/scene_text_recognition/images/504.jpg (100%) rename {v2 => legacy}/scene_text_recognition/images/505.jpg (100%) rename {v2 => legacy}/scene_text_recognition/images/ctc.png (100%) rename {v2 => legacy}/scene_text_recognition/images/feature_vector.png (100%) rename {v2 => legacy}/scene_text_recognition/images/transcription.png (100%) rename {v2 => legacy}/scene_text_recognition/infer.py (100%) rename {v2 => legacy}/scene_text_recognition/network_conf.py (100%) rename {v2 => legacy}/scene_text_recognition/reader.py (100%) rename {v2 => legacy}/scene_text_recognition/requirements.txt (100%) rename {v2 => legacy}/scene_text_recognition/train.py (100%) rename {v2 => legacy}/scene_text_recognition/utils.py (100%) rename {v2 => legacy}/scheduled_sampling/README.md (100%) rename {v2 => legacy}/scheduled_sampling/README_en.md (100%) rename {v2 => legacy}/scheduled_sampling/generate.py (100%) rename {v2 => legacy}/scheduled_sampling/images/Scheduled_Sampling.jpg (100%) rename {v2 => legacy}/scheduled_sampling/images/decay.jpg (100%) rename {v2 => legacy}/scheduled_sampling/network_conf.py (100%) rename {v2 => legacy}/scheduled_sampling/reader.py (100%) rename {v2 => legacy}/scheduled_sampling/train.py (100%) rename {v2 => legacy}/scheduled_sampling/utils.py (100%) rename {v2 => legacy}/sequence_tagging_for_ner/.gitignore (100%) rename {v2 => legacy}/sequence_tagging_for_ner/README.md (100%) rename {v2 => legacy}/sequence_tagging_for_ner/data/download.sh (100%) rename {v2 => legacy}/sequence_tagging_for_ner/data/target.txt (100%) rename {v2 => legacy}/sequence_tagging_for_ner/data/test (100%) rename {v2 => legacy}/sequence_tagging_for_ner/data/train (100%) rename {v2 => legacy}/sequence_tagging_for_ner/data/vocab.txt (100%) rename {v2 => legacy}/sequence_tagging_for_ner/images/BIO tag example.png (100%) rename {v2 => legacy}/sequence_tagging_for_ner/images/ner_label_ins.png (100%) rename {v2 => legacy}/sequence_tagging_for_ner/images/ner_model_en.png (100%) rename {v2 => legacy}/sequence_tagging_for_ner/images/ner_network.png (100%) rename {v2 => legacy}/sequence_tagging_for_ner/infer.py (100%) rename {v2 => legacy}/sequence_tagging_for_ner/network_conf.py (100%) rename {v2 => legacy}/sequence_tagging_for_ner/reader.py (100%) rename {v2 => legacy}/sequence_tagging_for_ner/train.py (100%) rename {v2 => legacy}/sequence_tagging_for_ner/utils.py (100%) rename {v2 => legacy}/ssd/README.cn.md (100%) rename {v2 => legacy}/ssd/README.md (100%) rename {v2 => legacy}/ssd/config/__init__.py (100%) rename {v2 => legacy}/ssd/config/pascal_voc_conf.py (100%) rename {v2 => legacy}/ssd/data/label_list (100%) rename {v2 => legacy}/ssd/data/prepare_voc_data.py (100%) rename {v2 => legacy}/ssd/data_provider.py (100%) rename {v2 => legacy}/ssd/eval.py (100%) rename {v2 => legacy}/ssd/image_util.py (100%) rename {v2 => legacy}/ssd/images/SSD300x300_map.png (100%) rename {v2 => legacy}/ssd/images/ssd_network.png (100%) rename {v2 => legacy}/ssd/images/vis_1.jpg (100%) rename {v2 => legacy}/ssd/images/vis_2.jpg (100%) rename {v2 => legacy}/ssd/images/vis_3.jpg (100%) rename {v2 => legacy}/ssd/images/vis_4.jpg (100%) rename {v2 => legacy}/ssd/infer.py (100%) rename {v2 => legacy}/ssd/train.py (100%) rename {v2 => legacy}/ssd/vgg_ssd_net.py (100%) rename {v2 => legacy}/ssd/visual.py (100%) rename {v2 => legacy}/text_classification/.gitignore (100%) rename {v2 => legacy}/text_classification/README.md (100%) rename {v2 => legacy}/text_classification/images/cnn_net.png (100%) rename {v2 => legacy}/text_classification/images/dnn_net.png (100%) rename {v2 => legacy}/text_classification/infer.py (100%) rename {v2 => legacy}/text_classification/network_conf.py (100%) rename {v2 => legacy}/text_classification/reader.py (100%) rename {v2 => legacy}/text_classification/run.sh (100%) rename {v2 => legacy}/text_classification/train.py (100%) rename {v2 => legacy}/text_classification/utils.py (100%) rename {v2 => legacy}/youtube_recall/README.cn.md (100%) rename {v2 => legacy}/youtube_recall/README.md (100%) rename {v2 => legacy}/youtube_recall/data/data.tar (100%) rename {v2 => legacy}/youtube_recall/data_processor.py (100%) rename {v2 => legacy}/youtube_recall/images/model_network.png (100%) rename {v2 => legacy}/youtube_recall/images/recommendation_system.png (100%) rename {v2 => legacy}/youtube_recall/infer.py (100%) rename {v2 => legacy}/youtube_recall/infer_user.py (100%) rename {v2 => legacy}/youtube_recall/item_vector.py (100%) rename {v2 => legacy}/youtube_recall/network_conf.py (100%) rename {v2 => legacy}/youtube_recall/reader.py (100%) rename {v2 => legacy}/youtube_recall/train.py (100%) rename {v2 => legacy}/youtube_recall/user_vector.py (100%) rename {v2 => legacy}/youtube_recall/utils.py (100%) diff --git a/README.md b/README.md index b7734fde..f08da24e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ PaddlePaddle provides a rich set of computational units to enable users to adopt - [fluid models](fluid): use PaddlePaddle's Fluid APIs. We especially recommend users to use Fluid models. -- [v2 models](v2): use PaddlePaddle's v2 APIs. +- [legacy models](legacy): use PaddlePaddle's v2 APIs. ## License diff --git a/v2/README.cn.md b/legacy/README.cn.md similarity index 100% rename from v2/README.cn.md rename to legacy/README.cn.md diff --git a/v2/README.md b/legacy/README.md similarity index 88% rename from v2/README.md rename to legacy/README.md index 643cb288..f7741c9b 100644 --- a/v2/README.md +++ b/legacy/README.md @@ -12,23 +12,23 @@ The word embedding expresses words with a real vector. Each dimension of the vec In the example of word vectors, we show how to use Hierarchical-Sigmoid and Noise Contrastive Estimation (NCE) to accelerate word-vector learning. -- 1.1 [Hsigmoid Accelerated Word Vector Training](https://github.com/PaddlePaddle/models/tree/develop/v2/hsigmoid) -- 1.2 [Noise Contrastive Estimation Accelerated Word Vector Training](https://github.com/PaddlePaddle/models/tree/develop/v2/nce_cost) +- 1.1 [Hsigmoid Accelerated Word Vector Training](https://github.com/PaddlePaddle/models/tree/develop/legacy/hsigmoid) +- 1.2 [Noise Contrastive Estimation Accelerated Word Vector Training](https://github.com/PaddlePaddle/models/tree/develop/legacy/nce_cost) ## 2. RNN language model The language model is important in the field of natural language processing. In addition to getting the word vector (a by-product of language model training), it can also help us to generate text. Given a number of words, the language model can help us predict the next most likely word. In the example of using the language model to generate text, we focus on the recurrent neural network language model. We can use the instructions in the document quickly adapt to their training corpus, complete automatic writing poetry, automatic writing prose and other interesting models. -- 2.1 [Generate text using the RNN language model](https://github.com/PaddlePaddle/models/tree/develop/v2/generate_sequence_by_rnn_lm) +- 2.1 [Generate text using the RNN language model](https://github.com/PaddlePaddle/models/tree/develop/legacy/generate_sequence_by_rnn_lm) ## 3. Click-Through Rate prediction The click-through rate model predicts the probability that a user will click on an ad. This is widely used for advertising technology. Logistic Regression has a good learning performance for large-scale sparse features in the early stages of the development of click-through rate prediction. In recent years, DNN model because of its strong learning ability to gradually take the banner rate of the task of the banner. In the example of click-through rate estimates, we first give the Google's Wide & Deep model. This model combines the advantages of DNN and the applicable logistic regression model for DNN and large-scale sparse features. Then we provide the deep factorization machine for click-through rate prediction. The deep factorization machine combines the factorization machine and deep neural networks to model both low order and high order interactions of input features. -- 3.1 [Click-Through Rate Model](https://github.com/PaddlePaddle/models/tree/develop/v2/ctr) -- 3.2 [Deep Factorization Machine for Click-Through Rate prediction](https://github.com/PaddlePaddle/models/tree/develop/v2/deep_fm) +- 3.1 [Click-Through Rate Model](https://github.com/PaddlePaddle/models/tree/develop/legacy/ctr) +- 3.2 [Deep Factorization Machine for Click-Through Rate prediction](https://github.com/PaddlePaddle/models/tree/develop/legacy/deep_fm) ## 4. Text classification @@ -36,7 +36,7 @@ Text classification is one of the most basic tasks in natural language processin For text classification, we provide a non-sequential text classification model based on DNN and CNN. (For LSTM-based model, please refer to PaddleBook [Sentiment Analysis](http://www.paddlepaddle.org/docs/develop/book/06.understand_sentiment/index.html)). -- 4.1 [Sentiment analysis based on DNN / CNN](https://github.com/PaddlePaddle/models/tree/develop/v2/text_classification) +- 4.1 [Sentiment analysis based on DNN / CNN](https://github.com/PaddlePaddle/models/tree/develop/legacy/text_classification) ## 5. Learning to rank @@ -45,14 +45,14 @@ The depth neural network can be used to model the fractional function to form va The algorithms for learning to rank are usually categorized into three groups by their input representation and the loss function. These are pointwise, pairwise and listwise approaches. Here we demonstrate RankLoss loss function method (pairwise approach), and LambdaRank loss function method (listwise approach). (For Pointwise approaches, please refer to [Recommended System](http://www.paddlepaddle.org/docs/develop/book/05.recommender_system/index.html)). -- 5.1 [Learning to rank based on Pairwise and Listwise approches](https://github.com/PaddlePaddle/models/tree/develop/v2/ltr) +- 5.1 [Learning to rank based on Pairwise and Listwise approches](https://github.com/PaddlePaddle/models/tree/develop/legacy/ltr) ## 6. Semantic model The deep structured semantic model uses the DNN model to learn the vector representation of the low latitude in a continuous semantic space, finally models the semantic similarity between the two sentences. In this example, we demonstrate how to use PaddlePaddle to implement a generic deep structured semantic model to model the semantic similarity between two strings. The model supports different network structures such as CNN (Convolutional Network), FC (Fully Connected Network), RNN (Recurrent Neural Network), and different loss functions such as classification, regression, and sequencing. -- 6.1 [Deep structured semantic model](https://github.com/PaddlePaddle/models/tree/develop/v2/dssm) +- 6.1 [Deep structured semantic model](https://github.com/PaddlePaddle/models/tree/develop/legacy/dssm) ## 7. Sequence tagging @@ -60,7 +60,7 @@ Given the input sequence, the sequence tagging model is one of the most basic ta In the example of the sequence tagging, we describe how to train an end-to-end sequence tagging model with the Named Entity Recognition (NER) task as an example. -- 7.1 [Name Entity Recognition](https://github.com/PaddlePaddle/models/tree/develop/v2/sequence_tagging_for_ner) +- 7.1 [Name Entity Recognition](https://github.com/PaddlePaddle/models/tree/develop/legacy/sequence_tagging_for_ner) ## 8. Sequence to sequence learning @@ -68,19 +68,19 @@ Sequence-to-sequence model has a wide range of applications. This includes machi As an example for sequence-to-sequence learning, we take the machine translation task. We demonstrate the sequence-to-sequence mapping model without attention mechanism, which is the basis for all sequence-to-sequence learning models. We will use scheduled sampling to improve the problem of error accumulation in the RNN model, and machine translation with external memory mechanism. -- 8.1 [Basic Sequence-to-sequence model](https://github.com/PaddlePaddle/models/tree/develop/v2/nmt_without_attention) +- 8.1 [Basic Sequence-to-sequence model](https://github.com/PaddlePaddle/models/tree/develop/legacy/nmt_without_attention) ## 9. Image classification For the example of image classification, we show you how to train AlexNet, VGG, GoogLeNet, ResNet, Inception-v4, Inception-Resnet-V2 and Xception models in PaddlePaddle. It also provides model conversion tools that convert Caffe or TensorFlow trained model files into PaddlePaddle model files. -- 9.1 [convert Caffe model file to PaddlePaddle model file](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification/caffe2paddle) -- 9.2 [convert TensorFlow model file to PaddlePaddle model file](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification/tf2paddle) -- 9.3 [AlexNet](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) -- 9.4 [VGG](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) -- 9.5 [Residual Network](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) -- 9.6 [Inception-v4](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) -- 9.7 [Inception-Resnet-V2](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) -- 9.8 [Xception](https://github.com/PaddlePaddle/models/tree/develop/v2/image_classification) +- 9.1 [convert Caffe model file to PaddlePaddle model file](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification/caffe2paddle) +- 9.2 [convert TensorFlow model file to PaddlePaddle model file](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification/tf2paddle) +- 9.3 [AlexNet](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) +- 9.4 [VGG](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) +- 9.5 [Residual Network](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) +- 9.6 [Inception-v4](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) +- 9.7 [Inception-Resnet-V2](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) +- 9.8 [Xception](https://github.com/PaddlePaddle/models/tree/develop/legacy/image_classification) This tutorial is contributed by [PaddlePaddle](https://github.com/PaddlePaddle/Paddle) and licensed under the [Apache-2.0 license](LICENSE). diff --git a/v2/conv_seq2seq/README.md b/legacy/conv_seq2seq/README.md similarity index 100% rename from v2/conv_seq2seq/README.md rename to legacy/conv_seq2seq/README.md diff --git a/v2/conv_seq2seq/beamsearch.py b/legacy/conv_seq2seq/beamsearch.py similarity index 100% rename from v2/conv_seq2seq/beamsearch.py rename to legacy/conv_seq2seq/beamsearch.py diff --git a/v2/conv_seq2seq/download.sh b/legacy/conv_seq2seq/download.sh similarity index 100% rename from v2/conv_seq2seq/download.sh rename to legacy/conv_seq2seq/download.sh diff --git a/v2/conv_seq2seq/infer.py b/legacy/conv_seq2seq/infer.py similarity index 100% rename from v2/conv_seq2seq/infer.py rename to legacy/conv_seq2seq/infer.py diff --git a/v2/conv_seq2seq/model.py b/legacy/conv_seq2seq/model.py similarity index 100% rename from v2/conv_seq2seq/model.py rename to legacy/conv_seq2seq/model.py diff --git a/v2/conv_seq2seq/preprocess.py b/legacy/conv_seq2seq/preprocess.py similarity index 100% rename from v2/conv_seq2seq/preprocess.py rename to legacy/conv_seq2seq/preprocess.py diff --git a/v2/conv_seq2seq/reader.py b/legacy/conv_seq2seq/reader.py similarity index 100% rename from v2/conv_seq2seq/reader.py rename to legacy/conv_seq2seq/reader.py diff --git a/v2/conv_seq2seq/train.py b/legacy/conv_seq2seq/train.py similarity index 100% rename from v2/conv_seq2seq/train.py rename to legacy/conv_seq2seq/train.py diff --git a/v2/ctr/README.cn.md b/legacy/ctr/README.cn.md similarity index 100% rename from v2/ctr/README.cn.md rename to legacy/ctr/README.cn.md diff --git a/v2/ctr/README.md b/legacy/ctr/README.md similarity index 100% rename from v2/ctr/README.md rename to legacy/ctr/README.md diff --git a/v2/ctr/avazu_data_processer.py b/legacy/ctr/avazu_data_processer.py similarity index 100% rename from v2/ctr/avazu_data_processer.py rename to legacy/ctr/avazu_data_processer.py diff --git a/v2/ctr/dataset.md b/legacy/ctr/dataset.md similarity index 100% rename from v2/ctr/dataset.md rename to legacy/ctr/dataset.md diff --git a/v2/ctr/images/lr_vs_dnn.jpg b/legacy/ctr/images/lr_vs_dnn.jpg similarity index 100% rename from v2/ctr/images/lr_vs_dnn.jpg rename to legacy/ctr/images/lr_vs_dnn.jpg diff --git a/v2/ctr/images/wide_deep.png b/legacy/ctr/images/wide_deep.png similarity index 100% rename from v2/ctr/images/wide_deep.png rename to legacy/ctr/images/wide_deep.png diff --git a/v2/ctr/infer.py b/legacy/ctr/infer.py similarity index 100% rename from v2/ctr/infer.py rename to legacy/ctr/infer.py diff --git a/v2/ctr/network_conf.py b/legacy/ctr/network_conf.py similarity index 100% rename from v2/ctr/network_conf.py rename to legacy/ctr/network_conf.py diff --git a/v2/ctr/reader.py b/legacy/ctr/reader.py similarity index 100% rename from v2/ctr/reader.py rename to legacy/ctr/reader.py diff --git a/v2/ctr/train.py b/legacy/ctr/train.py similarity index 100% rename from v2/ctr/train.py rename to legacy/ctr/train.py diff --git a/v2/ctr/utils.py b/legacy/ctr/utils.py similarity index 100% rename from v2/ctr/utils.py rename to legacy/ctr/utils.py diff --git a/v2/deep_fm/README.cn.md b/legacy/deep_fm/README.cn.md similarity index 100% rename from v2/deep_fm/README.cn.md rename to legacy/deep_fm/README.cn.md diff --git a/v2/deep_fm/README.md b/legacy/deep_fm/README.md similarity index 100% rename from v2/deep_fm/README.md rename to legacy/deep_fm/README.md diff --git a/v2/deep_fm/data/download.sh b/legacy/deep_fm/data/download.sh similarity index 100% rename from v2/deep_fm/data/download.sh rename to legacy/deep_fm/data/download.sh diff --git a/v2/deep_fm/infer.py b/legacy/deep_fm/infer.py similarity index 100% rename from v2/deep_fm/infer.py rename to legacy/deep_fm/infer.py diff --git a/v2/deep_fm/network_conf.py b/legacy/deep_fm/network_conf.py similarity index 100% rename from v2/deep_fm/network_conf.py rename to legacy/deep_fm/network_conf.py diff --git a/v2/deep_fm/preprocess.py b/legacy/deep_fm/preprocess.py similarity index 100% rename from v2/deep_fm/preprocess.py rename to legacy/deep_fm/preprocess.py diff --git a/v2/deep_fm/reader.py b/legacy/deep_fm/reader.py similarity index 100% rename from v2/deep_fm/reader.py rename to legacy/deep_fm/reader.py diff --git a/v2/deep_fm/train.py b/legacy/deep_fm/train.py similarity index 100% rename from v2/deep_fm/train.py rename to legacy/deep_fm/train.py diff --git a/v2/dssm/README.cn.md b/legacy/dssm/README.cn.md similarity index 100% rename from v2/dssm/README.cn.md rename to legacy/dssm/README.cn.md diff --git a/v2/dssm/README.md b/legacy/dssm/README.md similarity index 100% rename from v2/dssm/README.md rename to legacy/dssm/README.md diff --git a/v2/dssm/data/classification/test.txt b/legacy/dssm/data/classification/test.txt similarity index 100% rename from v2/dssm/data/classification/test.txt rename to legacy/dssm/data/classification/test.txt diff --git a/v2/dssm/data/classification/train.txt b/legacy/dssm/data/classification/train.txt similarity index 100% rename from v2/dssm/data/classification/train.txt rename to legacy/dssm/data/classification/train.txt diff --git a/v2/dssm/data/rank/test.txt b/legacy/dssm/data/rank/test.txt similarity index 100% rename from v2/dssm/data/rank/test.txt rename to legacy/dssm/data/rank/test.txt diff --git a/v2/dssm/data/rank/train.txt b/legacy/dssm/data/rank/train.txt similarity index 100% rename from v2/dssm/data/rank/train.txt rename to legacy/dssm/data/rank/train.txt diff --git a/v2/dssm/data/vocab.txt b/legacy/dssm/data/vocab.txt similarity index 100% rename from v2/dssm/data/vocab.txt rename to legacy/dssm/data/vocab.txt diff --git a/v2/dssm/images/dssm.jpg b/legacy/dssm/images/dssm.jpg similarity index 100% rename from v2/dssm/images/dssm.jpg rename to legacy/dssm/images/dssm.jpg diff --git a/v2/dssm/images/dssm.png b/legacy/dssm/images/dssm.png similarity index 100% rename from v2/dssm/images/dssm.png rename to legacy/dssm/images/dssm.png diff --git a/v2/dssm/images/dssm2.jpg b/legacy/dssm/images/dssm2.jpg similarity index 100% rename from v2/dssm/images/dssm2.jpg rename to legacy/dssm/images/dssm2.jpg diff --git a/v2/dssm/images/dssm2.png b/legacy/dssm/images/dssm2.png similarity index 100% rename from v2/dssm/images/dssm2.png rename to legacy/dssm/images/dssm2.png diff --git a/v2/dssm/images/dssm3.jpg b/legacy/dssm/images/dssm3.jpg similarity index 100% rename from v2/dssm/images/dssm3.jpg rename to legacy/dssm/images/dssm3.jpg diff --git a/v2/dssm/infer.py b/legacy/dssm/infer.py similarity index 100% rename from v2/dssm/infer.py rename to legacy/dssm/infer.py diff --git a/v2/dssm/network_conf.py b/legacy/dssm/network_conf.py similarity index 100% rename from v2/dssm/network_conf.py rename to legacy/dssm/network_conf.py diff --git a/v2/dssm/reader.py b/legacy/dssm/reader.py similarity index 100% rename from v2/dssm/reader.py rename to legacy/dssm/reader.py diff --git a/v2/dssm/train.py b/legacy/dssm/train.py similarity index 100% rename from v2/dssm/train.py rename to legacy/dssm/train.py diff --git a/v2/dssm/utils.py b/legacy/dssm/utils.py similarity index 100% rename from v2/dssm/utils.py rename to legacy/dssm/utils.py diff --git a/v2/generate_chinese_poetry/README.md b/legacy/generate_chinese_poetry/README.md similarity index 100% rename from v2/generate_chinese_poetry/README.md rename to legacy/generate_chinese_poetry/README.md diff --git a/v2/generate_chinese_poetry/README_en.md b/legacy/generate_chinese_poetry/README_en.md similarity index 100% rename from v2/generate_chinese_poetry/README_en.md rename to legacy/generate_chinese_poetry/README_en.md diff --git a/v2/generate_chinese_poetry/data/download.sh b/legacy/generate_chinese_poetry/data/download.sh similarity index 100% rename from v2/generate_chinese_poetry/data/download.sh rename to legacy/generate_chinese_poetry/data/download.sh diff --git a/v2/generate_chinese_poetry/generate.py b/legacy/generate_chinese_poetry/generate.py similarity index 100% rename from v2/generate_chinese_poetry/generate.py rename to legacy/generate_chinese_poetry/generate.py diff --git a/v2/generate_chinese_poetry/network_conf.py b/legacy/generate_chinese_poetry/network_conf.py similarity index 100% rename from v2/generate_chinese_poetry/network_conf.py rename to legacy/generate_chinese_poetry/network_conf.py diff --git a/v2/generate_chinese_poetry/preprocess.py b/legacy/generate_chinese_poetry/preprocess.py similarity index 100% rename from v2/generate_chinese_poetry/preprocess.py rename to legacy/generate_chinese_poetry/preprocess.py diff --git a/v2/generate_chinese_poetry/reader.py b/legacy/generate_chinese_poetry/reader.py similarity index 100% rename from v2/generate_chinese_poetry/reader.py rename to legacy/generate_chinese_poetry/reader.py diff --git a/v2/generate_chinese_poetry/train.py b/legacy/generate_chinese_poetry/train.py similarity index 100% rename from v2/generate_chinese_poetry/train.py rename to legacy/generate_chinese_poetry/train.py diff --git a/v2/generate_chinese_poetry/utils.py b/legacy/generate_chinese_poetry/utils.py similarity index 100% rename from v2/generate_chinese_poetry/utils.py rename to legacy/generate_chinese_poetry/utils.py diff --git a/v2/generate_sequence_by_rnn_lm/.gitignore b/legacy/generate_sequence_by_rnn_lm/.gitignore similarity index 100% rename from v2/generate_sequence_by_rnn_lm/.gitignore rename to legacy/generate_sequence_by_rnn_lm/.gitignore diff --git a/v2/generate_sequence_by_rnn_lm/README.md b/legacy/generate_sequence_by_rnn_lm/README.md similarity index 100% rename from v2/generate_sequence_by_rnn_lm/README.md rename to legacy/generate_sequence_by_rnn_lm/README.md diff --git a/v2/generate_sequence_by_rnn_lm/beam_search.py b/legacy/generate_sequence_by_rnn_lm/beam_search.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/beam_search.py rename to legacy/generate_sequence_by_rnn_lm/beam_search.py diff --git a/v2/generate_sequence_by_rnn_lm/config.py b/legacy/generate_sequence_by_rnn_lm/config.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/config.py rename to legacy/generate_sequence_by_rnn_lm/config.py diff --git a/v2/generate_sequence_by_rnn_lm/data/train_data_examples.txt b/legacy/generate_sequence_by_rnn_lm/data/train_data_examples.txt similarity index 100% rename from v2/generate_sequence_by_rnn_lm/data/train_data_examples.txt rename to legacy/generate_sequence_by_rnn_lm/data/train_data_examples.txt diff --git a/v2/generate_sequence_by_rnn_lm/generate.py b/legacy/generate_sequence_by_rnn_lm/generate.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/generate.py rename to legacy/generate_sequence_by_rnn_lm/generate.py diff --git a/v2/generate_sequence_by_rnn_lm/images/ngram.png b/legacy/generate_sequence_by_rnn_lm/images/ngram.png similarity index 100% rename from v2/generate_sequence_by_rnn_lm/images/ngram.png rename to legacy/generate_sequence_by_rnn_lm/images/ngram.png diff --git a/v2/generate_sequence_by_rnn_lm/images/rnn.png b/legacy/generate_sequence_by_rnn_lm/images/rnn.png similarity index 100% rename from v2/generate_sequence_by_rnn_lm/images/rnn.png rename to legacy/generate_sequence_by_rnn_lm/images/rnn.png diff --git a/v2/generate_sequence_by_rnn_lm/network_conf.py b/legacy/generate_sequence_by_rnn_lm/network_conf.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/network_conf.py rename to legacy/generate_sequence_by_rnn_lm/network_conf.py diff --git a/v2/generate_sequence_by_rnn_lm/reader.py b/legacy/generate_sequence_by_rnn_lm/reader.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/reader.py rename to legacy/generate_sequence_by_rnn_lm/reader.py diff --git a/v2/generate_sequence_by_rnn_lm/train.py b/legacy/generate_sequence_by_rnn_lm/train.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/train.py rename to legacy/generate_sequence_by_rnn_lm/train.py diff --git a/v2/generate_sequence_by_rnn_lm/utils.py b/legacy/generate_sequence_by_rnn_lm/utils.py similarity index 100% rename from v2/generate_sequence_by_rnn_lm/utils.py rename to legacy/generate_sequence_by_rnn_lm/utils.py diff --git a/v2/globally_normalized_reader/.gitignore b/legacy/globally_normalized_reader/.gitignore similarity index 100% rename from v2/globally_normalized_reader/.gitignore rename to legacy/globally_normalized_reader/.gitignore diff --git a/v2/globally_normalized_reader/README.cn.md b/legacy/globally_normalized_reader/README.cn.md similarity index 100% rename from v2/globally_normalized_reader/README.cn.md rename to legacy/globally_normalized_reader/README.cn.md diff --git a/v2/globally_normalized_reader/README.md b/legacy/globally_normalized_reader/README.md similarity index 100% rename from v2/globally_normalized_reader/README.md rename to legacy/globally_normalized_reader/README.md diff --git a/v2/globally_normalized_reader/basic_modules.py b/legacy/globally_normalized_reader/basic_modules.py similarity index 100% rename from v2/globally_normalized_reader/basic_modules.py rename to legacy/globally_normalized_reader/basic_modules.py diff --git a/v2/globally_normalized_reader/beam_decoding.py b/legacy/globally_normalized_reader/beam_decoding.py similarity index 100% rename from v2/globally_normalized_reader/beam_decoding.py rename to legacy/globally_normalized_reader/beam_decoding.py diff --git a/v2/globally_normalized_reader/config.py b/legacy/globally_normalized_reader/config.py similarity index 100% rename from v2/globally_normalized_reader/config.py rename to legacy/globally_normalized_reader/config.py diff --git a/v2/globally_normalized_reader/data/download.sh b/legacy/globally_normalized_reader/data/download.sh similarity index 100% rename from v2/globally_normalized_reader/data/download.sh rename to legacy/globally_normalized_reader/data/download.sh diff --git a/v2/globally_normalized_reader/evaluate.py b/legacy/globally_normalized_reader/evaluate.py similarity index 100% rename from v2/globally_normalized_reader/evaluate.py rename to legacy/globally_normalized_reader/evaluate.py diff --git a/v2/globally_normalized_reader/featurize.py b/legacy/globally_normalized_reader/featurize.py similarity index 100% rename from v2/globally_normalized_reader/featurize.py rename to legacy/globally_normalized_reader/featurize.py diff --git a/v2/globally_normalized_reader/infer.py b/legacy/globally_normalized_reader/infer.py similarity index 100% rename from v2/globally_normalized_reader/infer.py rename to legacy/globally_normalized_reader/infer.py diff --git a/v2/globally_normalized_reader/model.py b/legacy/globally_normalized_reader/model.py similarity index 100% rename from v2/globally_normalized_reader/model.py rename to legacy/globally_normalized_reader/model.py diff --git a/v2/globally_normalized_reader/reader.py b/legacy/globally_normalized_reader/reader.py similarity index 100% rename from v2/globally_normalized_reader/reader.py rename to legacy/globally_normalized_reader/reader.py diff --git a/v2/globally_normalized_reader/train.py b/legacy/globally_normalized_reader/train.py similarity index 100% rename from v2/globally_normalized_reader/train.py rename to legacy/globally_normalized_reader/train.py diff --git a/v2/globally_normalized_reader/vocab.py b/legacy/globally_normalized_reader/vocab.py similarity index 100% rename from v2/globally_normalized_reader/vocab.py rename to legacy/globally_normalized_reader/vocab.py diff --git a/v2/hsigmoid/.gitignore b/legacy/hsigmoid/.gitignore similarity index 100% rename from v2/hsigmoid/.gitignore rename to legacy/hsigmoid/.gitignore diff --git a/v2/hsigmoid/README.md b/legacy/hsigmoid/README.md similarity index 100% rename from v2/hsigmoid/README.md rename to legacy/hsigmoid/README.md diff --git a/v2/hsigmoid/images/binary_tree.png b/legacy/hsigmoid/images/binary_tree.png similarity index 100% rename from v2/hsigmoid/images/binary_tree.png rename to legacy/hsigmoid/images/binary_tree.png diff --git a/v2/hsigmoid/images/network_conf.png b/legacy/hsigmoid/images/network_conf.png similarity index 100% rename from v2/hsigmoid/images/network_conf.png rename to legacy/hsigmoid/images/network_conf.png diff --git a/v2/hsigmoid/images/path_to_1.png b/legacy/hsigmoid/images/path_to_1.png similarity index 100% rename from v2/hsigmoid/images/path_to_1.png rename to legacy/hsigmoid/images/path_to_1.png diff --git a/v2/hsigmoid/infer.py b/legacy/hsigmoid/infer.py similarity index 100% rename from v2/hsigmoid/infer.py rename to legacy/hsigmoid/infer.py diff --git a/v2/hsigmoid/network_conf.py b/legacy/hsigmoid/network_conf.py similarity index 100% rename from v2/hsigmoid/network_conf.py rename to legacy/hsigmoid/network_conf.py diff --git a/v2/hsigmoid/train.py b/legacy/hsigmoid/train.py similarity index 100% rename from v2/hsigmoid/train.py rename to legacy/hsigmoid/train.py diff --git a/v2/image_classification/README.md b/legacy/image_classification/README.md similarity index 100% rename from v2/image_classification/README.md rename to legacy/image_classification/README.md diff --git a/v2/image_classification/alexnet.py b/legacy/image_classification/alexnet.py similarity index 100% rename from v2/image_classification/alexnet.py rename to legacy/image_classification/alexnet.py diff --git a/v2/image_classification/caffe2paddle/README.md b/legacy/image_classification/caffe2paddle/README.md similarity index 100% rename from v2/image_classification/caffe2paddle/README.md rename to legacy/image_classification/caffe2paddle/README.md diff --git a/v2/image_classification/caffe2paddle/caffe2paddle.py b/legacy/image_classification/caffe2paddle/caffe2paddle.py similarity index 100% rename from v2/image_classification/caffe2paddle/caffe2paddle.py rename to legacy/image_classification/caffe2paddle/caffe2paddle.py diff --git a/v2/image_classification/googlenet.py b/legacy/image_classification/googlenet.py similarity index 100% rename from v2/image_classification/googlenet.py rename to legacy/image_classification/googlenet.py diff --git a/v2/image_classification/inception_resnet_v2.py b/legacy/image_classification/inception_resnet_v2.py similarity index 100% rename from v2/image_classification/inception_resnet_v2.py rename to legacy/image_classification/inception_resnet_v2.py diff --git a/v2/image_classification/inception_v4.py b/legacy/image_classification/inception_v4.py similarity index 100% rename from v2/image_classification/inception_v4.py rename to legacy/image_classification/inception_v4.py diff --git a/v2/image_classification/infer.py b/legacy/image_classification/infer.py similarity index 100% rename from v2/image_classification/infer.py rename to legacy/image_classification/infer.py diff --git a/v2/image_classification/models/model_download.sh b/legacy/image_classification/models/model_download.sh similarity index 100% rename from v2/image_classification/models/model_download.sh rename to legacy/image_classification/models/model_download.sh diff --git a/v2/image_classification/reader.py b/legacy/image_classification/reader.py similarity index 100% rename from v2/image_classification/reader.py rename to legacy/image_classification/reader.py diff --git a/v2/image_classification/resnet.py b/legacy/image_classification/resnet.py similarity index 100% rename from v2/image_classification/resnet.py rename to legacy/image_classification/resnet.py diff --git a/v2/image_classification/tf2paddle/README.md b/legacy/image_classification/tf2paddle/README.md similarity index 100% rename from v2/image_classification/tf2paddle/README.md rename to legacy/image_classification/tf2paddle/README.md diff --git a/v2/image_classification/tf2paddle/tf2paddle.py b/legacy/image_classification/tf2paddle/tf2paddle.py similarity index 100% rename from v2/image_classification/tf2paddle/tf2paddle.py rename to legacy/image_classification/tf2paddle/tf2paddle.py diff --git a/v2/image_classification/train.py b/legacy/image_classification/train.py similarity index 100% rename from v2/image_classification/train.py rename to legacy/image_classification/train.py diff --git a/v2/image_classification/vgg.py b/legacy/image_classification/vgg.py similarity index 100% rename from v2/image_classification/vgg.py rename to legacy/image_classification/vgg.py diff --git a/v2/image_classification/xception.py b/legacy/image_classification/xception.py similarity index 100% rename from v2/image_classification/xception.py rename to legacy/image_classification/xception.py diff --git a/v2/ltr/README.md b/legacy/ltr/README.md similarity index 100% rename from v2/ltr/README.md rename to legacy/ltr/README.md diff --git a/v2/ltr/README_en.md b/legacy/ltr/README_en.md similarity index 100% rename from v2/ltr/README_en.md rename to legacy/ltr/README_en.md diff --git a/v2/ltr/images/LambdaRank_EN.png b/legacy/ltr/images/LambdaRank_EN.png similarity index 100% rename from v2/ltr/images/LambdaRank_EN.png rename to legacy/ltr/images/LambdaRank_EN.png diff --git a/v2/ltr/images/lambdarank.jpg b/legacy/ltr/images/lambdarank.jpg similarity index 100% rename from v2/ltr/images/lambdarank.jpg rename to legacy/ltr/images/lambdarank.jpg diff --git a/v2/ltr/images/learning_to_rank.jpg b/legacy/ltr/images/learning_to_rank.jpg similarity index 100% rename from v2/ltr/images/learning_to_rank.jpg rename to legacy/ltr/images/learning_to_rank.jpg diff --git a/v2/ltr/images/ranknet.jpg b/legacy/ltr/images/ranknet.jpg similarity index 100% rename from v2/ltr/images/ranknet.jpg rename to legacy/ltr/images/ranknet.jpg diff --git a/v2/ltr/images/ranknet_en.png b/legacy/ltr/images/ranknet_en.png similarity index 100% rename from v2/ltr/images/ranknet_en.png rename to legacy/ltr/images/ranknet_en.png diff --git a/v2/ltr/images/search_engine_example.png b/legacy/ltr/images/search_engine_example.png similarity index 100% rename from v2/ltr/images/search_engine_example.png rename to legacy/ltr/images/search_engine_example.png diff --git a/v2/ltr/infer.py b/legacy/ltr/infer.py similarity index 100% rename from v2/ltr/infer.py rename to legacy/ltr/infer.py diff --git a/v2/ltr/lambda_rank.py b/legacy/ltr/lambda_rank.py similarity index 100% rename from v2/ltr/lambda_rank.py rename to legacy/ltr/lambda_rank.py diff --git a/v2/ltr/ranknet.py b/legacy/ltr/ranknet.py similarity index 100% rename from v2/ltr/ranknet.py rename to legacy/ltr/ranknet.py diff --git a/v2/ltr/train.py b/legacy/ltr/train.py similarity index 100% rename from v2/ltr/train.py rename to legacy/ltr/train.py diff --git a/v2/mt_with_external_memory/README.md b/legacy/mt_with_external_memory/README.md similarity index 100% rename from v2/mt_with_external_memory/README.md rename to legacy/mt_with_external_memory/README.md diff --git a/v2/mt_with_external_memory/data_utils.py b/legacy/mt_with_external_memory/data_utils.py similarity index 100% rename from v2/mt_with_external_memory/data_utils.py rename to legacy/mt_with_external_memory/data_utils.py diff --git a/v2/mt_with_external_memory/external_memory.py b/legacy/mt_with_external_memory/external_memory.py similarity index 100% rename from v2/mt_with_external_memory/external_memory.py rename to legacy/mt_with_external_memory/external_memory.py diff --git a/v2/mt_with_external_memory/image/lstm_c_state.png b/legacy/mt_with_external_memory/image/lstm_c_state.png similarity index 100% rename from v2/mt_with_external_memory/image/lstm_c_state.png rename to legacy/mt_with_external_memory/image/lstm_c_state.png diff --git a/v2/mt_with_external_memory/image/memory_enhanced_decoder.png b/legacy/mt_with_external_memory/image/memory_enhanced_decoder.png similarity index 100% rename from v2/mt_with_external_memory/image/memory_enhanced_decoder.png rename to legacy/mt_with_external_memory/image/memory_enhanced_decoder.png diff --git a/v2/mt_with_external_memory/image/neural_turing_machine_arch.png b/legacy/mt_with_external_memory/image/neural_turing_machine_arch.png similarity index 100% rename from v2/mt_with_external_memory/image/neural_turing_machine_arch.png rename to legacy/mt_with_external_memory/image/neural_turing_machine_arch.png diff --git a/v2/mt_with_external_memory/image/turing_machine_cartoon.gif b/legacy/mt_with_external_memory/image/turing_machine_cartoon.gif similarity index 100% rename from v2/mt_with_external_memory/image/turing_machine_cartoon.gif rename to legacy/mt_with_external_memory/image/turing_machine_cartoon.gif diff --git a/v2/mt_with_external_memory/infer.py b/legacy/mt_with_external_memory/infer.py similarity index 100% rename from v2/mt_with_external_memory/infer.py rename to legacy/mt_with_external_memory/infer.py diff --git a/v2/mt_with_external_memory/model.py b/legacy/mt_with_external_memory/model.py similarity index 100% rename from v2/mt_with_external_memory/model.py rename to legacy/mt_with_external_memory/model.py diff --git a/v2/mt_with_external_memory/train.py b/legacy/mt_with_external_memory/train.py similarity index 100% rename from v2/mt_with_external_memory/train.py rename to legacy/mt_with_external_memory/train.py diff --git a/v2/nce_cost/.gitignore b/legacy/nce_cost/.gitignore similarity index 100% rename from v2/nce_cost/.gitignore rename to legacy/nce_cost/.gitignore diff --git a/v2/nce_cost/README.md b/legacy/nce_cost/README.md similarity index 100% rename from v2/nce_cost/README.md rename to legacy/nce_cost/README.md diff --git a/v2/nce_cost/images/network_conf.png b/legacy/nce_cost/images/network_conf.png similarity index 100% rename from v2/nce_cost/images/network_conf.png rename to legacy/nce_cost/images/network_conf.png diff --git a/v2/nce_cost/infer.py b/legacy/nce_cost/infer.py similarity index 100% rename from v2/nce_cost/infer.py rename to legacy/nce_cost/infer.py diff --git a/v2/nce_cost/network_conf.py b/legacy/nce_cost/network_conf.py similarity index 100% rename from v2/nce_cost/network_conf.py rename to legacy/nce_cost/network_conf.py diff --git a/v2/nce_cost/train.py b/legacy/nce_cost/train.py similarity index 100% rename from v2/nce_cost/train.py rename to legacy/nce_cost/train.py diff --git a/v2/nested_sequence/README.md b/legacy/nested_sequence/README.md similarity index 100% rename from v2/nested_sequence/README.md rename to legacy/nested_sequence/README.md diff --git a/v2/nested_sequence/README_en.md b/legacy/nested_sequence/README_en.md similarity index 100% rename from v2/nested_sequence/README_en.md rename to legacy/nested_sequence/README_en.md diff --git a/v2/nested_sequence/text_classification/.gitignore b/legacy/nested_sequence/text_classification/.gitignore similarity index 100% rename from v2/nested_sequence/text_classification/.gitignore rename to legacy/nested_sequence/text_classification/.gitignore diff --git a/v2/nested_sequence/text_classification/README.md b/legacy/nested_sequence/text_classification/README.md similarity index 100% rename from v2/nested_sequence/text_classification/README.md rename to legacy/nested_sequence/text_classification/README.md diff --git a/v2/nested_sequence/text_classification/README_en.md b/legacy/nested_sequence/text_classification/README_en.md similarity index 100% rename from v2/nested_sequence/text_classification/README_en.md rename to legacy/nested_sequence/text_classification/README_en.md diff --git a/v2/nested_sequence/text_classification/config.py b/legacy/nested_sequence/text_classification/config.py similarity index 100% rename from v2/nested_sequence/text_classification/config.py rename to legacy/nested_sequence/text_classification/config.py diff --git a/v2/nested_sequence/text_classification/data/infer.txt b/legacy/nested_sequence/text_classification/data/infer.txt similarity index 100% rename from v2/nested_sequence/text_classification/data/infer.txt rename to legacy/nested_sequence/text_classification/data/infer.txt diff --git a/v2/nested_sequence/text_classification/data/test_data/test.txt b/legacy/nested_sequence/text_classification/data/test_data/test.txt similarity index 100% rename from v2/nested_sequence/text_classification/data/test_data/test.txt rename to legacy/nested_sequence/text_classification/data/test_data/test.txt diff --git a/v2/nested_sequence/text_classification/data/train_data/train.txt b/legacy/nested_sequence/text_classification/data/train_data/train.txt similarity index 100% rename from v2/nested_sequence/text_classification/data/train_data/train.txt rename to legacy/nested_sequence/text_classification/data/train_data/train.txt diff --git a/v2/nested_sequence/text_classification/images/model.jpg b/legacy/nested_sequence/text_classification/images/model.jpg similarity index 100% rename from v2/nested_sequence/text_classification/images/model.jpg rename to legacy/nested_sequence/text_classification/images/model.jpg diff --git a/v2/nested_sequence/text_classification/infer.py b/legacy/nested_sequence/text_classification/infer.py similarity index 100% rename from v2/nested_sequence/text_classification/infer.py rename to legacy/nested_sequence/text_classification/infer.py diff --git a/v2/nested_sequence/text_classification/network_conf.py b/legacy/nested_sequence/text_classification/network_conf.py similarity index 100% rename from v2/nested_sequence/text_classification/network_conf.py rename to legacy/nested_sequence/text_classification/network_conf.py diff --git a/v2/nested_sequence/text_classification/reader.py b/legacy/nested_sequence/text_classification/reader.py similarity index 100% rename from v2/nested_sequence/text_classification/reader.py rename to legacy/nested_sequence/text_classification/reader.py diff --git a/v2/nested_sequence/text_classification/requirements.txt b/legacy/nested_sequence/text_classification/requirements.txt similarity index 100% rename from v2/nested_sequence/text_classification/requirements.txt rename to legacy/nested_sequence/text_classification/requirements.txt diff --git a/v2/nested_sequence/text_classification/train.py b/legacy/nested_sequence/text_classification/train.py similarity index 100% rename from v2/nested_sequence/text_classification/train.py rename to legacy/nested_sequence/text_classification/train.py diff --git a/v2/nested_sequence/text_classification/utils.py b/legacy/nested_sequence/text_classification/utils.py similarity index 100% rename from v2/nested_sequence/text_classification/utils.py rename to legacy/nested_sequence/text_classification/utils.py diff --git a/v2/neural_qa/.gitignore b/legacy/neural_qa/.gitignore similarity index 100% rename from v2/neural_qa/.gitignore rename to legacy/neural_qa/.gitignore diff --git a/v2/neural_qa/README.md b/legacy/neural_qa/README.md similarity index 100% rename from v2/neural_qa/README.md rename to legacy/neural_qa/README.md diff --git a/v2/neural_qa/config.py b/legacy/neural_qa/config.py similarity index 100% rename from v2/neural_qa/config.py rename to legacy/neural_qa/config.py diff --git a/v2/neural_qa/infer.py b/legacy/neural_qa/infer.py similarity index 100% rename from v2/neural_qa/infer.py rename to legacy/neural_qa/infer.py diff --git a/v2/neural_qa/network.py b/legacy/neural_qa/network.py similarity index 100% rename from v2/neural_qa/network.py rename to legacy/neural_qa/network.py diff --git a/v2/neural_qa/pre-trained-models/download-models.sh b/legacy/neural_qa/pre-trained-models/download-models.sh similarity index 100% rename from v2/neural_qa/pre-trained-models/download-models.sh rename to legacy/neural_qa/pre-trained-models/download-models.sh diff --git a/v2/neural_qa/pre-trained-models/neural_seq_qa.pre-trained-models.2017-10-27.tar.gz.md5 b/legacy/neural_qa/pre-trained-models/neural_seq_qa.pre-trained-models.2017-10-27.tar.gz.md5 similarity index 100% rename from v2/neural_qa/pre-trained-models/neural_seq_qa.pre-trained-models.2017-10-27.tar.gz.md5 rename to legacy/neural_qa/pre-trained-models/neural_seq_qa.pre-trained-models.2017-10-27.tar.gz.md5 diff --git a/v2/neural_qa/reader.py b/legacy/neural_qa/reader.py similarity index 100% rename from v2/neural_qa/reader.py rename to legacy/neural_qa/reader.py diff --git a/v2/neural_qa/test/test_reader.py b/legacy/neural_qa/test/test_reader.py similarity index 100% rename from v2/neural_qa/test/test_reader.py rename to legacy/neural_qa/test/test_reader.py diff --git a/v2/neural_qa/test/trn_data.gz b/legacy/neural_qa/test/trn_data.gz similarity index 100% rename from v2/neural_qa/test/trn_data.gz rename to legacy/neural_qa/test/trn_data.gz diff --git a/v2/neural_qa/train.py b/legacy/neural_qa/train.py similarity index 100% rename from v2/neural_qa/train.py rename to legacy/neural_qa/train.py diff --git a/v2/neural_qa/utils.py b/legacy/neural_qa/utils.py similarity index 100% rename from v2/neural_qa/utils.py rename to legacy/neural_qa/utils.py diff --git a/v2/neural_qa/val_and_test.py b/legacy/neural_qa/val_and_test.py similarity index 100% rename from v2/neural_qa/val_and_test.py rename to legacy/neural_qa/val_and_test.py diff --git a/v2/nmt_without_attention/README.cn.md b/legacy/nmt_without_attention/README.cn.md similarity index 100% rename from v2/nmt_without_attention/README.cn.md rename to legacy/nmt_without_attention/README.cn.md diff --git a/v2/nmt_without_attention/README.md b/legacy/nmt_without_attention/README.md similarity index 100% rename from v2/nmt_without_attention/README.md rename to legacy/nmt_without_attention/README.md diff --git a/v2/nmt_without_attention/generate.py b/legacy/nmt_without_attention/generate.py similarity index 100% rename from v2/nmt_without_attention/generate.py rename to legacy/nmt_without_attention/generate.py diff --git a/v2/nmt_without_attention/images/bidirectional-encoder.png b/legacy/nmt_without_attention/images/bidirectional-encoder.png similarity index 100% rename from v2/nmt_without_attention/images/bidirectional-encoder.png rename to legacy/nmt_without_attention/images/bidirectional-encoder.png diff --git a/v2/nmt_without_attention/images/encoder-decoder.png b/legacy/nmt_without_attention/images/encoder-decoder.png similarity index 100% rename from v2/nmt_without_attention/images/encoder-decoder.png rename to legacy/nmt_without_attention/images/encoder-decoder.png diff --git a/v2/nmt_without_attention/images/gru.png b/legacy/nmt_without_attention/images/gru.png similarity index 100% rename from v2/nmt_without_attention/images/gru.png rename to legacy/nmt_without_attention/images/gru.png diff --git a/v2/nmt_without_attention/network_conf.py b/legacy/nmt_without_attention/network_conf.py similarity index 100% rename from v2/nmt_without_attention/network_conf.py rename to legacy/nmt_without_attention/network_conf.py diff --git a/v2/nmt_without_attention/train.py b/legacy/nmt_without_attention/train.py similarity index 100% rename from v2/nmt_without_attention/train.py rename to legacy/nmt_without_attention/train.py diff --git a/v2/scene_text_recognition/README.md b/legacy/scene_text_recognition/README.md similarity index 100% rename from v2/scene_text_recognition/README.md rename to legacy/scene_text_recognition/README.md diff --git a/v2/scene_text_recognition/config.py b/legacy/scene_text_recognition/config.py similarity index 100% rename from v2/scene_text_recognition/config.py rename to legacy/scene_text_recognition/config.py diff --git a/v2/scene_text_recognition/decoder.py b/legacy/scene_text_recognition/decoder.py similarity index 100% rename from v2/scene_text_recognition/decoder.py rename to legacy/scene_text_recognition/decoder.py diff --git a/v2/scene_text_recognition/images/503.jpg b/legacy/scene_text_recognition/images/503.jpg similarity index 100% rename from v2/scene_text_recognition/images/503.jpg rename to legacy/scene_text_recognition/images/503.jpg diff --git a/v2/scene_text_recognition/images/504.jpg b/legacy/scene_text_recognition/images/504.jpg similarity index 100% rename from v2/scene_text_recognition/images/504.jpg rename to legacy/scene_text_recognition/images/504.jpg diff --git a/v2/scene_text_recognition/images/505.jpg b/legacy/scene_text_recognition/images/505.jpg similarity index 100% rename from v2/scene_text_recognition/images/505.jpg rename to legacy/scene_text_recognition/images/505.jpg diff --git a/v2/scene_text_recognition/images/ctc.png b/legacy/scene_text_recognition/images/ctc.png similarity index 100% rename from v2/scene_text_recognition/images/ctc.png rename to legacy/scene_text_recognition/images/ctc.png diff --git a/v2/scene_text_recognition/images/feature_vector.png b/legacy/scene_text_recognition/images/feature_vector.png similarity index 100% rename from v2/scene_text_recognition/images/feature_vector.png rename to legacy/scene_text_recognition/images/feature_vector.png diff --git a/v2/scene_text_recognition/images/transcription.png b/legacy/scene_text_recognition/images/transcription.png similarity index 100% rename from v2/scene_text_recognition/images/transcription.png rename to legacy/scene_text_recognition/images/transcription.png diff --git a/v2/scene_text_recognition/infer.py b/legacy/scene_text_recognition/infer.py similarity index 100% rename from v2/scene_text_recognition/infer.py rename to legacy/scene_text_recognition/infer.py diff --git a/v2/scene_text_recognition/network_conf.py b/legacy/scene_text_recognition/network_conf.py similarity index 100% rename from v2/scene_text_recognition/network_conf.py rename to legacy/scene_text_recognition/network_conf.py diff --git a/v2/scene_text_recognition/reader.py b/legacy/scene_text_recognition/reader.py similarity index 100% rename from v2/scene_text_recognition/reader.py rename to legacy/scene_text_recognition/reader.py diff --git a/v2/scene_text_recognition/requirements.txt b/legacy/scene_text_recognition/requirements.txt similarity index 100% rename from v2/scene_text_recognition/requirements.txt rename to legacy/scene_text_recognition/requirements.txt diff --git a/v2/scene_text_recognition/train.py b/legacy/scene_text_recognition/train.py similarity index 100% rename from v2/scene_text_recognition/train.py rename to legacy/scene_text_recognition/train.py diff --git a/v2/scene_text_recognition/utils.py b/legacy/scene_text_recognition/utils.py similarity index 100% rename from v2/scene_text_recognition/utils.py rename to legacy/scene_text_recognition/utils.py diff --git a/v2/scheduled_sampling/README.md b/legacy/scheduled_sampling/README.md similarity index 100% rename from v2/scheduled_sampling/README.md rename to legacy/scheduled_sampling/README.md diff --git a/v2/scheduled_sampling/README_en.md b/legacy/scheduled_sampling/README_en.md similarity index 100% rename from v2/scheduled_sampling/README_en.md rename to legacy/scheduled_sampling/README_en.md diff --git a/v2/scheduled_sampling/generate.py b/legacy/scheduled_sampling/generate.py similarity index 100% rename from v2/scheduled_sampling/generate.py rename to legacy/scheduled_sampling/generate.py diff --git a/v2/scheduled_sampling/images/Scheduled_Sampling.jpg b/legacy/scheduled_sampling/images/Scheduled_Sampling.jpg similarity index 100% rename from v2/scheduled_sampling/images/Scheduled_Sampling.jpg rename to legacy/scheduled_sampling/images/Scheduled_Sampling.jpg diff --git a/v2/scheduled_sampling/images/decay.jpg b/legacy/scheduled_sampling/images/decay.jpg similarity index 100% rename from v2/scheduled_sampling/images/decay.jpg rename to legacy/scheduled_sampling/images/decay.jpg diff --git a/v2/scheduled_sampling/network_conf.py b/legacy/scheduled_sampling/network_conf.py similarity index 100% rename from v2/scheduled_sampling/network_conf.py rename to legacy/scheduled_sampling/network_conf.py diff --git a/v2/scheduled_sampling/reader.py b/legacy/scheduled_sampling/reader.py similarity index 100% rename from v2/scheduled_sampling/reader.py rename to legacy/scheduled_sampling/reader.py diff --git a/v2/scheduled_sampling/train.py b/legacy/scheduled_sampling/train.py similarity index 100% rename from v2/scheduled_sampling/train.py rename to legacy/scheduled_sampling/train.py diff --git a/v2/scheduled_sampling/utils.py b/legacy/scheduled_sampling/utils.py similarity index 100% rename from v2/scheduled_sampling/utils.py rename to legacy/scheduled_sampling/utils.py diff --git a/v2/sequence_tagging_for_ner/.gitignore b/legacy/sequence_tagging_for_ner/.gitignore similarity index 100% rename from v2/sequence_tagging_for_ner/.gitignore rename to legacy/sequence_tagging_for_ner/.gitignore diff --git a/v2/sequence_tagging_for_ner/README.md b/legacy/sequence_tagging_for_ner/README.md similarity index 100% rename from v2/sequence_tagging_for_ner/README.md rename to legacy/sequence_tagging_for_ner/README.md diff --git a/v2/sequence_tagging_for_ner/data/download.sh b/legacy/sequence_tagging_for_ner/data/download.sh similarity index 100% rename from v2/sequence_tagging_for_ner/data/download.sh rename to legacy/sequence_tagging_for_ner/data/download.sh diff --git a/v2/sequence_tagging_for_ner/data/target.txt b/legacy/sequence_tagging_for_ner/data/target.txt similarity index 100% rename from v2/sequence_tagging_for_ner/data/target.txt rename to legacy/sequence_tagging_for_ner/data/target.txt diff --git a/v2/sequence_tagging_for_ner/data/test b/legacy/sequence_tagging_for_ner/data/test similarity index 100% rename from v2/sequence_tagging_for_ner/data/test rename to legacy/sequence_tagging_for_ner/data/test diff --git a/v2/sequence_tagging_for_ner/data/train b/legacy/sequence_tagging_for_ner/data/train similarity index 100% rename from v2/sequence_tagging_for_ner/data/train rename to legacy/sequence_tagging_for_ner/data/train diff --git a/v2/sequence_tagging_for_ner/data/vocab.txt b/legacy/sequence_tagging_for_ner/data/vocab.txt similarity index 100% rename from v2/sequence_tagging_for_ner/data/vocab.txt rename to legacy/sequence_tagging_for_ner/data/vocab.txt diff --git a/v2/sequence_tagging_for_ner/images/BIO tag example.png b/legacy/sequence_tagging_for_ner/images/BIO tag example.png similarity index 100% rename from v2/sequence_tagging_for_ner/images/BIO tag example.png rename to legacy/sequence_tagging_for_ner/images/BIO tag example.png diff --git a/v2/sequence_tagging_for_ner/images/ner_label_ins.png b/legacy/sequence_tagging_for_ner/images/ner_label_ins.png similarity index 100% rename from v2/sequence_tagging_for_ner/images/ner_label_ins.png rename to legacy/sequence_tagging_for_ner/images/ner_label_ins.png diff --git a/v2/sequence_tagging_for_ner/images/ner_model_en.png b/legacy/sequence_tagging_for_ner/images/ner_model_en.png similarity index 100% rename from v2/sequence_tagging_for_ner/images/ner_model_en.png rename to legacy/sequence_tagging_for_ner/images/ner_model_en.png diff --git a/v2/sequence_tagging_for_ner/images/ner_network.png b/legacy/sequence_tagging_for_ner/images/ner_network.png similarity index 100% rename from v2/sequence_tagging_for_ner/images/ner_network.png rename to legacy/sequence_tagging_for_ner/images/ner_network.png diff --git a/v2/sequence_tagging_for_ner/infer.py b/legacy/sequence_tagging_for_ner/infer.py similarity index 100% rename from v2/sequence_tagging_for_ner/infer.py rename to legacy/sequence_tagging_for_ner/infer.py diff --git a/v2/sequence_tagging_for_ner/network_conf.py b/legacy/sequence_tagging_for_ner/network_conf.py similarity index 100% rename from v2/sequence_tagging_for_ner/network_conf.py rename to legacy/sequence_tagging_for_ner/network_conf.py diff --git a/v2/sequence_tagging_for_ner/reader.py b/legacy/sequence_tagging_for_ner/reader.py similarity index 100% rename from v2/sequence_tagging_for_ner/reader.py rename to legacy/sequence_tagging_for_ner/reader.py diff --git a/v2/sequence_tagging_for_ner/train.py b/legacy/sequence_tagging_for_ner/train.py similarity index 100% rename from v2/sequence_tagging_for_ner/train.py rename to legacy/sequence_tagging_for_ner/train.py diff --git a/v2/sequence_tagging_for_ner/utils.py b/legacy/sequence_tagging_for_ner/utils.py similarity index 100% rename from v2/sequence_tagging_for_ner/utils.py rename to legacy/sequence_tagging_for_ner/utils.py diff --git a/v2/ssd/README.cn.md b/legacy/ssd/README.cn.md similarity index 100% rename from v2/ssd/README.cn.md rename to legacy/ssd/README.cn.md diff --git a/v2/ssd/README.md b/legacy/ssd/README.md similarity index 100% rename from v2/ssd/README.md rename to legacy/ssd/README.md diff --git a/v2/ssd/config/__init__.py b/legacy/ssd/config/__init__.py similarity index 100% rename from v2/ssd/config/__init__.py rename to legacy/ssd/config/__init__.py diff --git a/v2/ssd/config/pascal_voc_conf.py b/legacy/ssd/config/pascal_voc_conf.py similarity index 100% rename from v2/ssd/config/pascal_voc_conf.py rename to legacy/ssd/config/pascal_voc_conf.py diff --git a/v2/ssd/data/label_list b/legacy/ssd/data/label_list similarity index 100% rename from v2/ssd/data/label_list rename to legacy/ssd/data/label_list diff --git a/v2/ssd/data/prepare_voc_data.py b/legacy/ssd/data/prepare_voc_data.py similarity index 100% rename from v2/ssd/data/prepare_voc_data.py rename to legacy/ssd/data/prepare_voc_data.py diff --git a/v2/ssd/data_provider.py b/legacy/ssd/data_provider.py similarity index 100% rename from v2/ssd/data_provider.py rename to legacy/ssd/data_provider.py diff --git a/v2/ssd/eval.py b/legacy/ssd/eval.py similarity index 100% rename from v2/ssd/eval.py rename to legacy/ssd/eval.py diff --git a/v2/ssd/image_util.py b/legacy/ssd/image_util.py similarity index 100% rename from v2/ssd/image_util.py rename to legacy/ssd/image_util.py diff --git a/v2/ssd/images/SSD300x300_map.png b/legacy/ssd/images/SSD300x300_map.png similarity index 100% rename from v2/ssd/images/SSD300x300_map.png rename to legacy/ssd/images/SSD300x300_map.png diff --git a/v2/ssd/images/ssd_network.png b/legacy/ssd/images/ssd_network.png similarity index 100% rename from v2/ssd/images/ssd_network.png rename to legacy/ssd/images/ssd_network.png diff --git a/v2/ssd/images/vis_1.jpg b/legacy/ssd/images/vis_1.jpg similarity index 100% rename from v2/ssd/images/vis_1.jpg rename to legacy/ssd/images/vis_1.jpg diff --git a/v2/ssd/images/vis_2.jpg b/legacy/ssd/images/vis_2.jpg similarity index 100% rename from v2/ssd/images/vis_2.jpg rename to legacy/ssd/images/vis_2.jpg diff --git a/v2/ssd/images/vis_3.jpg b/legacy/ssd/images/vis_3.jpg similarity index 100% rename from v2/ssd/images/vis_3.jpg rename to legacy/ssd/images/vis_3.jpg diff --git a/v2/ssd/images/vis_4.jpg b/legacy/ssd/images/vis_4.jpg similarity index 100% rename from v2/ssd/images/vis_4.jpg rename to legacy/ssd/images/vis_4.jpg diff --git a/v2/ssd/infer.py b/legacy/ssd/infer.py similarity index 100% rename from v2/ssd/infer.py rename to legacy/ssd/infer.py diff --git a/v2/ssd/train.py b/legacy/ssd/train.py similarity index 100% rename from v2/ssd/train.py rename to legacy/ssd/train.py diff --git a/v2/ssd/vgg_ssd_net.py b/legacy/ssd/vgg_ssd_net.py similarity index 100% rename from v2/ssd/vgg_ssd_net.py rename to legacy/ssd/vgg_ssd_net.py diff --git a/v2/ssd/visual.py b/legacy/ssd/visual.py similarity index 100% rename from v2/ssd/visual.py rename to legacy/ssd/visual.py diff --git a/v2/text_classification/.gitignore b/legacy/text_classification/.gitignore similarity index 100% rename from v2/text_classification/.gitignore rename to legacy/text_classification/.gitignore diff --git a/v2/text_classification/README.md b/legacy/text_classification/README.md similarity index 100% rename from v2/text_classification/README.md rename to legacy/text_classification/README.md diff --git a/v2/text_classification/images/cnn_net.png b/legacy/text_classification/images/cnn_net.png similarity index 100% rename from v2/text_classification/images/cnn_net.png rename to legacy/text_classification/images/cnn_net.png diff --git a/v2/text_classification/images/dnn_net.png b/legacy/text_classification/images/dnn_net.png similarity index 100% rename from v2/text_classification/images/dnn_net.png rename to legacy/text_classification/images/dnn_net.png diff --git a/v2/text_classification/infer.py b/legacy/text_classification/infer.py similarity index 100% rename from v2/text_classification/infer.py rename to legacy/text_classification/infer.py diff --git a/v2/text_classification/network_conf.py b/legacy/text_classification/network_conf.py similarity index 100% rename from v2/text_classification/network_conf.py rename to legacy/text_classification/network_conf.py diff --git a/v2/text_classification/reader.py b/legacy/text_classification/reader.py similarity index 100% rename from v2/text_classification/reader.py rename to legacy/text_classification/reader.py diff --git a/v2/text_classification/run.sh b/legacy/text_classification/run.sh similarity index 100% rename from v2/text_classification/run.sh rename to legacy/text_classification/run.sh diff --git a/v2/text_classification/train.py b/legacy/text_classification/train.py similarity index 100% rename from v2/text_classification/train.py rename to legacy/text_classification/train.py diff --git a/v2/text_classification/utils.py b/legacy/text_classification/utils.py similarity index 100% rename from v2/text_classification/utils.py rename to legacy/text_classification/utils.py diff --git a/v2/youtube_recall/README.cn.md b/legacy/youtube_recall/README.cn.md similarity index 100% rename from v2/youtube_recall/README.cn.md rename to legacy/youtube_recall/README.cn.md diff --git a/v2/youtube_recall/README.md b/legacy/youtube_recall/README.md similarity index 100% rename from v2/youtube_recall/README.md rename to legacy/youtube_recall/README.md diff --git a/v2/youtube_recall/data/data.tar b/legacy/youtube_recall/data/data.tar similarity index 100% rename from v2/youtube_recall/data/data.tar rename to legacy/youtube_recall/data/data.tar diff --git a/v2/youtube_recall/data_processor.py b/legacy/youtube_recall/data_processor.py similarity index 100% rename from v2/youtube_recall/data_processor.py rename to legacy/youtube_recall/data_processor.py diff --git a/v2/youtube_recall/images/model_network.png b/legacy/youtube_recall/images/model_network.png similarity index 100% rename from v2/youtube_recall/images/model_network.png rename to legacy/youtube_recall/images/model_network.png diff --git a/v2/youtube_recall/images/recommendation_system.png b/legacy/youtube_recall/images/recommendation_system.png similarity index 100% rename from v2/youtube_recall/images/recommendation_system.png rename to legacy/youtube_recall/images/recommendation_system.png diff --git a/v2/youtube_recall/infer.py b/legacy/youtube_recall/infer.py similarity index 100% rename from v2/youtube_recall/infer.py rename to legacy/youtube_recall/infer.py diff --git a/v2/youtube_recall/infer_user.py b/legacy/youtube_recall/infer_user.py similarity index 100% rename from v2/youtube_recall/infer_user.py rename to legacy/youtube_recall/infer_user.py diff --git a/v2/youtube_recall/item_vector.py b/legacy/youtube_recall/item_vector.py similarity index 100% rename from v2/youtube_recall/item_vector.py rename to legacy/youtube_recall/item_vector.py diff --git a/v2/youtube_recall/network_conf.py b/legacy/youtube_recall/network_conf.py similarity index 100% rename from v2/youtube_recall/network_conf.py rename to legacy/youtube_recall/network_conf.py diff --git a/v2/youtube_recall/reader.py b/legacy/youtube_recall/reader.py similarity index 100% rename from v2/youtube_recall/reader.py rename to legacy/youtube_recall/reader.py diff --git a/v2/youtube_recall/train.py b/legacy/youtube_recall/train.py similarity index 100% rename from v2/youtube_recall/train.py rename to legacy/youtube_recall/train.py diff --git a/v2/youtube_recall/user_vector.py b/legacy/youtube_recall/user_vector.py similarity index 100% rename from v2/youtube_recall/user_vector.py rename to legacy/youtube_recall/user_vector.py diff --git a/v2/youtube_recall/utils.py b/legacy/youtube_recall/utils.py similarity index 100% rename from v2/youtube_recall/utils.py rename to legacy/youtube_recall/utils.py -- GitLab