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

train_with_summary.txt train_tokenized.txt #4

Open
world4jason opened this issue Jul 4, 2020 · 1 comment
Open

train_with_summary.txt train_tokenized.txt #4

world4jason opened this issue Jul 4, 2020 · 1 comment

Comments

@world4jason
Copy link

有沒有這兩個的連結?
參考一下格式
謝謝

@ccs96307
Copy link

ccs96307 commented Nov 3, 2020

Maybe you can refer: https://zhuanlan.zhihu.com/p/113869509

The data format is similar to the following example:
{"summarization": "xxxxxxxxx", "article": "aaaaaaaaa"}

You can use json.dumps() to convert data to string data type and save it, using '\n' to split data. (Because the source code is using json.loads() to load the training data)

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