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