forked from jiesutd/NCRFpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
084bae9
commit 5ca9595
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
## Hyperparamter tuning | ||
|
||
1. If you use large batch, you'd better set `avg_batch_loss` to `True` | ||
2. You can get 2~5 points' improvement if you use 300-d word embedding instead of 50-d word embedding | ||
3. If you want to write a script to tune hyperparameters, you can use the `main_parse.py` to set hyperparameters in command line arguements | ||
4. `lr` needs to be carefully tuned for different structures: | ||
* If you run LSTM-LSTM-CRF on CONLL-2003 dataset, a good `lr` is 0.015 | ||
* If you run LSTM-CNN-CRF on CONLL-2003 dataset,, a good `lr` is 0.005 |