Magglish commited on
Commit
b4cf06b
·
verified ·
1 Parent(s): f478805

polish_comma_placement 1.0.0: inputs, schema, manifest and README (1883 items)

Browse files
polish_comma_placement/README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Task 6: Polish Comma Placement
2
+
3
+ ## Introduction
4
+
5
+ Polish comma placement is closely related to syntactic structure. Commas mark, among other phenomena, subordinate clauses, relative clauses, parenthetical constructions, certain coordination structures, and boundaries between components of complex sentences.
6
+
7
+ Consequently, punctuation restoration provides a compact test of syntactic understanding. A system must identify the structure of the sentence and determine which potential boundaries require punctuation.
8
+
9
+ ## Task Definition
10
+
11
+ The system receives a Polish sentence containing numbered markers:
12
+
13
+ `[1]`, `[2]`, `[3]`, …
14
+
15
+ Each marker represents a position at which a comma may potentially occur.
16
+
17
+ The system must identify all marked positions in which a comma should be inserted. If no comma is required at any marked position, the system returns:
18
+
19
+ ```
20
+ BRAK
21
+ ```
22
+
23
+ ### Example
24
+
25
+ Input:
26
+
27
+ ```
28
+ – Zaręczam [1] pani [2] że [3] nie [4] wszystko [5] co [6] mogło [7] zostać [8] powiedziane [9] było [10] prawdą.
29
+ ```
30
+
31
+ Expected output:
32
+
33
+ ```
34
+ 2,5,9
35
+ ```
36
+
37
+ ## Dataset
38
+
39
+ Three related dataset scopes have been prepared:
40
+
41
+ - **core_targeted — 1,537 examples**: focuses on positions associated with comma errors in the source grammatical-error-correction data;
42
+ - **core_full — 1,443 examples**: removes the commas from corrected versions of sentences from the same comma-error subset and requires the system to recover the complete comma set;
43
+ - **expanded — 5,741 examples**: uses a broader collection of corrected sentences containing commas, independently of the type of error originally annotated.
44
+
45
+ Each scope is additionally available in two presentation variants. In `all_boundaries`, all eligible boundaries are marked, whereas `sampled_boundaries` retains all positive positions and only a subset of negative candidate positions.
46
+
47
+ The data are derived from **Ermlab Polish GEC**, distributed under the **Apache License 2.0**.
48
+
49
+ The final competition data will follow the same punctuation principles while using previously unseen sentences.
50
+
51
+ ## Submission Format
52
+
53
+ The system must return the numbers of all positions requiring commas in ascending order, separated by commas, for example:
54
+
55
+ ```
56
+ 2,5,9
57
+ ```
58
+
59
+ If none of the marked positions requires a comma, the expected answer is:
60
+
61
+ ```
62
+ BRAK
63
+ ```
64
+
65
+ ## Evaluation
66
+
67
+ The primary metric will be **exact set match**: an example receives full credit only if the complete set of comma positions is predicted correctly.
68
+
69
+ Position-level precision, recall, and F1 will additionally be reported to distinguish missing commas from spurious commas.
polish_comma_placement/inputs.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
polish_comma_placement/manifest.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "prompt_template": "Jesteś ekspertem od interpunkcji języka polskiego.\n\nW zdaniu miejsca, w których może stać przecinek, są oznaczone numerami: [1], [2], [3], …\n\nTwoim zadaniem jest wskazać wszystkie oznaczone miejsca, w których zgodnie z zasadami interpunkcji polskiej powinien stać przecinek.\n\nZasady:\n1. Zwróć numery wszystkich takich miejsc w kolejności rosnącej, oddzielone przecinkami bez spacji, np.: 2,5,9\n2. Jeżeli w żadnym oznaczonym miejscu nie powinno być przecinka, zwróć wyłącznie: BRAK\n3. Nie dodawaj wyjaśnień, komentarzy ani całego zdania.\n\nZdanie: {{ sentence_with_positions }}",
3
+ "generation": {
4
+ "temperature": 0.0,
5
+ "max_tokens": 64,
6
+ "stop": [
7
+ "\n"
8
+ ]
9
+ },
10
+ "output_shape": {
11
+ "max_words": 1,
12
+ "allow_empty": false,
13
+ "allow_newline": false
14
+ },
15
+ "task": "polish_comma_placement",
16
+ "version_label": "1.0.0",
17
+ "published_at": "2026-10-09T07:36:54.821293Z",
18
+ "source_data_repo": "ipipan/llms4eu-evaluations-datasets",
19
+ "source_data_revision": "8d1098b5849b304f631198a7b01a44d21a0f659c",
20
+ "code_revision": "7314afd7db6f88f3e66912753394ea0e24f68032-dirty",
21
+ "gold_repo": "ipipan/llms4eu-benchmarks-gold-test",
22
+ "gold_revision": "c5cee6a5fb9b07d6982b50f85e354a71fbdbd1fb",
23
+ "inputs_file": "polish_comma_placement/inputs.jsonl",
24
+ "items": 1883
25
+ }
polish_comma_placement/schema.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "description": "One row of the published polish_comma_placement/inputs.jsonl.",
3
+ "properties": {
4
+ "id": {
5
+ "format": "uuid",
6
+ "title": "Id",
7
+ "type": "string"
8
+ },
9
+ "sentence_with_positions": {
10
+ "title": "Sentence With Positions",
11
+ "type": "string"
12
+ }
13
+ },
14
+ "required": [
15
+ "id",
16
+ "sentence_with_positions"
17
+ ],
18
+ "title": "CommaInputRow",
19
+ "type": "object",
20
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
21
+ "additionalProperties": false
22
+ }