mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 21:42:19 +03:00
Make sure tuning uses filtered config when available.
This commit is contained in:
parent
cf47ad132c
commit
8993339df4
@ -832,7 +832,7 @@ apply-filter-devtest
|
||||
ignore-unless: use-mira
|
||||
template: $moses-script-dir/ems/support/substitute-filtered-tables.perl IN1/moses.ini < IN > OUT
|
||||
tune
|
||||
in: TRAINING:bin-config=OR=filtered-config input reference filtered-config-devtest input-devtest reference-devtest
|
||||
in: bin-config input reference filtered-config-devtest input-devtest reference-devtest filtered-config
|
||||
out: weight-config
|
||||
ignore-if: use-hiero
|
||||
qsub-script: yes
|
||||
|
@ -1611,7 +1611,8 @@ sub define_tuning_tune {
|
||||
my $word_alignment = &backoff_and_get("TRAINING:include-word-alignment-in-rules");
|
||||
|
||||
# the last 3 variables are only used for mira tuning
|
||||
my ($tuned_config,$config,$input,$reference,$config_devtest,$input_devtest,$reference_devtest) = &get_output_and_input($step_id);
|
||||
my ($tuned_config,$config,$input,$reference,$config_devtest,$input_devtest,$reference_devtest, $filtered_config) = &get_output_and_input($step_id);
|
||||
$config = $filtered_config if $filtered_config;
|
||||
|
||||
my $cmd = "";
|
||||
if ($use_mira) {
|
||||
|
Loading…
Reference in New Issue
Block a user