Datasets:
Feat: Add Data Instances
Browse files- tools/templates/README.tmpl +18 -1
tools/templates/README.tmpl
CHANGED
|
@@ -165,7 +165,24 @@ break, including an LF character at the end of file).
|
|
| 165 |
|
| 166 |
### Data Instances
|
| 167 |
|
| 168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
|
| 170 |
### Data Fields
|
| 171 |
|
|
|
|
| 165 |
|
| 166 |
### Data Instances
|
| 167 |
|
| 168 |
+
This dataset has {{ data.items()|length }} configurations.
|
| 169 |
+
```python
|
| 170 |
+
from datasets import get_dataset_config_names
|
| 171 |
+
|
| 172 |
+
# Get the revision specific configurations
|
| 173 |
+
get_dataset_config_names("commul/universal_dependencies", revision="{{ ud_ver }}", trust_remote_code=True) # 179
|
| 174 |
+
['af_afribooms',
|
| 175 |
+
'akk_pisandub',
|
| 176 |
+
'aqz_tudet',
|
| 177 |
+
'sq_tsa',
|
| 178 |
+
'gsw_uzh',
|
| 179 |
+
'am_att',
|
| 180 |
+
...
|
| 181 |
+
]
|
| 182 |
+
|
| 183 |
+
# Get the latest configurations
|
| 184 |
+
get_dataset_config_names("commul/universal_dependencies", trust_remote_code=True)
|
| 185 |
+
```
|
| 186 |
|
| 187 |
### Data Fields
|
| 188 |
|