matic-korosec commited on
Commit
bf5c9d4
·
verified ·
1 Parent(s): 2a821fe

10043 pairs from git b3095bb

Browse files
Files changed (1) hide show
  1. README.md +82 -0
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - sl
4
+ license: other
5
+ license_name: mixed-see-card
6
+ pretty_name: CankarParallel
7
+ size_categories:
8
+ - 10K<n<100K
9
+ task_categories:
10
+ - text2text-generation
11
+ tags:
12
+ - slovene
13
+ - style-transfer
14
+ - ivan-cankar
15
+ - public-domain
16
+ ---
17
+
18
+ # CankarParallel - plain Slovene to Ivan Cankar's prose voice
19
+
20
+ 10,043 parallel passages for Slovene literary style transfer. Each row
21
+ pairs a passage of Ivan Cankar's prose with a plain modern Slovene rendering of
22
+ the same content.
23
+
24
+ Built for [CankarGPT](https://github.com/Mult1Hunter/cankar-gpt), a from-scratch
25
+ Slovene micro-LLM. The pairs train the direction `plain -> cankar`.
26
+
27
+ ## Fields
28
+
29
+ - `passage_id` - sha256 of the Cankar text, first 16 hex chars
30
+ - `cankar` - the original passage, **unmodified public-domain text**
31
+ - `plain` - a plain modern Slovene rendering, **generated**
32
+ - `title`, `url` - the source work
33
+ - `model`, `in_tokens`, `out_tokens` - generation provenance
34
+
35
+ ## How it was made
36
+
37
+ The Cankar side comes from Wikivir (Slovene Wikisource), segmented into 2-6
38
+ sentence paragraph-bounded passages. Only prose genres were used - Cankar's
39
+ plays are excluded, because a paragraph in drama is a speaker turn and
40
+ segmenting them as prose glues speaker labels into the text.
41
+
42
+ The plain side was generated with `claude-sonnet-5` via the Batch API, using one
43
+ fixed "plain Slovene register" prompt (sha256 `cec36eb07e77c6d9`)
44
+ shared with the inference-time drafting stage, so the styler never meets a
45
+ distribution at inference it was not trained on.
46
+
47
+ Model choice was measured, not assumed. A 50-passage pilot against a cheaper
48
+ model found broken Slovene grammar - wrong dual verb forms, gender
49
+ disagreement, a reflexive-only verb used transitively - which a char-ngram
50
+ style classifier scored identically to the stronger model's output. On a
51
+ low-resource language the cheap option corrupts the data invisibly.
52
+
53
+ 10,043 of 10,049 responses passed the
54
+ quality filters. Rejections are quarantined, never silently dropped.
55
+
56
+ ## Held-out works are excluded
57
+
58
+ Passages from the frozen held-out evaluation set (holdout sha256
59
+ `07ccca96a4fe339d`) were excluded **before** generation. Pairs
60
+ built from held-out works would contaminate any evaluation of a model trained
61
+ on them, one-way and undetectably.
62
+
63
+ ## Licensing - read before redistributing
64
+
65
+ Ivan Cankar died in 1918, so **his text is public domain**. The `plain` side is
66
+ machine-generated output.
67
+
68
+ The open question is whether the Wikivir *transcriptions* carry terms of their
69
+ own. That is unresolved, which is why this dataset is not yet released for
70
+ redistribution. Treat it as reference material until the card says otherwise.
71
+
72
+ ## Reproducing
73
+
74
+ ```
75
+ uv run cankar pairs segment
76
+ uv run cankar pairs destyle --limit 10000
77
+ uv run cankar pairs publish
78
+ ```
79
+
80
+ Provenance: corpus sha256 `d9b05bf04db96db6`, passages sha256
81
+ `e1cad3a2643782f9`, pairs sha256 `16b83a4dce791773`,
82
+ generated at 2026-07-28T11:29:15+00:00 from git `b3095bb`.