Commit Graph

19 Commits

Author SHA1 Message Date
ehasler
a58dd23b03 remove stop-optimal parameter, default for precision is 1.0, fix flexible slack, inable analytical update
git-svn-id: http://svn.statmt.org/repository/mira@3890 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:37 +02:00
ehasler
bc7f8655d6 implement option --one-constraint that uses only the best model translation and the oracle and computes the update analytically
git-svn-id: http://svn.statmt.org/repository/mira@3877 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:36 +02:00
ehasler
f29d58e3f3 bleu before and after opt. for batch, print error of constraints
git-svn-id: http://svn.statmt.org/repository/mira@3871 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:36 +02:00
ehasler
16edd0b9bc track the number of violated constraints and constraint changes
git-svn-id: http://svn.statmt.org/repository/mira@3869 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:36 +02:00
ehasler
9ee3edef82 add Hildreth unit tests, fix consstraint comparison in MiraOptimiser, some code clean-up
git-svn-id: http://svn.statmt.org/repository/mira@3861 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:35 +02:00
ehasler
269f1018c3 introduce option to use average weights for pruning
git-svn-id: http://svn.statmt.org/repository/mira@3852 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:35 +02:00
ehasler
d04066ee0e introduce parameter --update-after-epoch
git-svn-id: http://svn.statmt.org/repository/mira@3845 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:35 +02:00
ehasler
f95a9d5d26 update training script to compute BLEU of dev set, update computation of dev bleu (on best model score translation), check best model scores after weight update
git-svn-id: http://svn.statmt.org/repository/mira@3843 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:35 +02:00
ehasler
8d95753d0c back to dumping cumulative weights, fix learning rate and max-sentence-update
git-svn-id: http://svn.statmt.org/repository/mira@3831 cc96ff50-19ce-11e0-b349-13d7f0bd23df
2011-08-18 12:59:34 +02:00
evahasler
2f1b959302 change bleu smoothing, change handling of multiple oracles, parameter for increasing BP
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3770 1f5c12ca-751b-0410-a591-d2e778427230
2010-12-10 16:34:43 +00:00
evahasler
7c238b6b44 add parameters --accumulate-oracles and --accumulate-most-violated-constraints
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3765 1f5c12ca-751b-0410-a591-d2e778427230
2010-12-09 11:49:52 +00:00
evahasler
0c70c1a4ef introduce weighted loss function
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3761 1f5c12ca-751b-0410-a591-d2e778427230
2010-12-06 19:32:59 +00:00
evahasler
da712f0eeb change return type from size_t to int
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3751 1f5c12ca-751b-0410-a591-d2e778427230
2010-11-30 17:26:34 +00:00
evahasler
e442c513dd sanity check number of violated constraint/overall change in objective
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3743 1f5c12ca-751b-0410-a591-d2e778427230
2010-11-29 15:07:38 +00:00
evahasler
1de7aa4f81 enable batch optimisation, batch history updating, fix bug in Decoder.cpp (new: staticData.ReLoadBleuScoreFeatureParameter())
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3734 1f5c12ca-751b-0410-a591-d2e778427230
2010-11-24 17:06:54 +00:00
evahasler
85a71793a6 Update mira optimatization code and merge Main.cpp
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3652 1f5c12ca-751b-0410-a591-d2e778427230
2010-10-25 12:22:35 +00:00
bhaddow
c52ad1fc22 Most of driver done, need weight updating.
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3511 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 12:54:58 +00:00
bhaddow
7c7f35a632 Fix optimiser interface
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3501 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-17 09:17:05 +00:00
bhaddow
a30877f29b perceptron optimisation
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/branches/mira-mtm5@3491 1f5c12ca-751b-0410-a591-d2e778427230
2010-09-16 17:01:23 +00:00