Skip to content

Commit

Permalink
change configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunwoongko committed Dec 18, 2019
1 parent 0aead73 commit c1c22a3
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
15 changes: 2 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified __pycache__/conf.cpython-36.pyc
Binary file not shown.
4 changes: 2 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# optimizer parameter setting
init_lr = 1e-4
factor = 0.8
patience = 7
warmup = 5
patience = 5
warmup = 3
weight_decay = 5e-3
epoch = 2000
clip = 1
Expand Down
2 changes: 1 addition & 1 deletion result/test.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[5.091137647628784, 5.0348674058914185, 5.0215981006622314]
[5.091137647628784, 5.0348674058914185, 5.0215981006622314, 5.0442681312561035, 5.031394064426422, 4.974141061306, 4.9869683384895325, 5.003897190093994, 5.022670149803162, 5.014573931694031, 5.0173457860946655, 5.000527858734131]
2 changes: 1 addition & 1 deletion result/train.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[5.800987136521528, 5.191104743974324, 5.152123199160403]
[5.800987136521528, 5.191104743974324, 5.152123199160403, 5.133547501416984, 5.136521278498981, 5.121117488928303, 5.096929487152772, 5.088037919367988, 5.087618151425265, 5.086602942008804, 5.09127295279818, 5.10448893786527]
1 change: 0 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def run(total_epoch, best_loss):
f.write(str(test_losses))
f.close()

draw()
print(f'Epoch: {step + 1} | Time: {epoch_mins}m {epoch_secs}s')
print(f'\tTrain Loss: {train_loss:.3f} | Train PPL: {math.exp(train_loss):7.3f}')
print(f'\t Val. Loss: {valid_loss:.3f} | Val. PPL: {math.exp(valid_loss):7.3f}')
Expand Down

0 comments on commit c1c22a3

Please sign in to comment.