Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# GEM References
|
| 2 |
+
|
| 3 |
+
## What is it?
|
| 4 |
+
|
| 5 |
+
This repository contains all the reference datasets that are used for running evaluation on the GEM benchmark. These datasets were originally hosted as a [GitHub release](https://github.com/GEM-benchmark/GEM-metrics/releases) on the [`GEM-metrics`](https://github.com/GEM-benchmark/GEM-metrics) repository, but have been migrated to the Hugging Face Hub.
|
| 6 |
+
|
| 7 |
+
We provide a `convert_dataset_to_json.py` conversion script that converts the datasets in the GEM organisation to the JSON format expected by the `GEM-metrics` library. You can run the script as follows:
|
| 8 |
+
|
| 9 |
+
```python
|
| 10 |
+
python convert_datasets_to_json.py
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
This script will:
|
| 14 |
+
|
| 15 |
+
* Download and convert the datasets under the GEM organisation to JSON format
|
| 16 |
+
* Download the corresponding reference datasets from the GitHub release to the `github_references/` folder
|
| 17 |
+
* Perform a diff validation between the converted and original reference datasets via the `jq` library
|
| 18 |
+
|