Sentence-Simplification-ACL14 icon indicating copy to clipboard operation
Sentence-Simplification-ACL14 copied to clipboard

TRANSFORMATION MODEL DIR - Missing files after training

Open Crista23 opened this issue 5 years ago • 0 comments

The transformation parameters are set by default to "split:drop-ood:drop-rel:drop-mod" in line 38 of start_learning_training_models.py file. My model trains ok, but when applying it to simplify complex sentences it crashes because it cannot find the split nor the drop-rel model files in TRANSFORMATION MODEL DIR:

transformation model ['split', 'drop-ood', 'drop-rel', 'drop-mod'] Traceback (most recent call last): File "start_simplifying_complex_sentence.py", line 141, in probability_tables = functions_model_files.read_model_files(D2S_Config_data["TRANSFORMATION-MODEL-DIR"], D2S_Config_data["TRANSFORMATION-MODEL"]) File "./source/functions_model_files.py", line 16, in read_model_files

Can you please suggest how to fix this error? Is it possible that something went wrong with my Moses or MGiza installation? Thank you!

Crista23 avatar Mar 04 '19 23:03 Crista23