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

pipeline for integrating crowdsource prompts #6

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

sbmaruf
Copy link
Contributor

@sbmaruf sbmaruf commented Apr 20, 2023

This PR intends to integrate the following functionality,

  • Investigate the stats of the selected dataset. This will help us to estimate the mixing ratio, and translation ratio in the future.
  • Download the prompts from the Google sheet.
  • jinja template projection (via promptsource).
  • Make sure all datasets can be loaded using huggingface load_dataset module.
  • Parse g-sheet.
  • Automatically validate the prompts.
  • Project the prompted dataset. -> Use sbmaruf/project instruct data using psrc #1 instead.
  • Automatic data stat generation from google sheet. (suggested by @Kowasaki)

@sbmaruf sbmaruf self-assigned this Apr 20, 2023
@sbmaruf sbmaruf requested review from marziehf and Kowasaki and removed request for marziehf and Kowasaki April 20, 2023 18:35
@sbmaruf
Copy link
Contributor Author

sbmaruf commented Apr 20, 2023

The PR is still in draft.

@sbmaruf sbmaruf requested review from Kowasaki and removed request for marziehf April 27, 2023 13:55
@Kowasaki
Copy link
Contributor

How are the datasets selected to be included in data_stat.py? Are new additions a manual process? If so I would recommend maybe using something like parsing a .csv file or use the Google Sheets API so that you don't have to manually modify the code everytime a new dataset is added

@sbmaruf
Copy link
Contributor Author

sbmaruf commented Apr 27, 2023

@Kowasaki That can be done. Let me put it in the TODO.

jinja_template,
template_reference=None,
answer_choices=None
):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docstring please :))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. But still WIP.

@sbmaruf
Copy link
Contributor Author

sbmaruf commented Apr 30, 2023

Estimated finish time: To finish this, some parts of the work need to be finished from the Team-4 collected prompts and review process. But I can still test what we have right now.

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

Successfully merging this pull request may close these issues.

3 participants