Update README.md
Browse files
README.md
CHANGED
@@ -33,16 +33,16 @@ size_categories:
|
|
33 |
- 方法一:直接下载使用[zip压缩文件](https://github.com/FreedomIntelligence/CMB/tree/main/data)
|
34 |
- 方法二:使用[Hugging Face datasets](https://huggingface.co/datasets/FreedomIntelligence/CMB)直接加载数据集 示例如下:
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
|
47 |
|
48 |
|
|
|
33 |
- 方法一:直接下载使用[zip压缩文件](https://github.com/FreedomIntelligence/CMB/tree/main/data)
|
34 |
- 方法二:使用[Hugging Face datasets](https://huggingface.co/datasets/FreedomIntelligence/CMB)直接加载数据集 示例如下:
|
35 |
|
36 |
+
```
|
37 |
+
from datasets import load_dataset
|
38 |
+
|
39 |
+
# main datasets (multiple choice)
|
40 |
+
main_datasets = load_dataset('FreedomIntelligence/CMB','main')
|
41 |
+
# exam paper datasets (multiple choice)
|
42 |
+
exam_datasets = load_dataset('FreedomIntelligence/CMB','exampaper')
|
43 |
+
# QA datasets
|
44 |
+
qa_datasets = load_dataset('FreedomIntelligence/CMB','qa')
|
45 |
+
```
|
46 |
|
47 |
|
48 |
|