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

Support for the TSV format dataset #2

Closed
chaochun opened this issue Feb 21, 2020 · 2 comments
Closed

Support for the TSV format dataset #2

chaochun opened this issue Feb 21, 2020 · 2 comments

Comments

@chaochun
Copy link

Hi, does your code support the TSV format dataset? Or any suggestion to run your system for the TSV format datasets?

@imran3180
Copy link
Owner

Currently, it is reading from the JSON format dataset. But it can be modified very easily to read from TSV format. I am using torchtext dataset splits method to prepare the SNLI and MultiNLI datasets.

By default splits methods reads from JSON files which are stored into .data folder. You can give your .tsv file name here and put your TSV file in .data folder. It should work right away. If you want to give own custom file path I would recommend you to use the tabular dataset from the torchtext and specify the path of TSV files.

@chaochun
Copy link
Author

Thanks for your suggestions. :-)

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