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

Can you provide the inference? #11

Open
wulouzhu opened this issue Jul 23, 2019 · 4 comments
Open

Can you provide the inference? #11

wulouzhu opened this issue Jul 23, 2019 · 4 comments

Comments

@wulouzhu
Copy link

No description provided.

@snukky
Copy link
Contributor

snukky commented Jul 23, 2019

What do you mean exactly? There is a script correcting common test sets (https://github.com/grammatical/neural-naacl2018/blob/master/models/evaluate.sh), from which you can extract a command to run on any input, e.g.:

cat text.err \
    | bash preprocess.sh \
    | $MARIAN/marian-decoder -c model/config.yml -d $GPUS -w 4000 --quiet \
    | bash postprocess.sh \
> text.out

@wulouzhu
Copy link
Author

@snukky
Should I tokenize error sentences first?

@snukky
Copy link
Contributor

snukky commented Jul 23, 2019

Yes, with the NLTK tokenizer.

@wulouzhu
Copy link
Author

Thank you!

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

2 participants