license:apache-2.0 region:us
---
license: apache-2.0
---

# Dataset Card for MoralMachineHuman

## Dataset Summary

The dataset was created to provide our imitation to the real human responses of the original paper [Moral Machine](https://www.moralmachine.net/). We reformat the source data into text prompts and responses for other researchers to use.

## Languages

The dataset is in English (EN).

## Dataset Structure

### Data Instances

A data instance in this dataset represents a response made by real human through the Moral Machine data collection.

### Data Fields

The fields in the dataset include:
- `ResponseID`: Follows the same field in the file `SharedResponses.csv` provided by [Moral Machine](https://www.moralmachine.net/). As what its [README](https://osf.io/wt6mc?view_only=4bb49492edee4a8eb1758552a362a2cf) explains, it is "a unique, random set of characters that represents an identifier of the scenario". The difference is that in our dataset each row has a unique `ResponseID` and doesn't share with another row. 
- `UserID`: Follows the same field in the file `SharedResponses.csv` provided by [Moral Machine](https://www.moralmachine.net/). As what its [README](https://osf.io/wt6mc?view_only=4bb49492edee4a8eb1758552a362a2cf) explains, it is "a unique, random set of characters that represents an identifier of the user (respondent), captured using browser fingerprints".
- `Question`: represents the prompts that imitate the original paper [The Moral Machine experiment](https://doi.org/10.1038/s41586-018-0637-6).
- `HumanResponse`: represents the human responses that imitate the original paper [The Moral Machine experiment](https://doi.org/10.1038/s41586-018-0637-6).
- `Country`: Follows the field named `UserCountry3` in the file `SharedResponses.csv` provided by [Moral Machine](https://www.moralmachine.net/). As what its [README](https://osf.io/wt6mc?view_only=4bb49492edee4a8eb1758552a362a2cf) explains, it is "the alpha-3 ISO code of the country from which the user accessed the website".

### Data Splits

The dataset is unsplit.

## Dataset Creation

### Source Data

The source file `SharedResponses.csv` by [Moral Machine](https://www.moralmachine.net/) contains 70332356 rows. In our dataset, we follow the processing steps below:
1. Remove the rows that don't share the same ResponseID with any other rows
2. Pair each two rows with the same `ResponseID` and reformat into a single row
3. Run `generate.py` to remove rows that contains `nan` values in the entries we access, and generate new text columns named `Queston` and `HumanResponse`

We left with 33953466 rows after the processing steps.

## Dataset Use

### Use Cases

The dataset can be used for tasks related to llm moral analysis for a comparison with human moral judgments regarding their country location.

## Citation

```

```
