Datasets:
File size: 2,256 Bytes
454b658 5993830 454b658 5993830 cdb623f 5993830 cdb623f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | ---
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
dataset_info:
features:
- name: uuid
dtype: string
- name: language
dtype: string
- name: site
dtype: string
- name: url
dtype: string
- name: html
dtype: string
- name: annotations
list:
- name: labels
list: string
- name: text
dtype: string
- name: xpath
dtype: string
- name: html_wtl
dtype: string
- name: html_en
dtype: string
- name: screenshot
dtype: image
- name: elements_metadata
dtype: string
splits:
- name: train
num_bytes: 82140877457
num_examples: 29081
download_size: 48603187188
dataset_size: 82140877457
task_categories:
- token-classification
language:
- en
- es
- ru
- ar
- fr
- pt
- hr
- zh
- de
- ko
tags:
- web
- multilingual
- extraction
- news
size_categories:
- 10K<n<100K
---
<img src="newsxlm-dataset-card.png" style="width:70%; height:auto;" alt="">
# NewsXLM Dataset
The first large-scale multilingual dataset for news web page attribute extraction, containing 29,081 annotated pages from 759 websites across 56 languages.
* 📊 [Per-language Stats](NEWSXLM_DATASET_STATS.md)
* 🗃️ [MHTML Sources](https://huggingface.co/datasets/ispras-crawlers/newsxlm-mhtml)
**Columns Explanation**
* `html`: Cleaned original HTML
* `html_en`: `html` with text nodes translated into English
* `html_wtl`: `html` with `wtl-uid` and `wtl-parent-uid` attributes added to each element in \<body\>, following the [WTL algorithm](https://github.com/klarna-incubator/webtraversallibrary/blob/master/webtraversallibrary/js/get_element_metadata.js)
* `annotations`: List of labeled page nodes in the following format:
```
[
{
"xpath": "string", // May end with "/tail"
"text": "string",
"labels": ["string"] // In this dataset, the list always contains exactly one label
},
// ...
]
```
* `elements_metadata`: A JSON string containing \<body\> elements metadata produced by the WTL:
```
{
"wtl-uid": { /* element metadata */ },
// ...
}
```
**Labeled Attributes**
`title`, `publication_date`, `text`, `author`, `tag`. A very limited number of `category` labels may appear. |