Eshwar14's picture
Upload folder using huggingface_hub
c92a167 verified
---
tags:
- rlfh
- argilla
- human-feedback
---
# Dataset Card for sds_section1_extraction
This dataset has been created with [Argilla](https://github.com/argilla-io/argilla). As shown in the sections below, this dataset can be loaded into your Argilla server as explained in [Load with Argilla](#load-with-argilla), or used directly with the `datasets` library in [Load with `datasets`](#load-with-datasets).
## Using this dataset with Argilla
To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
```python
import argilla as rg
ds = rg.Dataset.from_hub("Eshwar14/sds_section1_extraction", settings="auto")
```
This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
## Using this dataset with `datasets`
To load the records of this dataset with `datasets`, you'll just need to install `datasets` as `pip install datasets --upgrade` and then use the following code:
```python
from datasets import load_dataset
ds = load_dataset("Eshwar14/sds_section1_extraction")
```
This will only load the records of the dataset, but not the Argilla settings.
## Dataset Structure
This dataset repo contains:
* Dataset records in a format compatible with HuggingFace `datasets`. These records will be loaded automatically when using `rg.Dataset.from_hub` and can be loaded independently using the `datasets` library via `load_dataset`.
* The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
* A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
### Fields
The **fields** are the features or text of a dataset's records. For example, the 'text' column of a text classification dataset of the 'prompt' column of an instruction following dataset.
| Field Name | Title | Type | Required |
| ---------- | ----- | ---- | -------- |
| text | SDS Document Text | text | True |
### Questions
The **questions** are the questions that will be asked to the annotators. They can be of different types, such as rating, text, label_selection, multi_label_selection, or ranking.
| Question Name | Title | Type | Required | Description | Values/Labels |
| ------------- | ----- | ---- | -------- | ----------- | ------------- |
| product_name | Product Name | text | True | Extract the product identifier or name | N/A |
| chemical_name | Chemical Name | text | False | Extract chemical name if available, else 'No data available' | N/A |
| product_use | Product Use | text | False | Extract relevant identified uses | N/A |
| prohibited_use | Prohibited Use | text | False | Extract uses advised against | N/A |
| cas_number | CAS Number | text | False | Extract CAS registry number if present | N/A |
| reach_number | REACH Number | text | False | Extract REACH registration number if present | N/A |
| supplier1_name | Supplier 1 - Company Name | text | True | First supplier company name | N/A |
| supplier1_address | Supplier 1 - Address | text | True | Full address (use \n for line breaks) | N/A |
| supplier1_country | Supplier 1 - Country Name | text | True | N/A | N/A |
| supplier1_country_code | Supplier 1 - Country Code | text | True | 2-3 letter code (e.g., NL, USA) | N/A |
| supplier1_phone | Supplier 1 - Phone | text | False | N/A | N/A |
| supplier1_emergency | Supplier 1 - Emergency Phone | text | False | N/A | N/A |
| supplier1_email | Supplier 1 - Email | text | False | N/A | N/A |
| supplier2_name | Supplier 2 - Company Name | text | False | Second supplier (if exists) | N/A |
| supplier2_address | Supplier 2 - Address | text | False | N/A | N/A |
| supplier2_country | Supplier 2 - Country Name | text | False | N/A | N/A |
| supplier2_country_code | Supplier 2 - Country Code | text | False | N/A | N/A |
| supplier2_phone | Supplier 2 - Phone | text | False | N/A | N/A |
| supplier2_emergency | Supplier 2 - Emergency Phone | text | False | N/A | N/A |
| supplier2_email | Supplier 2 - Email | text | False | N/A | N/A |
<!-- check length of metadata properties -->
### Data Splits
The dataset contains a single split, which is `train`.
## Dataset Creation
### Curation Rationale
[More Information Needed]
### Source Data
#### Initial Data Collection and Normalization
[More Information Needed]
#### Who are the source language producers?
[More Information Needed]
### Annotations
#### Annotation guidelines
[More Information Needed]
#### Annotation process
[More Information Needed]
#### Who are the annotators?
[More Information Needed]
### Personal and Sensitive Information
[More Information Needed]
## Considerations for Using the Data
### Social Impact of Dataset
[More Information Needed]
### Discussion of Biases
[More Information Needed]
### Other Known Limitations
[More Information Needed]
## Additional Information
### Dataset Curators
[More Information Needed]
### Licensing Information
[More Information Needed]
### Citation Information
[More Information Needed]
### Contributions
[More Information Needed]