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

Add an "extra_gated_fields" supported field-type (textarea) #1334

Open
tobiapoppi opened this issue Jul 12, 2024 · 2 comments
Open

Add an "extra_gated_fields" supported field-type (textarea) #1334

tobiapoppi opened this issue Jul 12, 2024 · 2 comments

Comments

@tobiapoppi
Copy link

Problem Description:
We are trying to release our dataset on HF platform, and given that the dataset contains sensitive data, we want to employ the Gated Dataset by using the "extra-gated-prompt" and "extra-gated-fields" in the metadata of the Dataset Card.
The main problem is that we want to ask the user a detailed explanation about the intended usage of the dataset.

Requested Feature:
To do so, a bigger text-area would be more suitable than a simple textline box.

Additional context:
How the textline is now visualized:
image

Here's our metadata example:

---
extra_gated_prompt: >-
  WARNING! This dataset contains explicit sexual content, racially insensitive
  language, and other material that may be disturbing or harmful to certain
  users.
extra_gated_fields:
  Institutional E-mail address:
    type: text
  Country:
    type: country

  # THIS IS THE FIELD FOR WHICH WE WOULD PREFER TO USE A TEXT-AREA
  Detailed Use Description (please, provide a detailed description of how you intend to use this dataset):
    type: text

  I declare to use this dataset for non-commercial use ONLY:
    type: checkbox
  I assume all responsibility for any consequences that may arise from the misuse of this dataset and I release the authors of the dataset from any liability:
    type: checkbox

extra_gated_heading: "By submitting this form, you confirm that you have read and agree to all the above conditions. Access to the dataset will only be granted to users with verified institutional addresses for research purposes and non-malicious use only."
extra_gated_button_content: "Submit"
---
@julien-c
Copy link
Member

yep, sounds reasonable to expose a bit more control, wdyt @SBrandeis?

@julien-c
Copy link
Member

thanks for opening this @tobiapoppi

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