Ralph Tang
3855254870
Tidy up some code ( #174 )
2019-02-06 13:36:48 -05:00
Ralph Tang
e4149ff400
Use PackedSequence for ConvRNN ( #126 )
...
* Use PackedSequence in ConvRNNs instead
- Zero-padding is incompatible with the current model
* Update test script
* Clean up comments and logic
* Add TQDM to requirements
* Add results using default hyperparameters
2018-06-24 09:48:16 -04:00
Ralph Tang
cb9fad9f97
Make ConvRNN compatible with PyTorch 0.4 ( #122 )
2018-06-07 20:40:40 -04:00
Ralph Tang
7957dc7638
Tweak conv-rnn model ( #75 )
...
* Tweak conv-rnn model
- Fix misplaced zero_grad()
- Tweak model hyperparams and optimization algorithm
* Fix typo
* Add new results
* Clean up extraneous code
2017-10-29 15:55:36 -04:00
Ralph Tang
e7ca33de28
Add convolutional RNN for sentence classification ( #57 )
...
* Add SST data preprocessing
* Add ConvRNN model
* Add LR scheduler
* Add grid search on hyperparameters
* Add random search
* Add CLI options
* Add usage to README.md
* Refactor code
* Fix randomized search parameters
* Update README.md with results
* Use Dataset and DataLoader
2017-10-05 14:14:31 -04:00