Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run train-model.perl #20

Open
toralero opened this issue Oct 25, 2023 · 0 comments
Open

Unable to run train-model.perl #20

toralero opened this issue Oct 25, 2023 · 0 comments

Comments

@toralero
Copy link

Hi! first of all great work with this its been much easier to use and implement than the linux side manual compilation where the documentation is (imo) a big mess.

I however got stuck on training my model and was wondering if you encountered this issue
"When running scripts which require -external-bin-dir, for example train-model.perl, -external-bin-dir should take the argument /opt/moses_tools'

So I'm running train-model.perl on inside the docker bash it is unable to recognise the content of opt/moses_tools
The error message specifically is "Using SCRIPTS_ROOTDIR: /opt/moses/scripts
Using single-thread GIZA
using gzip
ERROR: Cannot find mkcls, GIZA++/mgiza, & snt2cooc.out/snt2cooc in /opt/moses_tools.
You MUST specify the parameter -external-bin-dir at /opt/moses/scripts/training/train-model.perl line 491."

However I am quite sure that moses_tools has the correct tools i have even tested them out individually and checked the content of the folder
root@235824dd6bb2:/opt# cd moses_tools
root@235824dd6bb2:/opt/moses_tools# ls
d4norm merge_alignment.py mkcls snt2cooc snt2plain
hmmnorm mgiza plain2snt snt2coocrmp symal"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant