Datasets:
Update README with explicit Parquet config and improved dataset card
Browse files
README.md
CHANGED
|
@@ -22,11 +22,20 @@ task_ids:
|
|
| 22 |
- masked-language-modeling
|
| 23 |
paperswithcode_id: null
|
| 24 |
pretty_name: Penn Treebank
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
dataset_info:
|
| 26 |
features:
|
| 27 |
- name: sentence
|
| 28 |
dtype: string
|
| 29 |
-
config_name:
|
| 30 |
splits:
|
| 31 |
- name: train
|
| 32 |
num_bytes: 5143706
|
|
@@ -80,7 +89,7 @@ dataset_info:
|
|
| 80 |
|
| 81 |
### Dataset Summary
|
| 82 |
|
| 83 |
-
This is the Penn Treebank Project: Release 2 CDROM, featuring a million words of 1989 Wall Street Journal material.
|
| 84 |
The rare words in this version are already replaced with <unk> token. The numbers are replaced with <N> token.
|
| 85 |
|
| 86 |
### Supported Tasks and Leaderboards
|
|
@@ -95,15 +104,23 @@ The text in the dataset is in American English
|
|
| 95 |
|
| 96 |
### Data Instances
|
| 97 |
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
|
| 100 |
### Data Fields
|
| 101 |
|
| 102 |
-
|
| 103 |
|
| 104 |
### Data Splits
|
| 105 |
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
## Dataset Creation
|
| 109 |
|
|
@@ -161,6 +178,7 @@ Dataset provided for research purposes only. Please check dataset license for ad
|
|
| 161 |
|
| 162 |
### Citation Information
|
| 163 |
|
|
|
|
| 164 |
@article{marcus-etal-1993-building,
|
| 165 |
title = "Building a Large Annotated Corpus of {E}nglish: The {P}enn {T}reebank",
|
| 166 |
author = "Marcus, Mitchell P. and
|
|
@@ -173,6 +191,8 @@ Dataset provided for research purposes only. Please check dataset license for ad
|
|
| 173 |
url = "https://www.aclweb.org/anthology/J93-2004",
|
| 174 |
pages = "313--330",
|
| 175 |
}
|
|
|
|
|
|
|
| 176 |
### Contributions
|
| 177 |
|
| 178 |
-
Thanks to [@harshalmittal4](https://github.com/harshalmittal4) for adding this dataset.
|
|
|
|
| 22 |
- masked-language-modeling
|
| 23 |
paperswithcode_id: null
|
| 24 |
pretty_name: Penn Treebank
|
| 25 |
+
configs:
|
| 26 |
+
- config_name: default
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: data/train-*
|
| 30 |
+
- split: test
|
| 31 |
+
path: data/test-*
|
| 32 |
+
- split: validation
|
| 33 |
+
path: data/validation-*
|
| 34 |
dataset_info:
|
| 35 |
features:
|
| 36 |
- name: sentence
|
| 37 |
dtype: string
|
| 38 |
+
config_name: default
|
| 39 |
splits:
|
| 40 |
- name: train
|
| 41 |
num_bytes: 5143706
|
|
|
|
| 89 |
|
| 90 |
### Dataset Summary
|
| 91 |
|
| 92 |
+
This is the Penn Treebank Project: Release 2 CDROM, featuring a million words of 1989 Wall Street Journal material.
|
| 93 |
The rare words in this version are already replaced with <unk> token. The numbers are replaced with <N> token.
|
| 94 |
|
| 95 |
### Supported Tasks and Leaderboards
|
|
|
|
| 104 |
|
| 105 |
### Data Instances
|
| 106 |
|
| 107 |
+
An example instance:
|
| 108 |
+
|
| 109 |
+
```json
|
| 110 |
+
{"sentence": "pierre <unk> N years old will join the board as a nonexecutive director nov. N"}
|
| 111 |
+
```
|
| 112 |
|
| 113 |
### Data Fields
|
| 114 |
|
| 115 |
+
- `sentence` (string): A sentence from the Wall Street Journal corpus with rare words replaced by `<unk>` and numbers by `<N>`.
|
| 116 |
|
| 117 |
### Data Splits
|
| 118 |
|
| 119 |
+
| Split | Examples |
|
| 120 |
+
|------------|----------|
|
| 121 |
+
| train | 42,068 |
|
| 122 |
+
| test | 3,761 |
|
| 123 |
+
| validation | 3,370 |
|
| 124 |
|
| 125 |
## Dataset Creation
|
| 126 |
|
|
|
|
| 178 |
|
| 179 |
### Citation Information
|
| 180 |
|
| 181 |
+
```bibtex
|
| 182 |
@article{marcus-etal-1993-building,
|
| 183 |
title = "Building a Large Annotated Corpus of {E}nglish: The {P}enn {T}reebank",
|
| 184 |
author = "Marcus, Mitchell P. and
|
|
|
|
| 191 |
url = "https://www.aclweb.org/anthology/J93-2004",
|
| 192 |
pages = "313--330",
|
| 193 |
}
|
| 194 |
+
```
|
| 195 |
+
|
| 196 |
### Contributions
|
| 197 |
|
| 198 |
+
Thanks to [@harshalmittal4](https://github.com/harshalmittal4) for adding this dataset.
|