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

How to generate xIntent output file for a given input file in atomic_single_example.py #35

Closed
knarfamlap opened this issue Jul 10, 2021 · 1 comment

Comments

@knarfamlap
Copy link

Hello!

Thank you for sharing your work! I want to generate xIntent for some sequences. Is there a way that I can give an input file and have the output be stored in another file?

Thanks for your time!

Frank

@atcbosselut
Copy link
Owner

Yes, you can simply modify https://github.com/atcbosselut/comet-commonsense/blob/master/scripts/interactive/atomic_single_example.py

You should be able to just replace the reading from stdin as a file with the events of interest. And just set the category variable to "xIntent"

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