@@ -25,7 +25,7 @@ Based on the Quora Question Pair Dataset, we will implement some classic models
...
@@ -25,7 +25,7 @@ Based on the Quora Question Pair Dataset, we will implement some classic models
## Environment Preparation
## Environment Preparation
### Install fluid release 1.0
### Install release 1.0
You can follow the fluid's [official document](http://www.paddlepaddle.org/documentation/docs/en/1.0/build_and_install/pip_install_en.html) to install the fluid.
You can follow the fluid's [official document](http://www.paddlepaddle.org/documentation/docs/en/1.0/build_and_install/pip_install_en.html) to install the fluid.
If you want to know more about the configs, please go to the `configs` directory.
## Results
## Results
We have implemeted 4 models for now, CDSSM(Convolutional Deep Structured Semantic Models) is a convolution-based model, Infer Sent Model and SSE(Shortcut-Stacked Encoders) are RNN-based models, and DecAtt(Decompose Attention) model is a attention-based model. In our experiment, we found that LSTM-based models outperform convolution-based model in test set accuracy. DecAtt model has fewer parameters than LSTM-based models, but it is very sensitive to the hyper-parameters when training.
We have implemeted 4 models for now, CDSSM(Convolutional Deep Structured Semantic Models) is a convolution-based model, Infer Sent Model and SSE(Shortcut-Stacked Encoders) are RNN-based models, and DecAtt(Decompose Attention) model is a attention-based model. In our experiment, we found that LSTM-based models outperform convolution-based model in test set accuracy. DecAtt model has fewer parameters than LSTM-based models, but it is very sensitive to the hyper-parameters when training.
...
@@ -161,10 +173,10 @@ We have implemeted 4 models for now, CDSSM(Convolutional Deep Structured Semanti
...
@@ -161,10 +173,10 @@ We have implemeted 4 models for now, CDSSM(Convolutional Deep Structured Semanti