File size: 2,292 Bytes
a8aca1e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6e857ff
 
 
 
 
a8aca1e
6e857ff
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
dataset_info:
  features:
  - name: id
    dtype: string
  - name: context
    dtype: string
  - name: questions
    list:
    - name: id
      dtype: string
    - name: question
      dtype: string
    - name: answers
      struct:
      - name: text
        list: string
      - name: answer_start
        list: int32
  - name: metadata
    dtype: string
  splits:
  - name: train
    num_bytes: 31517284
    num_examples: 4548
  - name: validation
    num_bytes: 5498260
    num_examples: 913
  - name: test
    num_bytes: 4606961
    num_examples: 985
  download_size: 34172769
  dataset_size: 41622505
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
  - split: validation
    path: data/validation-*
  - split: test
    path: data/test-*
license: cc-by-4.0
source_datasets:
- X-LANCE/WebSRC_v1.0
tags:
- decision-model
---

# websrc-spans

WebSRC v1.0 span questions over the visible text of each web page (CC BY 4.0).

WebSRC (Chen et al., EMNLP 2021) has crowd-written questions over 6.4k web page segments; span
answers are the annotated DOM element plus a character offset into its text. Each page's HTML is
converted to visible text (``VisibleText``: decoded entities, collapsed whitespace, one line per
block element, ``' | '`` between table cells) and every span answer is relocated in the answer
element's range of that text, verified verbatim. Yes/no questions are not spans and are left out
(the ``tasksource/websrc`` yes/no config holds them); unlocatable answers are dropped with a
reason, never turned into nulls. One row per page groups its questions. Native website-disjoint
splits: train and dev (``validation``) from the train+dev archive, ``test`` from the test archive
with the answers released in ``WebSRC_v1.0_test_answers.json``.

Original data: [X-LANCE/WebSRC_v1.0](https://huggingface.co/datasets/X-LANCE/WebSRC_v1.0), [original distribution](https://huggingface.co/datasets/X-LANCE/WebSRC_v1.0). Repackaged as parquet for [tasksource](https://github.com/sileod/tasksource) by [scripts/repackage_dataset/web_extraction.py](https://github.com/sileod/tasksource/blob/main/scripts/repackage_dataset/web_extraction.py#L203).

[Conversion provenance](provenance.json): source revisions, hashes, configuration and exclusions.