-
Notifications
You must be signed in to change notification settings - Fork 3
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 apply the pre-trained model to a raw text file? #1
Comments
同问 |
The instructions to generate the output are in the README at You can have dummy train, valid and test.dst files and use your file as test.src. |
Our question is whether there is a corresponding test.py file for Train.py, because we need to know the result. |
I do not understand how to generate the output. in data/binarized_data are the files created during preprocessing. I don't get any result, maybe you can help me? |
Hi, @mounicam and @danieljkim0118.
Thanks to share your code of experiments and the pre-trained model.
I want to apply the pre-trained Split-and-Rephrase model (
ourmodel_bisect_wiki-001.pt
) to my own raw text data which consists of only the "complex side", however, even though I've read some of the code and tried to run it in my environment, I don't understand how to do it yet.Could you give me some instructions to adapt your model to a raw text file, or share a code snippet?
Here, this is an example of my raw text data file.
There are only complex sentences in the file, and each sentence is written per line.
I've already finished installing packages such as
fairseq
,tensorflow
,simplediff
, andstanfordcorenlp
according to yourREADME.md
.Also, I've downloaded the
.jar
file and the pre-trained model.I will probably need to use Moses tokenizer at first, but after that, what should I do?
Thanks a lot!
The text was updated successfully, but these errors were encountered: