cnut1648 commited on
Commit
66f5d80
1 Parent(s): de041fb

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -0
README.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - nli
4
+ ---
5
+
6
+ # Dataset Card for Dataset Name
7
+
8
+ This dataset inherits from [mnli](https://huggingface.co/datasets/glue/viewer/mnli/train), and the only changes is to downsample to the same size as mednli. It is created via
9
+ ```python
10
+ with open("/path/to/mednli/mli_train_v1.jsonl") as f:
11
+ data = [json.loads(line) for line in f.readlines()]
12
+
13
+ raw_datasets = load_dataset("glue", "mnli")
14
+ raw_datasets["train"] = raw_datasets["train"].shuffle(seed=42).select(range(len(data)))
15
+ raw_datasets.push_to_hub("cnut1648/mnli_resampled_as_mednli")
16
+ ```