davanstrien HF Staff commited on
Commit
1b590b5
·
verified ·
1 Parent(s): 4e2b34c

Convert to parquet (loading scripts are no longer supported)

Browse files

`datasets` no longer supports dataset loading scripts, so `load_dataset('biglam/contentious_contexts')` fails with `RuntimeError: Dataset scripts are no longer supported`.

This PR converts the dataset to parquet and removes the loading script. The join and schema match the script exactly: one row per extract, with every annotator response carried in both Dutch and English translation alongside the free-text suggestions. All response strings map cleanly to the script's English lookup (asserted in the build).

The card's Loading section said loading was broken, which this PR fixes, so that paragraph is replaced with a working snippet. Nothing else in the card is touched.

Source data unchanged: https://github.com/cultural-ai/ConConCor

Files changed (2) hide show
  1. README.md +37 -0
  2. data/train-00000-of-00001.parquet +3 -0
README.md CHANGED
@@ -26,6 +26,43 @@ task_categories:
26
  task_ids:
27
  - sentiment-scoring
28
  - multi-label-classification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ---
30
 
31
  # Contentious Contexts Corpus (ConConCor)
 
26
  task_ids:
27
  - sentiment-scoring
28
  - multi-label-classification
29
+ dataset_info:
30
+ features:
31
+ - name: extract_id
32
+ dtype: string
33
+ - name: text
34
+ dtype: string
35
+ - name: target
36
+ dtype: string
37
+ - name: annotator_responses_english
38
+ list:
39
+ - name: id
40
+ dtype: string
41
+ - name: response
42
+ dtype: string
43
+ - name: annotator_responses_dutch
44
+ list:
45
+ - name: id
46
+ dtype: string
47
+ - name: response
48
+ dtype: string
49
+ - name: annotator_suggestions
50
+ list:
51
+ - name: id
52
+ dtype: string
53
+ - name: suggestion
54
+ dtype: string
55
+ splits:
56
+ - name: train
57
+ num_bytes: 2199414
58
+ num_examples: 2720
59
+ download_size: 1940545
60
+ dataset_size: 2199414
61
+ configs:
62
+ - config_name: default
63
+ data_files:
64
+ - split: train
65
+ path: data/train-*
66
  ---
67
 
68
  # Contentious Contexts Corpus (ConConCor)
data/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbfc97851b492f569c346cbc16cd825c9eb4b7242ed1eb55d8eb10c4788e5bb6
3
+ size 1940545