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

template help #19

Open
tigsss opened this issue Mar 8, 2020 · 1 comment
Open

template help #19

tigsss opened this issue Mar 8, 2020 · 1 comment

Comments

@tigsss
Copy link

tigsss commented Mar 8, 2020

Hi, thanks for your great work! We were just getting started with the code and were wondering how exactly you generated the templates for the GYAFC dataset. We have all the data labeled with train.0, train.1, ... and we tried to run the get_template_based_result.py command in the terminal. However, we kept getting error

Starting search for file: ../data/GYAFC/template_result/replace_result.test.0-1.tsf
FileNotFoundError: [Errno 2] No such file or directory: '../data/GYAFC/template_result/replace_result.test.0-1.tsf'

Are we supposed to use this to generate the templates? https://github.com/lijuncen/Sentiment-and-Style-Transfer I could not see in the bash script where it generated the tsf files.

Also, when we train the DualRL model, will it automatically use the tsf files? And are the tsf files optional? What other ways do you recommend that we can preprocess it more simply? We were also a little confused about the point of the tsf files / pseudoparallel data in the README and when they came into play. Aren't we trying to do this entirely without parallel data?

Sorry for all the questions, looking forward to hearing back!

@luofuli
Copy link
Owner

luofuli commented Mar 12, 2020

I don't know why you get this error. And I am not 100% sure that this script works. Maybe you can provide more information about this error.

There is an issue about how to generate the templates from https://github.com/lijuncen/Sentiment-and-Style-Transfer .

Please read the REAME.md file and issues more carefully. You can consider use the original data as template-based results to simplify the process. #4

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy