polish_coreference 1.0.0: inputs, schemas, manifest and README (348 items)
Browse files
polish_coreference/README.md
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
## Subtask 4: Polish Coreference Antecedent Selection
|
| 2 |
+
|
| 3 |
+
### Introduction and motivation
|
| 4 |
+
|
| 5 |
+
Understanding a connected text requires identifying expressions that refer to the same people, objects or other entities. Pronouns and noun phrases can refer back to earlier mentions in a passage. In Polish, rich inflection, flexible word order and long-distance dependencies make this a challenging contextual task.
|
| 6 |
+
|
| 7 |
+
This task evaluates coreference resolution as a four-choice decision: identifying which earlier mention refers to the same entity as the marked target.
|
| 8 |
+
|
| 9 |
+
### Subtask description
|
| 10 |
+
|
| 11 |
+
Each example provides a multi-sentence context with one target expression marked as `[T]...[/T]`. Four candidate expressions are marked as `[A]...[/A]`, `[B]...[/B]`, `[C]...[/C]` and `[D]...[/D]`. The `candidates` object associates each letter with the corresponding candidate text.
|
| 12 |
+
|
| 13 |
+
The model must select the candidate that refers to the same entity as the target mention. The target may be a pronoun or a noun phrase, and identifying its referent may require information from several sentences. The choice should be based on referential identity rather than similarity in meaning or grammatical form.
|
| 14 |
+
|
| 15 |
+
### Dataset
|
| 16 |
+
|
| 17 |
+
The **test-A** dataset comprises 348 examples derived from the Polish Coreference Corpus (PCC) in the CorefUD representation. The passages contain pronominal and nominal target mentions, vary in length and present four marked candidate mentions. Solving the task requires interpreting referential relations in Polish context.
|
| 18 |
+
|
| 19 |
+
### Input format
|
| 20 |
+
|
| 21 |
+
Each item contains `id`, `context` and a `candidates` object whose keys are `A`, `B`, `C` and `D`:
|
| 22 |
+
|
| 23 |
+
```json
|
| 24 |
+
{
|
| 25 |
+
"id": "726dfc46-7762-5be0-9477-38535b538f9b",
|
| 26 |
+
"context": "Kluczem do sukcesu jest zatem \" właściwa postawa umysłowa w dowolnej sytuacji \" (s. 39), nawet w czasach najgorszego kryzysu życiowego. [A]Człowiek z pozytywnym nastawieniem[/A] to człowiek uśmiechnięty, z odpowiednią postawą i tonem [C]głosu[/C], to człowiek pewny [D]swojego sukcesu[/D], a więc człowiek atrakcyjny dla innych i samego sukcesu. [B]Człowiek negatywny i nieatrakcyjny[/B] to [T]jego[/T] przeciwieństwo.",
|
| 27 |
+
"candidates": {
|
| 28 |
+
"A": "Człowiek z pozytywnym nastawieniem",
|
| 29 |
+
"B": "Człowiek negatywny i nieatrakcyjny",
|
| 30 |
+
"C": "głosu",
|
| 31 |
+
"D": "swojego sukcesu"
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
The markers identify the relevant mentions in the context, while the `candidates` object provides the text associated with each marked candidate.
|
| 37 |
+
|
| 38 |
+
### Model answer
|
| 39 |
+
|
| 40 |
+
Return a single uppercase letter identifying the antecedent. For the example above:
|
| 41 |
+
|
| 42 |
+
```text
|
| 43 |
+
A
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
### Evaluation
|
| 47 |
+
|
| 48 |
+
The primary metric is macro-F1 over labels `A`, `B`, `C` and `D`, with one selected candidate per item. The metric gives equal weight to performance on each label. A response that does not identify one of the four candidates cannot be scored as a valid selection.
|
| 49 |
+
|
| 50 |
+
### Submission format
|
| 51 |
+
|
| 52 |
+
Submit one JSON object per line, holding `id` (the input item's `id`) followed by the answer fields: `answer`. For the input example above, the line is:
|
| 53 |
+
|
| 54 |
+
```json
|
| 55 |
+
{"id": "726dfc46-7762-5be0-9477-38535b538f9b", "answer": "A"}
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
The schema of these lines is `output_schema.json`, which is published beside `inputs.jsonl`. On the endpoint route the platform builds these lines from the model's answers; for this bare-text task the answer goes under `"answer"`. A participant uploading a file must produce the same lines.
|
polish_coreference/inputs.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
polish_coreference/manifest.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"prompt_template": "Jesteś ekspertem od analizy tekstu w języku polskim.\n\nW tekście jedna wzmianka jest oznaczona jako docelowa: [T]...[/T]. Cztery wcześniejsze wzmianki są oznaczone jako kandydatki: [A]...[/A], [B]...[/B], [C]...[/C], [D]...[/D].\n\nTwoim zadaniem jest wskazać kandydatkę, która odnosi się do tego samego obiektu lub osoby co wzmianka docelowa.\n\nZasady:\n1. Wzmianka docelowa może być zaimkiem albo frazą rzeczownikową.\n2. Weź pod uwagę rodzaj, liczbę, przypadek oraz sens całego tekstu.\n3. Zwróć wyłącznie jedną literę: A, B, C lub D.\n4. Nie dodawaj wyjaśnień ani komentarzy.\n\nTekst: {{ context }}\n\nKandydatki:{% for label, text in candidates | dictsort %}\n{{ label }}. {{ text }}{% endfor %}",
|
| 3 |
+
"generation": {
|
| 4 |
+
"temperature": 0.0,
|
| 5 |
+
"max_tokens": 32,
|
| 6 |
+
"stop": [
|
| 7 |
+
"\n"
|
| 8 |
+
]
|
| 9 |
+
},
|
| 10 |
+
"output_shape": {
|
| 11 |
+
"max_words": 1,
|
| 12 |
+
"allow_empty": false,
|
| 13 |
+
"allow_newline": false
|
| 14 |
+
},
|
| 15 |
+
"dataset": "polish_coreference",
|
| 16 |
+
"scorer": "coreference",
|
| 17 |
+
"version_label": "1.0.0",
|
| 18 |
+
"published_at": "2026-10-22T11:20:14.678276Z",
|
| 19 |
+
"source_data_repo": "ipipan/llms4eu-evaluations-datasets",
|
| 20 |
+
"source_data_revision": "fa000128fb58ba2e7b974e349a5d3979b9a28422",
|
| 21 |
+
"code_revision": "c1df7eb62462b6da0555389786a68fabf0876e1c",
|
| 22 |
+
"gold_repo": "ipipan/llms4eu-benchmarks-gold",
|
| 23 |
+
"gold_revision": "99971617cde584ddb70895c3befac1739c40665c",
|
| 24 |
+
"inputs_file": "polish_coreference/inputs.jsonl",
|
| 25 |
+
"items": 348
|
| 26 |
+
}
|
polish_coreference/output_schema.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additionalProperties": false,
|
| 3 |
+
"properties": {
|
| 4 |
+
"id": {
|
| 5 |
+
"format": "uuid",
|
| 6 |
+
"type": "string"
|
| 7 |
+
},
|
| 8 |
+
"answer": {
|
| 9 |
+
"type": "string"
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
"required": [
|
| 13 |
+
"id",
|
| 14 |
+
"answer"
|
| 15 |
+
],
|
| 16 |
+
"type": "object",
|
| 17 |
+
"title": "Coreference submission line",
|
| 18 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema"
|
| 19 |
+
}
|
polish_coreference/schema.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "One row of the published polish_coreference/inputs.jsonl.",
|
| 3 |
+
"properties": {
|
| 4 |
+
"id": {
|
| 5 |
+
"format": "uuid",
|
| 6 |
+
"title": "Id",
|
| 7 |
+
"type": "string"
|
| 8 |
+
},
|
| 9 |
+
"context": {
|
| 10 |
+
"title": "Context",
|
| 11 |
+
"type": "string"
|
| 12 |
+
},
|
| 13 |
+
"candidates": {
|
| 14 |
+
"additionalProperties": {
|
| 15 |
+
"type": "string"
|
| 16 |
+
},
|
| 17 |
+
"title": "Candidates",
|
| 18 |
+
"type": "object"
|
| 19 |
+
}
|
| 20 |
+
},
|
| 21 |
+
"required": [
|
| 22 |
+
"id",
|
| 23 |
+
"context",
|
| 24 |
+
"candidates"
|
| 25 |
+
],
|
| 26 |
+
"title": "CoreferenceInputRow",
|
| 27 |
+
"type": "object",
|
| 28 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 29 |
+
"additionalProperties": false
|
| 30 |
+
}
|