.gitattributes CHANGED
@@ -58,7 +58,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
- v1.0.jsonl filter=lfs diff=lfs merge=lfs -text
62
- v1.0.parquet filter=lfs diff=lfs merge=lfs -text
63
- v1.1.jsonl filter=lfs diff=lfs merge=lfs -text
64
- v1.1.parquet filter=lfs diff=lfs merge=lfs -text
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
README.md CHANGED
@@ -1,84 +1,3 @@
1
  ---
2
  license: mit
3
- task_categories:
4
- - text-classification
5
- language:
6
- - fr
7
- - de
8
- - it
9
- tags:
10
- - entailment
11
- - politics
12
- - switzerland
13
- - voting
14
- - multilingual
15
- pretty_name: MNLI over Swiss Voting Booklets
16
- size_categories:
17
- - 1K<n<10K
18
  ---
19
- # MNLI over Swiss Voting Booklets: Benchmark Dataset
20
-
21
- ## Dataset Contents
22
-
23
- ### Fields
24
-
25
- | **Field Name** | **Data Type** | **Possible Content** | **Description** |
26
- |-------------------------|---------------|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
27
- | `claim` | `string` | Raw Text | Claim about the contents of a voting booklet. May be entailed, contradictory or unrelated to its source material. |
28
- | `claim_language` | `string` | [`de`, `fr`, `it`] | The language the claim is written in. May be German (`de`), French (`fr`) or Italian (`it`). Does not need to match the `reference_language`. |
29
- | `reference_string` | `string` | Raw Text | A text snippet from the voting booklet that was used to generate the `claim`. |
30
- | `entailment_label` | `int` | [`0`, `1`, `2`] | The entailment class of the `claim` relative to the `reference_string` and voting booklet as a whole. May be `Entailment` (`0`), `Unrelated / Neutral` (`1`) or `Contradiction` (`2`). |
31
- | `baseline_score` | `float` | [`0.0`,...,`1.0`] | The certainty about the label correctness of the classifier used for validation. |
32
- | `reference_language` | `string` | [`de`, `fr`, `it`] | The language the `reference_string` and corresponding voting booklet is written in. May be German (`de`), French (`fr`) or Italian (`it`). Does not need to match the `claim_language`. |
33
- | `booklet_publish_date` | `string` | `YYYY-MM-DD` | The date at which the voting booklet was published. |
34
- | `booklet_download_date` | `string` | `YYYY-MM-DD` | The date at which the booklet was downloaded for the creation of the dataset. |
35
- | `booklet_url` | `string` | `URL` | Download link for the full booklet as a PDF. |
36
- | `vote` | `string` | Raw Text | Name of the vote the `claim` is about. Can be used to verify ambiguous claims about a booklet containing multiple votes, e.g. `Der Bundesrat empfiehlt, die Initiative abzulehnen.` (`The federal council recommends to reject the initiative.`) when the booklet contains multiple initiatives. |
37
-
38
- ### Sampling Ratios
39
-
40
- To create the dataset, we sampled a larger corpus of `claim` / `reference_string` pairs for rows fulfilling specific criteria to ensure that the resulting dataset is balanced.
41
- We specifically designed the dataset to target...
42
-
43
- - ... a uniform distribution over the `claim_language` field.
44
- - ... a uniform distribution over the `entailment_label` field.
45
- - ... an approximately `0.5 / 0.35 / 0.15` split of `easy / medium / hard` claims to classify, based on the `baseline_score` provided by our validation model.
46
-
47
- ## How to Use the Dataset (Quick Start in Python)
48
-
49
- Install the `datasets` package with a package manager of your choice. E.g. `uv` on Linux:
50
-
51
- ```console
52
- > mkdir my-project
53
- > cd my-project/
54
- > uv init
55
- > uv add datasets
56
- ```
57
-
58
- You can then download and use this dataset with the `load_dataset` function as such:
59
-
60
- ```python
61
- from datasets import load_dataset
62
-
63
- dataset = load_dataset("OSTswiss/MNLIoverSwissVotingBooklets")
64
- print(dataset)
65
- ```
66
-
67
- For more information or alternative approaches, consult the [Downloading datasets](https://huggingface.co/docs/hub/en/datasets-downloading) page by Hugging Face.
68
-
69
- ## Additional Information
70
-
71
- ### Hack Apertus
72
-
73
- This dataset was created as part of the `Hack Apertus` hackathon series. If you want to participate or contribute, you can find more information on [https://hackapertus.ch/](https://hackapertus.ch/).
74
-
75
- ### Credit
76
-
77
- This Dataset was created by the `AI Applications and Deployment Lab`, part of the `Institute for Software (IFS)` at `Eastern Switzerland University of Applied Sciences OST` ([Website](https://www.ost.ch/en/research-and-consulting-services/computer-science/ifs-institute-for-software/ai-applications-and-deployment-lab)).
78
-
79
- Special thanks go out to the Development Team:
80
-
81
- - Prof. Dr. Mitra Purandare, `mitra.purandare@ost.ch`, [ Project Lead, Hackathon Task Design ]
82
- - Abinas Kuganathan, `abinas.kuganathan@ost.ch`, [ Hackathon Task Design, Programming ]
83
- - Dominik Castelberg, `dominik.castelberg@ost.ch`, [ Dataset Design, Programming ]
84
- - Vladimir Zivanovic, `vladimir.zivanovic@ost.ch`, [ Programming ]
 
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
demo_2026_09_28_1130.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
demo_2026_09_28_1130.parquet ADDED
Binary file (25.8 kB). View file
 
v1.1.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:87ee4afd9c0ee8861106c50f05884481402ca668aecf927df68fc52d915b02fd
3
- size 12742710
 
 
 
 
v1.1.parquet DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:444fe113115a1fa4134664f67ce572cb04b170b443bc741ae546a34c2f76b7c7
3
- size 2736723