-------- Forwarding messages --------
From: dongxinghua0213 <[email protected]>
Date: 2011-03-18 19:37:16
To: hieu <[email protected]>,"Philipp Koehn" <[email protected]>
Subject: about mert  !

hi,
    I studied  the mert script   mert-moses-new.pl, but something confused me,
................................
 
  my $base_feature_file = "features.dat";
  my $base_score_file = "scores.dat";
  my $feature_file = "run$run.${base_feature_file}";
  my $score_file = "run$run.${base_score_file}";
  $cmd = "$mert_extract_cmd $mert_extract_args --scfile $score_file --ffile 
$feature_file -r ".join(",", @references)." -n $nbest_file";
  if (defined $___JOBS) {
    safesystem("$qsubwrapper $pass_old_sge -command='$cmd' 
-queue-parameter=\"$queue_flags\" -stdout=extract.out -stderr=extract.err" )
      or die "Failed to submit extraction to queue (via $qsubwrapper)";
  } else {
    safesystem("$cmd > extract.out 2> extract.err") or die "Failed to do 
extraction of statistics.";
............................
which file is the  $score_file ? which  file is $feature_file ?  Do their file 
names end with .dat?
 what do the binary file 'extractor"  do ?  extract what ?
   the line  :   safesystem("$cmd > extract.out 2> extract.err") or die "Failed 
to do extraction of statistics.";
 
I didn't find the output file   "extract.out "!
 
.........................
  $cmd = "$mert_mert_cmd -d $DIM $mert_mert_args -n 20";
  if ($___PREDICTABLE_SEEDS) {
      my $seed = $run * 1000;
      $cmd = $cmd." -r $seed";
  }
..........................
what is the  $seed  ?
 
my tuning director is :
 
top@moses01:~/programming/language_model/working-dir/tuning$ ls
cands.opt                run1.best100.out.gz  run2.feats.opt.gz
cmert.log                run1.cands.opt       run2.init.opt
feats.opt                run1.cmert.log       run2.moses.ini
filtered                 run1.feats.opt.gz    run2.out.gz
finished_step.txt        run1.init.opt        run2.weights.txt
init.opt                 run1.moses.ini       run3.best100.out.gz
input                    run1.out.gz          run3.init.opt
moses.ini                run1.weights.txt     run3.moses.ini
moses.weight-reused.ini  run2.best100.out.gz  run3.out.gz
names.txt                run2.cands.opt       weights.txt
reference                run2.cmert.log
 
 
   thank you  very  much  !!
 
 
 
 
 
 


_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to