parquet-converter commited on
Commit
582a346
1 Parent(s): 1a8c055

Update parquet files

Browse files
README.md DELETED
@@ -1,91 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - no-annotation
4
- language:
5
- - zh
6
- license:
7
- - apache-2.0
8
- pretty_name: CSL
9
- size_categories:
10
- - 100K<n<1M
11
- source_datasets:
12
- - extended|csl
13
- tags: []
14
- task_categories:
15
- - text-retrieval
16
- task_ids:
17
- - document-retrieval
18
- ---
19
-
20
- # Dataset Card for CSL
21
-
22
- ## Dataset Description
23
-
24
- CSL is the Chinese Scientific Literature Dataset.
25
-
26
- - **Paper:** https://aclanthology.org/2022.coling-1.344
27
- - **Repository:** https://github.com/ydli-ai/CSL
28
-
29
- ### Dataset Summary
30
-
31
- The dataset contains titles, abstracts, keywords of papers written in Chinese from several academic fields.
32
-
33
- ### Languages
34
-
35
- - Chinese
36
-
37
- ## Dataset Structure
38
-
39
- ### Data Instances
40
-
41
- | Split | Documents |
42
- |-----------------|----------:|
43
- | `csl` | 396k |
44
-
45
- ### Data Fields
46
-
47
- - `doc_id`: unique identifier for this document
48
- - `title`: title of the paper
49
- - `abstract`: abstract of the paper
50
- - `keywords`: keywords associated with the paper
51
- - `category`: English translaction of the broad category (e.g., Engineering)
52
- - `category_zho`: the broad category of the paper
53
- - `discipline`: English translation of the academic discipline (e.g., Agricultural Engineering)
54
- - `discipline_zho`: academic discipline of the paper
55
-
56
- ## Dataset Usage
57
-
58
- Using 🤗 Datasets:
59
-
60
- ```python
61
- from datasets import load_dataset
62
-
63
- dataset = load_dataset('neuclir/csl')['csl']
64
- ```
65
-
66
- ## License & Citation
67
-
68
- This dataset is based off the [Chinese Scientific Literature Dataset](https://github.com/ydli-ai/CSL) under Apache 2.0.
69
- The primay change is the addition of English translactions of the category and discipline descriptions by a native speaker.
70
-
71
- If you use this data, please cite:
72
-
73
- ```
74
- @inproceedings{li-etal-2022-csl,
75
- title = "{CSL}: A Large-scale {C}hinese Scientific Literature Dataset",
76
- author = "Li, Yudong and
77
- Zhang, Yuqing and
78
- Zhao, Zhe and
79
- Shen, Linlin and
80
- Liu, Weijie and
81
- Mao, Weiquan and
82
- Zhang, Hui",
83
- booktitle = "Proceedings of the 29th International Conference on Computational Linguistics",
84
- month = oct,
85
- year = "2022",
86
- address = "Gyeongju, Republic of Korea",
87
- publisher = "International Committee on Computational Linguistics",
88
- url = "https://aclanthology.org/2022.coling-1.344",
89
- pages = "3917--3923",
90
- }
91
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
csl.py DELETED
@@ -1,40 +0,0 @@
1
- import gzip
2
- import json
3
- import datasets
4
-
5
- _URLS = {
6
- "csl": "https://huggingface.co/datasets/neuclir/csl/resolve/main/data/csl.jsonl.gz"
7
- }
8
-
9
- class Csl(datasets.GeneratorBasedBuilder):
10
- VERSION = datasets.Version("1.0.0")
11
-
12
- def _info(self):
13
- return datasets.DatasetInfo(
14
- features=datasets.Features({
15
- "doc_id": datasets.Value("string"),
16
- "title": datasets.Value("string"),
17
- "abstract": datasets.Value("string"),
18
- "keywords": datasets.Sequence(feature=datasets.Value("string"), length=-1),
19
- "category": datasets.Value("string"),
20
- "category_zho": datasets.Value("string"),
21
- "discipline": datasets.Value("string"),
22
- "discipline_zho": datasets.Value("string"),
23
- }),
24
- )
25
-
26
- def _split_generators(self, dl_manager):
27
- paths = dl_manager.download(_URLS)
28
- return [
29
- datasets.SplitGenerator(
30
- name='csl',
31
- gen_kwargs={
32
- "filepath": paths['csl'],
33
- })
34
- ]
35
-
36
- def _generate_examples(self, filepath):
37
- with gzip.open(filepath) as f:
38
- for key, row in enumerate(f):
39
- data = json.loads(row)
40
- yield key, data
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/csl.jsonl.gz → default/csl-csl.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f50fc605d7722253d8cdcc74bf297e4f2ffbed24a2cfdac1b3522d76a9852f3
3
- size 125717079
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30842bbb6a057c9897c724b82292564556a76fd18feb508ed3d58b574a7b9cb7
3
+ size 196657055