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

About reading the dataset #2

Open
ateb14 opened this issue Jun 19, 2024 · 2 comments
Open

About reading the dataset #2

ateb14 opened this issue Jun 19, 2024 · 2 comments

Comments

@ateb14
Copy link

ateb14 commented Jun 19, 2024

Thanks for your excellent work.
I wonder how I can read the raw tfrecord files provided in this repo. Could you kindly provide some demo scripts to show how we can get access to the data, as well as some guidelines about the inner structure of the dataset? That should be helpful for us to follow your work. Thanks!

@leebird
Copy link
Collaborator

leebird commented Jun 19, 2024

Please see more info just added to README. We'll add more code examples later.

@leebird
Copy link
Collaborator

leebird commented Jun 24, 2024

We have also added a simple script to show how to retrieve the labels from the dataset at https://github.com/google-research/google-research/blob/master/richhf_18k/parse_tfrecord_file.py.

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