lewtun HF staff commited on
Commit
060a717
1 Parent(s): cc04c89

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -1
README.md CHANGED
@@ -4,7 +4,15 @@
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
 
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
+ ## Converting datasets to JSON
8
+
9
+ 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. To run the script, first install [`jq`](https://stedolan.github.io/jq/download/) and then install the script's Python dependencies:
10
+
11
+ ```
12
+ python -m pip install -r requirements.txt
13
+ ```
14
+
15
+ You can then run the script as follows:
16
 
17
  ```python
18
  python convert_datasets_to_json.py