Datasets:
Add MURI Wikipedia (#7)
Browse files- Add MURI Wikipedia (acbb61dcde31d18d4b5fc5bf4d2277b942958737)
- Remove extra standalone files (0b9dbe5483e810d100c69a7828f002e3c1613197)
- Shorten dataset cards and changelog (06bf22c13c687fc4a98d3e936a393582b6e2c8f4)
- CHANGELOG.md +30 -26
- README.md +412 -399
- data/muri-it-wikipedia/create.py +163 -0
- data/muri-it-wikipedia/datasheet.md +76 -0
- data/muri-it-wikipedia/descriptive_stats.json +14 -0
- data/muri-it-wikipedia/images/dist_token_count.png +3 -0
- data/muri-it-wikipedia/images/dist_turns.png +3 -0
- data/muri-it-wikipedia/muri-it-wikipedia.parquet +3 -0
- descriptive_stats.json +13 -13
- images/creation_dates.png +2 -2
- images/dataset_size_plot.html +0 -0
- images/dataset_size_plot.svg +1 -1
- images/dataset_turns_plot.html +0 -0
- images/dataset_turns_plot.svg +1 -1
- images/language_distribution.html +0 -0
- images/language_distribution.svg +1 -1
- images/task_distribution.png +2 -2
- images/tokens_over_time.html +6 -6
- images/tokens_over_time.svg +1 -1
- pyproject.toml +29 -29
- uv.lock +0 -0
CHANGELOG.md
CHANGED
|
@@ -1,26 +1,30 @@
|
|
| 1 |
-
# Changelog
|
| 2 |
-
|
| 3 |
-
All notable changes to Faroese dyna-instruct will be documented in this file.
|
| 4 |
-
|
| 5 |
-
## [0.1.
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- Add Faroese FLAN:
|
| 12 |
-
- Add Faroese FLAN:
|
| 13 |
-
- Add Faroese FLAN:
|
| 14 |
-
- Add Faroese FLAN:
|
| 15 |
-
- Add Faroese FLAN:
|
| 16 |
-
- Add Faroese FLAN:
|
| 17 |
-
- Add Faroese FLAN:
|
| 18 |
-
- Add Faroese FLAN:
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
- Add
|
| 23 |
-
|
| 24 |
-
## [0.1.
|
| 25 |
-
|
| 26 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Changelog
|
| 2 |
+
|
| 3 |
+
All notable changes to Faroese dyna-instruct will be documented in this file.
|
| 4 |
+
|
| 5 |
+
## [0.1.3] - 2026-11-09
|
| 6 |
+
|
| 7 |
+
- Added MURI Wikipedia
|
| 8 |
+
|
| 9 |
+
## [0.1.2] - 2026-10-12
|
| 10 |
+
|
| 11 |
+
- Add Faroese FLAN: FMD
|
| 12 |
+
- Add Faroese FLAN: Wikisource
|
| 13 |
+
- Add Faroese FLAN: Wiktionary
|
| 14 |
+
- Add Faroese FLAN: FPSC
|
| 15 |
+
- Add Faroese FLAN: Løgting minute books
|
| 16 |
+
- Add Faroese FLAN: ISLEX
|
| 17 |
+
- Add Faroese FLAN: Official Gazette
|
| 18 |
+
- Add Faroese FLAN: Legislation
|
| 19 |
+
- Add Faroese FLAN: Parliamentary questions
|
| 20 |
+
- Add Faroese FLAN: Ombudsman
|
| 21 |
+
- Add Faroese FLAN: Ravnlex
|
| 22 |
+
- Add Faroese FLAN: Sprotin
|
| 23 |
+
|
| 24 |
+
## [0.1.1] - 2026-10-05
|
| 25 |
+
|
| 26 |
+
- Add FO-Instruct
|
| 27 |
+
|
| 28 |
+
## [0.1.0] - 2026-09-01
|
| 29 |
+
|
| 30 |
+
- Added Dynaword Reverse-Instruct
|
README.md
CHANGED
|
@@ -1,399 +1,412 @@
|
|
| 1 |
-
---
|
| 2 |
-
license:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
---
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
- [Dataset
|
| 98 |
-
- [
|
| 99 |
-
- [
|
| 100 |
-
- [
|
| 101 |
-
|
| 102 |
-
- [
|
| 103 |
-
|
| 104 |
-
- [Data
|
| 105 |
-
- [
|
| 106 |
-
- [
|
| 107 |
-
- [
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
-
|
| 114 |
-
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
###
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
```
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
```
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
```py
|
| 151 |
-
ds = load_dataset(name,
|
| 152 |
-
```
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
###
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
[faroese-flan-fo-wikisource]
|
| 172 |
-
[
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
[
|
| 176 |
-
[
|
| 177 |
-
[faroese-flan-
|
| 178 |
-
[faroese-flan-
|
| 179 |
-
[faroese-flan-
|
| 180 |
-
[faroese-flan-
|
| 181 |
-
[faroese-flan-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
-
-
|
| 187 |
-
-
|
| 188 |
-
-
|
| 189 |
-
-
|
| 190 |
-
-
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
- `
|
| 195 |
-
|
| 196 |
-
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
|
| 200 |
-
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
[fo-instruct]
|
| 210 |
-
[faroese-flan-
|
| 211 |
-
[faroese-flan-fo-wikisource]
|
| 212 |
-
[faroese-flan-
|
| 213 |
-
[
|
| 214 |
-
[
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
[
|
| 218 |
-
[
|
| 219 |
-
[faroese-flan-
|
| 220 |
-
[faroese-flan-
|
| 221 |
-
[faroese-flan-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
"
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
}
|
| 251 |
-
|
| 252 |
-
|
| 253 |
-
|
| 254 |
-
|
| 255 |
-
|
| 256 |
-
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
|
| 266 |
-
|
| 267 |
-
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
###
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
| 293 |
-
|
| 294 |
-
|
| 295 |
-
|
|
| 296 |
-
|
|
| 297 |
-
| [faroese-flan-
|
| 298 |
-
| [faroese-flan-
|
| 299 |
-
| [faroese-flan-
|
| 300 |
-
| [
|
| 301 |
-
|
|
| 302 |
-
|
| 303 |
-
[
|
| 304 |
-
[
|
| 305 |
-
[
|
| 306 |
-
[faroese-flan-
|
| 307 |
-
[faroese-flan-
|
| 308 |
-
[faroese-flan-
|
| 309 |
-
[faroese-flan-
|
| 310 |
-
[faroese-flan-
|
| 311 |
-
[
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
[
|
| 315 |
-
[
|
| 316 |
-
[faroese-flan-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
[
|
| 320 |
-
[
|
| 321 |
-
[
|
| 322 |
-
[
|
| 323 |
-
[
|
| 324 |
-
[
|
| 325 |
-
[
|
| 326 |
-
[
|
| 327 |
-
[
|
| 328 |
-
[
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
| 334 |
-
|
| 335 |
-
|
| 336 |
-
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
| 344 |
-
|
| 345 |
-
<
|
| 346 |
-
|
| 347 |
-
|
| 348 |
-
|
| 349 |
-
|
| 350 |
-
|
| 351 |
-
|
| 352 |
-
|
| 353 |
-
|
| 354 |
-
|
| 355 |
-
|
| 356 |
-
|
| 357 |
-
<
|
| 358 |
-
|
| 359 |
-
|
| 360 |
-
|
| 361 |
-
|
| 362 |
-
|
| 363 |
-
|
| 364 |
-
|
| 365 |
-
|
| 366 |
-
|
| 367 |
-
<
|
| 368 |
-
|
| 369 |
-
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
| 393 |
-
|
| 394 |
-
|
| 395 |
-
|
| 396 |
-
|
| 397 |
-
|
| 398 |
-
|
| 399 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: mixed-open-licenses
|
| 4 |
+
license_link: https://huggingface.co/datasets/danish-foundation-models/faroese-dyna-instruct/blob/main/README.md#license-information
|
| 5 |
+
language:
|
| 6 |
+
- fao
|
| 7 |
+
tags:
|
| 8 |
+
- instruction-tuning
|
| 9 |
+
- post-training
|
| 10 |
+
- continual-development
|
| 11 |
+
- community-collaboration
|
| 12 |
+
pretty_name: Faroese dyna-instruct
|
| 13 |
+
configs:
|
| 14 |
+
- config_name: default
|
| 15 |
+
data_files:
|
| 16 |
+
- split: train
|
| 17 |
+
path: data/*/*.parquet
|
| 18 |
+
- config_name: dynaword-reverse-instruct
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/dynaword-reverse-instruct/*.parquet
|
| 22 |
+
- config_name: fo-instruct
|
| 23 |
+
data_files:
|
| 24 |
+
- split: train
|
| 25 |
+
path: data/fo-instruct/*.parquet
|
| 26 |
+
- config_name: faroese-flan-fmd
|
| 27 |
+
data_files:
|
| 28 |
+
- split: train
|
| 29 |
+
path: data/faroese-flan-fmd/*.parquet
|
| 30 |
+
- config_name: faroese-flan-fo-wikisource
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: data/faroese-flan-fo-wikisource/*.parquet
|
| 34 |
+
- config_name: faroese-flan-fo-wiktionary
|
| 35 |
+
data_files:
|
| 36 |
+
- split: train
|
| 37 |
+
path: data/faroese-flan-fo-wiktionary/*.parquet
|
| 38 |
+
- config_name: faroese-flan-fpsc
|
| 39 |
+
data_files:
|
| 40 |
+
- split: train
|
| 41 |
+
path: data/faroese-flan-fpsc/*.parquet
|
| 42 |
+
- config_name: faroese-flan-gerdabokur
|
| 43 |
+
data_files:
|
| 44 |
+
- split: train
|
| 45 |
+
path: data/faroese-flan-gerdabokur/*.parquet
|
| 46 |
+
- config_name: faroese-flan-islex-fo
|
| 47 |
+
data_files:
|
| 48 |
+
- split: train
|
| 49 |
+
path: data/faroese-flan-islex-fo/*.parquet
|
| 50 |
+
- config_name: faroese-flan-kunngerdaportalur
|
| 51 |
+
data_files:
|
| 52 |
+
- split: train
|
| 53 |
+
path: data/faroese-flan-kunngerdaportalur/*.parquet
|
| 54 |
+
- config_name: faroese-flan-logir
|
| 55 |
+
data_files:
|
| 56 |
+
- split: train
|
| 57 |
+
path: data/faroese-flan-logir/*.parquet
|
| 58 |
+
- config_name: faroese-flan-logting-spurningar
|
| 59 |
+
data_files:
|
| 60 |
+
- split: train
|
| 61 |
+
path: data/faroese-flan-logting-spurningar/*.parquet
|
| 62 |
+
- config_name: faroese-flan-lum
|
| 63 |
+
data_files:
|
| 64 |
+
- split: train
|
| 65 |
+
path: data/faroese-flan-lum/*.parquet
|
| 66 |
+
- config_name: faroese-flan-ravnlex
|
| 67 |
+
data_files:
|
| 68 |
+
- split: train
|
| 69 |
+
path: data/faroese-flan-ravnlex/*.parquet
|
| 70 |
+
- config_name: faroese-flan-sprotin
|
| 71 |
+
data_files:
|
| 72 |
+
- split: train
|
| 73 |
+
path: data/faroese-flan-sprotin/*.parquet
|
| 74 |
+
- config_name: muri-it-wikipedia
|
| 75 |
+
data_files:
|
| 76 |
+
- split: train
|
| 77 |
+
path: data/muri-it-wikipedia/*.parquet
|
| 78 |
+
task_categories:
|
| 79 |
+
- text-generation
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
# 🧨 Faroese dyna-instruct
|
| 83 |
+
|
| 84 |
+
<!-- START README TABLE -->
|
| 85 |
+
| | |
|
| 86 |
+
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 87 |
+
| **Version** | 0.1.3 ([Changelog](/CHANGELOG.md)) |
|
| 88 |
+
| **Language** | Faroese (fao) |
|
| 89 |
+
| **License** | Openly Licensed, see individual datasets |
|
| 90 |
+
| **Models** | For models trained on this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
|
| 91 |
+
| **Contact** | If you have questions about this project please create an issue [here](https://huggingface.co/datasets/danish-foundation-models/faroese-dyna-instruct/discussions) |
|
| 92 |
+
<!-- END README TABLE -->
|
| 93 |
+
|
| 94 |
+
## Table of Contents
|
| 95 |
+
|
| 96 |
+
- [🧨 Faroese dyna-instruct](#-faroese-dyna-instruct)
|
| 97 |
+
- [Dataset Description](#dataset-description)
|
| 98 |
+
- [Dataset Summary](#dataset-summary)
|
| 99 |
+
- [Loading the dataset](#loading-the-dataset)
|
| 100 |
+
- [Languages](#languages)
|
| 101 |
+
- [Task Types](#task-types)
|
| 102 |
+
- [Licensing](#licensing)
|
| 103 |
+
- [Dataset Structure](#dataset-structure)
|
| 104 |
+
- [Data Instances](#data-instances)
|
| 105 |
+
- [Data Fields](#data-fields)
|
| 106 |
+
- [Data Splits](#data-splits)
|
| 107 |
+
- [Dataset Creation](#dataset-creation)
|
| 108 |
+
- [Curation Rationale](#curation-rationale)
|
| 109 |
+
- [Source Data](#source-data)
|
| 110 |
+
- [Data Collection and Processing](#data-collection-and-processing)
|
| 111 |
+
- [Dataset Statistics](#dataset-statistics)
|
| 112 |
+
- [Contributing to the dataset](#contributing-to-the-dataset)
|
| 113 |
+
- [Citation Information](#citation-information)
|
| 114 |
+
- [License Information](#license-information)
|
| 115 |
+
|
| 116 |
+
## Dataset Description
|
| 117 |
+
|
| 118 |
+
<!-- START-DESC-STATS -->
|
| 119 |
+
- **Number of samples**: 1.02M
|
| 120 |
+
- **Number of tokens (Llama 3)**: 72.64M
|
| 121 |
+
- **Average conversation length in tokens (min, max)**: 71.56 (9, 46.56K)
|
| 122 |
+
- **Average number of turns (min, max)**: 2.0 (2, 2)
|
| 123 |
+
<!-- END-DESC-STATS -->
|
| 124 |
+
|
| 125 |
+
### Dataset Summary
|
| 126 |
+
|
| 127 |
+
Faroese dyna-instruct is a collection of instruction-tuning datasets from various sources. All datasets are openly licensed and deemed permissible for training large language models. The dataset is used to develop the DFM models.
|
| 128 |
+
|
| 129 |
+
Faroese dyna-instruct is continually developed using the [Dynaword](https://arxiv.org/abs/2508.02271) approach, meaning it will actively be updated as new datasets become available. If you would like to contribute a dataset see the [contribute section](#contributing-to-the-dataset).
|
| 130 |
+
|
| 131 |
+
### Loading the dataset
|
| 132 |
+
|
| 133 |
+
```py
|
| 134 |
+
from datasets import load_dataset
|
| 135 |
+
|
| 136 |
+
name = "danish-foundation-models/faroese-dyna-instruct"
|
| 137 |
+
ds = load_dataset(name, split="train")
|
| 138 |
+
sample = ds[0]
|
| 139 |
+
```
|
| 140 |
+
|
| 141 |
+
Or stream it:
|
| 142 |
+
|
| 143 |
+
```py
|
| 144 |
+
ds = load_dataset(name, split="train", streaming=True)
|
| 145 |
+
sample = next(iter(ds))
|
| 146 |
+
```
|
| 147 |
+
|
| 148 |
+
Load a single subset:
|
| 149 |
+
|
| 150 |
+
```py
|
| 151 |
+
ds = load_dataset(name, "dynaword-reverse-instruct", split="train")
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
Pin a revision for reproducibility:
|
| 155 |
+
|
| 156 |
+
```py
|
| 157 |
+
ds = load_dataset(name, revision="{desired revision}")
|
| 158 |
+
```
|
| 159 |
+
|
| 160 |
+
### Languages
|
| 161 |
+
|
| 162 |
+
This dataset includes multiple languages. The following figures give an overview of the languages in the dataset.
|
| 163 |
+
|
| 164 |
+
<img src="./images/task_distribution.png" width="800"/>
|
| 165 |
+
|
| 166 |
+
### Task Types
|
| 167 |
+
|
| 168 |
+
<!-- START-TASK TABLE -->
|
| 169 |
+
| Task | Sources | N. Tokens |
|
| 170 |
+
|:----------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------|
|
| 171 |
+
| general | [dynaword-reverse-instruct], [fo-instruct], [faroese-flan-fmd], [faroese-flan-fo-wikisource], [faroese-flan-fo-wiktionary], [faroese-flan-fpsc], [faroese-flan-gerdabokur], [faroese-flan-islex-fo], [faroese-flan-kunngerdaportalur], [faroese-flan-logir], [faroese-flan-logting-spurningar], [faroese-flan-lum], [faroese-flan-ravnlex], [faroese-flan-sprotin] | 70.09M |
|
| 172 |
+
| knowledge | [muri-it-wikipedia] | 2.55M |
|
| 173 |
+
| **Total** | | 72.64M |
|
| 174 |
+
|
| 175 |
+
[dynaword-reverse-instruct]: data/dynaword-reverse-instruct/datasheet.md
|
| 176 |
+
[fo-instruct]: data/fo-instruct/datasheet.md
|
| 177 |
+
[faroese-flan-fmd]: data/faroese-flan-fmd/datasheet.md
|
| 178 |
+
[faroese-flan-fo-wikisource]: data/faroese-flan-fo-wikisource/datasheet.md
|
| 179 |
+
[faroese-flan-fo-wiktionary]: data/faroese-flan-fo-wiktionary/datasheet.md
|
| 180 |
+
[faroese-flan-fpsc]: data/faroese-flan-fpsc/datasheet.md
|
| 181 |
+
[faroese-flan-gerdabokur]: data/faroese-flan-gerdabokur/datasheet.md
|
| 182 |
+
[faroese-flan-islex-fo]: data/faroese-flan-islex-fo/datasheet.md
|
| 183 |
+
[faroese-flan-kunngerdaportalur]: data/faroese-flan-kunngerdaportalur/datasheet.md
|
| 184 |
+
[faroese-flan-logir]: data/faroese-flan-logir/datasheet.md
|
| 185 |
+
[faroese-flan-logting-spurningar]: data/faroese-flan-logting-spurningar/datasheet.md
|
| 186 |
+
[faroese-flan-lum]: data/faroese-flan-lum/datasheet.md
|
| 187 |
+
[faroese-flan-ravnlex]: data/faroese-flan-ravnlex/datasheet.md
|
| 188 |
+
[faroese-flan-sprotin]: data/faroese-flan-sprotin/datasheet.md
|
| 189 |
+
[muri-it-wikipedia]: data/muri-it-wikipedia/datasheet.md
|
| 190 |
+
<!-- END-TASK TABLE -->
|
| 191 |
+
|
| 192 |
+
The following task types are used:
|
| 193 |
+
|
| 194 |
+
- `general` — diverse SFT mixtures covering many capabilities
|
| 195 |
+
- `translation` — Faroese↔English translation
|
| 196 |
+
- `reasoning` — logical and mathematical reasoning with chain-of-thought
|
| 197 |
+
- `refusal` — safety refusals for harmful requests
|
| 198 |
+
- `code` — code generation and agentic code tasks
|
| 199 |
+
- `tool_use` — function calling and tool selection
|
| 200 |
+
- `instruction_following` — instruction-following benchmarks
|
| 201 |
+
- `knowledge` — knowledge-grounded generation
|
| 202 |
+
- `qa` — question answering
|
| 203 |
+
|
| 204 |
+
### Licensing
|
| 205 |
+
|
| 206 |
+
<!-- START-LICENSE TABLE -->
|
| 207 |
+
| License | Sources | N. Tokens |
|
| 208 |
+
|:-----------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|:------------|
|
| 209 |
+
| CC-BY 4.0 | [fo-instruct], [faroese-flan-fpsc], [faroese-flan-ravnlex] | 27.81M |
|
| 210 |
+
| Public domain (Faroe Islands, § 9) | [faroese-flan-gerdabokur], [faroese-flan-kunngerdaportalur], [faroese-flan-logir], [faroese-flan-logting-spurningar], [faroese-flan-lum] | 27.40M |
|
| 211 |
+
| CC-BY-SA 4.0 | [faroese-flan-fmd], [faroese-flan-fo-wikisource], [faroese-flan-fo-wiktionary], [faroese-flan-islex-fo] | 7.20M |
|
| 212 |
+
| MIT + CC BY 2.0 FR | [faroese-flan-sprotin] | 5.04M |
|
| 213 |
+
| Unknown | [dynaword-reverse-instruct] | 2.64M |
|
| 214 |
+
| Apache 2.0 + CC BY-SA 3.0 | [muri-it-wikipedia] | 2.55M |
|
| 215 |
+
| **Total** | | 72.64M |
|
| 216 |
+
|
| 217 |
+
[dynaword-reverse-instruct]: data/dynaword-reverse-instruct/datasheet.md
|
| 218 |
+
[fo-instruct]: data/fo-instruct/datasheet.md
|
| 219 |
+
[faroese-flan-fmd]: data/faroese-flan-fmd/datasheet.md
|
| 220 |
+
[faroese-flan-fo-wikisource]: data/faroese-flan-fo-wikisource/datasheet.md
|
| 221 |
+
[faroese-flan-fo-wiktionary]: data/faroese-flan-fo-wiktionary/datasheet.md
|
| 222 |
+
[faroese-flan-fpsc]: data/faroese-flan-fpsc/datasheet.md
|
| 223 |
+
[faroese-flan-gerdabokur]: data/faroese-flan-gerdabokur/datasheet.md
|
| 224 |
+
[faroese-flan-islex-fo]: data/faroese-flan-islex-fo/datasheet.md
|
| 225 |
+
[faroese-flan-kunngerdaportalur]: data/faroese-flan-kunngerdaportalur/datasheet.md
|
| 226 |
+
[faroese-flan-logir]: data/faroese-flan-logir/datasheet.md
|
| 227 |
+
[faroese-flan-logting-spurningar]: data/faroese-flan-logting-spurningar/datasheet.md
|
| 228 |
+
[faroese-flan-lum]: data/faroese-flan-lum/datasheet.md
|
| 229 |
+
[faroese-flan-ravnlex]: data/faroese-flan-ravnlex/datasheet.md
|
| 230 |
+
[faroese-flan-sprotin]: data/faroese-flan-sprotin/datasheet.md
|
| 231 |
+
[muri-it-wikipedia]: data/muri-it-wikipedia/datasheet.md
|
| 232 |
+
<!-- END-LICENSE TABLE -->
|
| 233 |
+
|
| 234 |
+
## Dataset Structure
|
| 235 |
+
|
| 236 |
+
### Data Instances
|
| 237 |
+
|
| 238 |
+
<!-- START-SAMPLE -->
|
| 239 |
+
```py
|
| 240 |
+
{
|
| 241 |
+
"id": "fo-instruct_00000",
|
| 242 |
+
"messages": [
|
| 243 |
+
{
|
| 244 |
+
"role": "user",
|
| 245 |
+
"content": "Hvat meina føroyingar við, tá teir brúka orðið 'loysing' í heila tikið?"
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"role": "assistant",
|
| 249 |
+
"content": "Orðið 'loysing' í føroyskum sipar oftast til sambandið millum Føroyar og Danmark og hugsjónina um at Føroyar eiga at ley[...]"
|
| 250 |
+
}
|
| 251 |
+
],
|
| 252 |
+
"source": "fo-instruct",
|
| 253 |
+
"added": "2026-10-05",
|
| 254 |
+
"created": "2026-01-01, 2026-12-31",
|
| 255 |
+
"language": [
|
| 256 |
+
"fao"
|
| 257 |
+
],
|
| 258 |
+
"task": "general",
|
| 259 |
+
"token_count": 99
|
| 260 |
+
}
|
| 261 |
+
```
|
| 262 |
+
|
| 263 |
+
### Data Fields
|
| 264 |
+
|
| 265 |
+
An entry in the dataset consists of the following fields:
|
| 266 |
+
|
| 267 |
+
- `id` (`str`): A unique identifier for each sample.
|
| 268 |
+
- `messages` (`list[dict]`): The conversation turns — see the [message format](../../README.md#data-fields) section in the main README.
|
| 269 |
+
- `source` (`str`): The source dataset (see [Source Data](#source-data)).
|
| 270 |
+
- `added` (`str`): The date when the sample was added to this collection.
|
| 271 |
+
- `created` (`str`): The approximate date range when the source data was created, as `"YYYY-MM-DD, YYYY-MM-DD"` (start, end). Year-level granularity is used when the exact date is unknown.
|
| 272 |
+
- `language` (`list[str]`): The language(s) of the sample as ISO 639-3 codes (e.g. `["fao"]`, `["eng"]`, `["fao", "eng"]`).
|
| 273 |
+
- `task` (`str`): The task type of the sample.
|
| 274 |
+
- `token_count` (`int`): The total number of tokens across all messages, computed using the Llama 3 tokenizer.
|
| 275 |
+
<!-- END-SAMPLE -->
|
| 276 |
+
|
| 277 |
+
### Data Splits
|
| 278 |
+
|
| 279 |
+
The entire corpus is provided in the `train` split.
|
| 280 |
+
|
| 281 |
+
## Dataset Creation
|
| 282 |
+
|
| 283 |
+
### Curation Rationale
|
| 284 |
+
|
| 285 |
+
These datasets were collected and curated to make openly licensed instruction-tuning data available for post-training large language models. Faroese dyna-instruct forms the post-training complement to [Faroese Dynaword](https://huggingface.co/datasets/danish-foundation-models/faroese-dynaword), a continuously developed collection of Faroese pre-training text. Both are part of the [Danish Foundation Models](https://www.foundationmodels.dk) initiative. While collected with model training in mind, the data may also be useful for evaluation and research on Faroese language instruction-following.
|
| 286 |
+
|
| 287 |
+
### Source Data
|
| 288 |
+
|
| 289 |
+
Below is an overview of the sources with their individual licenses.
|
| 290 |
+
|
| 291 |
+
<details>
|
| 292 |
+
<summary><b>Overview Table (click to unfold)</b></summary>
|
| 293 |
+
|
| 294 |
+
<!-- START-MAIN TABLE -->
|
| 295 |
+
| Source | Description | Task | N. Tokens | License |
|
| 296 |
+
|:----------------------------------|:----------------------------------------------------------------------------------------------------------------------------------|:----------|:------------|:-------------------------------------|
|
| 297 |
+
| [faroese-flan-ravnlex] | Instruction–response pairs from Ravnlex, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 20.78M | [CC-BY 4.0] |
|
| 298 |
+
| [faroese-flan-logir] | Instruction–response pairs from Legislation, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 19.10M | [Public domain (Faroe Islands, § 9)] |
|
| 299 |
+
| [faroese-flan-fpsc] | Instruction–response pairs from FPSC, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 7.00M | [CC-BY 4.0] |
|
| 300 |
+
| [faroese-flan-kunngerdaportalur] | Instruction–response pairs from Official Gazette, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 5.22M | [Public domain (Faroe Islands, § 9)] |
|
| 301 |
+
| [faroese-flan-sprotin] | Instruction–response pairs from Sprotin, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 5.04M | [MIT + CC BY 2.0 FR] |
|
| 302 |
+
| [faroese-flan-islex-fo] | Instruction–response pairs from ISLEX, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 3.69M | [CC-BY-SA 4.0] |
|
| 303 |
+
| [faroese-flan-fmd] | Instruction–response pairs from FMD, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 3.23M | [CC-BY-SA 4.0] |
|
| 304 |
+
| [dynaword-reverse-instruct] | Faroese instruction-following pairs derived from Faroese Dynaword | general | 2.64M | [Unknown] |
|
| 305 |
+
| [muri-it-wikipedia] | Faroese Wikipedia responses with synthetic instructions | knowledge | 2.55M | [Apache 2.0 + CC BY-SA 3.0] |
|
| 306 |
+
| [faroese-flan-lum] | Instruction–response pairs from Ombudsman, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 2.50M | [Public domain (Faroe Islands, § 9)] |
|
| 307 |
+
| [faroese-flan-logting-spurningar] | Instruction–response pairs from Parliamentary questions, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 499.32K | [Public domain (Faroe Islands, § 9)] |
|
| 308 |
+
| [faroese-flan-fo-wiktionary] | Instruction–response pairs from Wiktionary, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 151.75K | [CC-BY-SA 4.0] |
|
| 309 |
+
| [faroese-flan-fo-wikisource] | Instruction–response pairs from Wikisource, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 126.13K | [CC-BY-SA 4.0] |
|
| 310 |
+
| [faroese-flan-gerdabokur] | Instruction–response pairs from Løgting minute books, via [Faroese FLAN](https://huggingface.co/datasets/Frejams/faroese-flan) | general | 83.22K | [Public domain (Faroe Islands, § 9)] |
|
| 311 |
+
| [fo-instruct] | Human-written Faroese instructions from [FO-Instruct](https://huggingface.co/datasets/Setur/fo-instruct) | general | 38.87K | [CC-BY 4.0] |
|
| 312 |
+
| **Total** | | | 72.64M | |
|
| 313 |
+
|
| 314 |
+
[dynaword-reverse-instruct]: data/dynaword-reverse-instruct/datasheet.md
|
| 315 |
+
[fo-instruct]: data/fo-instruct/datasheet.md
|
| 316 |
+
[faroese-flan-fmd]: data/faroese-flan-fmd/datasheet.md
|
| 317 |
+
[faroese-flan-fo-wikisource]: data/faroese-flan-fo-wikisource/datasheet.md
|
| 318 |
+
[faroese-flan-fo-wiktionary]: data/faroese-flan-fo-wiktionary/datasheet.md
|
| 319 |
+
[faroese-flan-fpsc]: data/faroese-flan-fpsc/datasheet.md
|
| 320 |
+
[faroese-flan-gerdabokur]: data/faroese-flan-gerdabokur/datasheet.md
|
| 321 |
+
[faroese-flan-islex-fo]: data/faroese-flan-islex-fo/datasheet.md
|
| 322 |
+
[faroese-flan-kunngerdaportalur]: data/faroese-flan-kunngerdaportalur/datasheet.md
|
| 323 |
+
[faroese-flan-logir]: data/faroese-flan-logir/datasheet.md
|
| 324 |
+
[faroese-flan-logting-spurningar]: data/faroese-flan-logting-spurningar/datasheet.md
|
| 325 |
+
[faroese-flan-lum]: data/faroese-flan-lum/datasheet.md
|
| 326 |
+
[faroese-flan-ravnlex]: data/faroese-flan-ravnlex/datasheet.md
|
| 327 |
+
[faroese-flan-sprotin]: data/faroese-flan-sprotin/datasheet.md
|
| 328 |
+
[muri-it-wikipedia]: data/muri-it-wikipedia/datasheet.md
|
| 329 |
+
|
| 330 |
+
|
| 331 |
+
[CC-0]: https://creativecommons.org/publicdomain/zero/1.0/legalcode.en
|
| 332 |
+
[CC-BY-SA 4.0]: https://creativecommons.org/licenses/by-sa/4.0/deed.en
|
| 333 |
+
[CC-BY 4.0]: https://creativecommons.org/licenses/by/4.0/deed.en
|
| 334 |
+
[Apache 2.0]: https://www.apache.org/licenses/LICENSE-2.0
|
| 335 |
+
[Unknown]: ./data/dynaword-reverse-instruct/datasheet.md#license-information
|
| 336 |
+
[Public domain (Faroe Islands, § 9)]: ./data/faroese-flan-gerdabokur/datasheet.md#license-information
|
| 337 |
+
[Public domain (Faroe Islands, § 9)]: ./data/faroese-flan-kunngerdaportalur/datasheet.md#license-information
|
| 338 |
+
[Public domain (Faroe Islands, § 9)]: ./data/faroese-flan-logir/datasheet.md#license-information
|
| 339 |
+
[Public domain (Faroe Islands, § 9)]: ./data/faroese-flan-logting-spurningar/datasheet.md#license-information
|
| 340 |
+
[Public domain (Faroe Islands, § 9)]: ./data/faroese-flan-lum/datasheet.md#license-information
|
| 341 |
+
[MIT + CC BY 2.0 FR]: ./data/faroese-flan-sprotin/datasheet.md#license-information
|
| 342 |
+
[Apache 2.0 + CC BY-SA 3.0]: ./data/muri-it-wikipedia/datasheet.md#license-information
|
| 343 |
+
<!-- END-MAIN TABLE -->
|
| 344 |
+
|
| 345 |
+
</details>
|
| 346 |
+
|
| 347 |
+
### Data Collection and Processing
|
| 348 |
+
|
| 349 |
+
Faroese dyna-instruct is continually developed. Data collection and processing details are documented in the individual datasheets linked in the table above, and where possible in a reproducible `data/{dataset}/create.py` script.
|
| 350 |
+
|
| 351 |
+
In addition to dataset-specific processing, automated quality checks ensure correct column formatting, unique IDs, and no duplicate conversations.
|
| 352 |
+
|
| 353 |
+
### Dataset Statistics
|
| 354 |
+
|
| 355 |
+
The following plot shows the approximate creation date range of each source:
|
| 356 |
+
|
| 357 |
+
<p align="center">
|
| 358 |
+
<img src="./images/creation_dates.png" width="800" />
|
| 359 |
+
</p>
|
| 360 |
+
|
| 361 |
+
The following plots give an overview of conversation length and turn distributions across sources:
|
| 362 |
+
|
| 363 |
+
<div style="display: flex; gap: 20px; align-items: flex-start;">
|
| 364 |
+
<p align="center">
|
| 365 |
+
<img src="./images/dataset_size_plot.svg" width="400" />
|
| 366 |
+
</p>
|
| 367 |
+
<p align="center">
|
| 368 |
+
<img src="./images/dataset_turns_plot.svg" width="400" />
|
| 369 |
+
</p>
|
| 370 |
+
</div>
|
| 371 |
+
|
| 372 |
+
### Contributing to the dataset
|
| 373 |
+
|
| 374 |
+
Faroese dyna-instruct is continually developed.
|
| 375 |
+
|
| 376 |
+
We welcome contributions including new sources, improved filtering, and other enhancements. See [CONTRIBUTING.md](CONTRIBUTING.md) to get started.
|
| 377 |
+
|
| 378 |
+
## Citation Information
|
| 379 |
+
|
| 380 |
+
<!-- TODO: replace with actual release citation once published -->
|
| 381 |
+
If you use this work, please cite:
|
| 382 |
+
|
| 383 |
+
```bibtex
|
| 384 |
+
@article{enevoldsen2023danish,
|
| 385 |
+
title={Danish Foundation Models},
|
| 386 |
+
author={Enevoldsen, Kenneth and Hansen, Lasse and Nielsen, Dan S. and
|
| 387 |
+
Egeb{\ae}k, Rasmus A. F. and Holm, S{\o}ren V. and Nielsen, Martin C. and
|
| 388 |
+
Bernstorff, Martin and Larsen, Rasmus and J{\o}rgensen, Peter B. and
|
| 389 |
+
H{\o}jmark-Bertelsen, Malte and Vahlstrup, Peter B. and
|
| 390 |
+
M{\o}ldrup-Dalum, Per and Nielbo, Kristoffer},
|
| 391 |
+
year={2023},
|
| 392 |
+
journal={arXiv preprint arXiv:2311.07264},
|
| 393 |
+
url={https://arxiv.org/abs/2311.07264}
|
| 394 |
+
}
|
| 395 |
+
```
|
| 396 |
+
|
| 397 |
+
## License Information
|
| 398 |
+
|
| 399 |
+
The license for each constituent dataset is listed in the [Source Data](#source-data) table. The collection itself (metadata, quality control, etc.) is licensed under [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en).
|
| 400 |
+
|
| 401 |
+
### Notice and takedown policy
|
| 402 |
+
|
| 403 |
+
We redistribute files under licenses permitting such redistribution. If you have concerns about licensing or copyright, please [contact us](https://huggingface.co/datasets/danish-foundation-models/faroese-dyna-instruct/discussions/new).
|
| 404 |
+
|
| 405 |
+
---
|
| 406 |
+
|
| 407 |
+
<h3 style="display: flex; align-items: center;">
|
| 408 |
+
<a href="https://www.foundationmodels.dk">
|
| 409 |
+
<img src="./docs/icon.png" width="30" style="margin-right: 10px;" />
|
| 410 |
+
</a>
|
| 411 |
+
A <a href="https://www.foundationmodels.dk">Danish Foundation Models</a> dataset
|
| 412 |
+
</h3>
|
data/muri-it-wikipedia/create.py
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Convert the pinned MURI Wikipedia training subset, retaining article attribution."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import hashlib
|
| 6 |
+
import json
|
| 7 |
+
import unicodedata
|
| 8 |
+
from collections import defaultdict
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
from urllib.parse import urlsplit
|
| 11 |
+
from urllib.request import urlopen
|
| 12 |
+
|
| 13 |
+
import pyarrow.parquet as pq
|
| 14 |
+
from huggingface_hub import hf_hub_download
|
| 15 |
+
from datasets import Dataset
|
| 16 |
+
from huggingface_hub import snapshot_download
|
| 17 |
+
|
| 18 |
+
from dynainst.dataset_structure import SampleSchema
|
| 19 |
+
from dynainst.process_dataset import (
|
| 20 |
+
add_token_count,
|
| 21 |
+
ensure_column_order,
|
| 22 |
+
remove_duplicate_messages,
|
| 23 |
+
remove_empty_messages,
|
| 24 |
+
)
|
| 25 |
+
|
| 26 |
+
SOURCE = "muri-it-wikipedia"
|
| 27 |
+
UPSTREAM = "akoksal/muri-it-language-split"
|
| 28 |
+
REVISION = "4987fc82a54145caf778efec6a682863591be1f2"
|
| 29 |
+
LANGUAGE = "fao"
|
| 30 |
+
UPSTREAM_FILE = f"{LANGUAGE}/train-00000-of-00001.parquet"
|
| 31 |
+
WIKIPEDIA = "wikimedia/wikipedia"
|
| 32 |
+
WIKIPEDIA_REVISION = "b04c8d1ceb2f5cd4588862100d08de323dccfbaa"
|
| 33 |
+
WIKIPEDIA_FILES = ["20231101.fo/train-00000-of-00001.parquet"]
|
| 34 |
+
TOKENIZER = "AI-Sweden-Models/Llama-3-8B-instruct"
|
| 35 |
+
TOKENIZER_REVISION = "88546994bd2b86c823a8f12238ac9236221979eb"
|
| 36 |
+
APACHE_LICENSE_URL = "https://www.apache.org/licenses/LICENSE-2.0.txt"
|
| 37 |
+
APACHE_LICENSE_SHA256 = (
|
| 38 |
+
"cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
|
| 39 |
+
)
|
| 40 |
+
ADDED = "2026-11-09"
|
| 41 |
+
# Exact annotation dates are unavailable; use the first public release date.
|
| 42 |
+
CREATED = "2024-09-18, 2024-09-18"
|
| 43 |
+
SAVE_DIR = Path(__file__).parent
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def text_hash(text: str) -> str:
|
| 47 |
+
normalized = " ".join(unicodedata.normalize("NFC", text).split())
|
| 48 |
+
return hashlib.sha256(normalized.encode("utf-8")).hexdigest()
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def download(repository: str, filename: str, revision: str) -> str:
|
| 52 |
+
return hf_hub_download(repository, filename, repo_type="dataset", revision=revision)
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def recover_articles(rows: list[tuple[int, dict]]) -> dict[str, list[dict]]:
|
| 56 |
+
"""Recover attribution by matching complete responses, ignoring whitespace only."""
|
| 57 |
+
wanted = {text_hash(row["output"]) for _, row in rows}
|
| 58 |
+
articles = defaultdict(list)
|
| 59 |
+
for filename in WIKIPEDIA_FILES:
|
| 60 |
+
parquet = pq.ParquetFile(download(WIKIPEDIA, filename, WIKIPEDIA_REVISION))
|
| 61 |
+
for batch in parquet.iter_batches(batch_size=1024):
|
| 62 |
+
for article in batch.to_pylist():
|
| 63 |
+
fingerprint = text_hash(article["text"])
|
| 64 |
+
if fingerprint in wanted:
|
| 65 |
+
url = article["url"]
|
| 66 |
+
origin = urlsplit(url)
|
| 67 |
+
articles[fingerprint].append(
|
| 68 |
+
{
|
| 69 |
+
"article_id": article["id"],
|
| 70 |
+
"title": article["title"],
|
| 71 |
+
"url": url,
|
| 72 |
+
"contributors": f"{origin.scheme}://{origin.netloc}/w/index.php?curid={article['id']}&action=history",
|
| 73 |
+
"snapshot_file": filename,
|
| 74 |
+
}
|
| 75 |
+
)
|
| 76 |
+
missing = wanted - articles.keys()
|
| 77 |
+
if missing:
|
| 78 |
+
raise ValueError(f"Cannot recover attribution for {len(missing)} responses")
|
| 79 |
+
return articles
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def main() -> None:
|
| 83 |
+
raw = pq.read_table(download(UPSTREAM, UPSTREAM_FILE, REVISION)).to_pylist()
|
| 84 |
+
selected = [
|
| 85 |
+
(index, row)
|
| 86 |
+
for index, row in enumerate(raw)
|
| 87 |
+
if row["dataset_name"] == "MRI"
|
| 88 |
+
and row["subdataset_name"] == "wikipedia"
|
| 89 |
+
and row["language"] == LANGUAGE
|
| 90 |
+
and row["split"] == "train"
|
| 91 |
+
]
|
| 92 |
+
articles = recover_articles(selected)
|
| 93 |
+
rows = []
|
| 94 |
+
attribution = {}
|
| 95 |
+
for index, row in selected:
|
| 96 |
+
sample_id = f"{SOURCE}_{LANGUAGE}_{index:05d}"
|
| 97 |
+
rows.append(
|
| 98 |
+
{
|
| 99 |
+
"id": sample_id,
|
| 100 |
+
"messages": [
|
| 101 |
+
{"role": "user", "content": row["input"]},
|
| 102 |
+
{"role": "assistant", "content": row["output"]},
|
| 103 |
+
],
|
| 104 |
+
"source": SOURCE,
|
| 105 |
+
"added": ADDED,
|
| 106 |
+
"created": CREATED,
|
| 107 |
+
"language": [LANGUAGE],
|
| 108 |
+
"task": "knowledge",
|
| 109 |
+
"token_count": -1,
|
| 110 |
+
}
|
| 111 |
+
)
|
| 112 |
+
attribution[sample_id] = {
|
| 113 |
+
"id": sample_id,
|
| 114 |
+
"muri_repository": UPSTREAM,
|
| 115 |
+
"muri_revision": REVISION,
|
| 116 |
+
"muri_file": UPSTREAM_FILE,
|
| 117 |
+
"muri_row_index": index,
|
| 118 |
+
"muri_license": "Apache-2.0",
|
| 119 |
+
"wikipedia_repository": WIKIPEDIA,
|
| 120 |
+
"wikipedia_snapshot_revision": WIKIPEDIA_REVISION,
|
| 121 |
+
"wikipedia_license": "CC-BY-SA-3.0",
|
| 122 |
+
"wikipedia_articles": articles[text_hash(row["output"])],
|
| 123 |
+
"wikipedia_page_revision_id": None,
|
| 124 |
+
"response_sha256": hashlib.sha256(
|
| 125 |
+
row["output"].encode("utf-8")
|
| 126 |
+
).hexdigest(),
|
| 127 |
+
"match": "complete text, NFC and whitespace normalized",
|
| 128 |
+
"changes": "Chat formatting; original prompt and response retained.",
|
| 129 |
+
}
|
| 130 |
+
for row in rows:
|
| 131 |
+
SampleSchema(**row)
|
| 132 |
+
dataset = Dataset.from_list(rows)
|
| 133 |
+
dataset = remove_empty_messages(dataset, num_proc=1)
|
| 134 |
+
dataset = remove_duplicate_messages(dataset)
|
| 135 |
+
tokenizer_path = snapshot_download(
|
| 136 |
+
TOKENIZER,
|
| 137 |
+
revision=TOKENIZER_REVISION,
|
| 138 |
+
allow_patterns=["*.json", "*.model"],
|
| 139 |
+
)
|
| 140 |
+
dataset = add_token_count(dataset, tokenizer_name=tokenizer_path, num_proc=1)
|
| 141 |
+
dataset = ensure_column_order(dataset)
|
| 142 |
+
dataset.to_parquet(str(SAVE_DIR / f"{SOURCE}.parquet"))
|
| 143 |
+
output_path = SAVE_DIR / f"{SOURCE}.parquet"
|
| 144 |
+
table = pq.read_table(output_path)
|
| 145 |
+
metadata = dict(table.schema.metadata or {})
|
| 146 |
+
metadata[b"attribution"] = json.dumps(
|
| 147 |
+
[attribution[sample_id] for sample_id in table["id"].to_pylist()],
|
| 148 |
+
ensure_ascii=False,
|
| 149 |
+
sort_keys=True,
|
| 150 |
+
).encode("utf-8")
|
| 151 |
+
with urlopen(APACHE_LICENSE_URL, timeout=30) as response:
|
| 152 |
+
license_text = response.read()
|
| 153 |
+
if hashlib.sha256(license_text).hexdigest() != APACHE_LICENSE_SHA256:
|
| 154 |
+
raise ValueError("Apache licence text checksum mismatch")
|
| 155 |
+
metadata[b"license_text"] = license_text
|
| 156 |
+
metadata[b"license"] = b"MURI: Apache-2.0; Wikipedia responses: CC-BY-SA-3.0"
|
| 157 |
+
metadata[b"license_url"] = b"https://creativecommons.org/licenses/by-sa/3.0/"
|
| 158 |
+
pq.write_table(table.replace_schema_metadata(metadata), output_path)
|
| 159 |
+
print(f"Wrote {len(dataset):,} samples to {SAVE_DIR}")
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
if __name__ == "__main__":
|
| 163 |
+
main()
|
data/muri-it-wikipedia/datasheet.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: MURI Wikipedia (Faroese)
|
| 3 |
+
language:
|
| 4 |
+
- fao
|
| 5 |
+
license: other
|
| 6 |
+
license_name: Apache 2.0 + CC BY-SA 3.0
|
| 7 |
+
tasks:
|
| 8 |
+
- knowledge
|
| 9 |
+
creation_approach: semi-synthetic
|
| 10 |
+
task_categories:
|
| 11 |
+
- text-generation
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# MURI Wikipedia (Faroese)
|
| 15 |
+
|
| 16 |
+
<!-- START-SHORT DESCRIPTION -->
|
| 17 |
+
Faroese Wikipedia responses with synthetic instructions.
|
| 18 |
+
<!-- END-SHORT DESCRIPTION -->
|
| 19 |
+
|
| 20 |
+
## Dataset Description
|
| 21 |
+
|
| 22 |
+
<!-- START-DESC-STATS -->
|
| 23 |
+
- **Number of samples**: 5.79K
|
| 24 |
+
- **Number of tokens (Llama 3)**: 2.55M
|
| 25 |
+
- **Average conversation length in tokens (min, max)**: 440.38 (21, 20.73K)
|
| 26 |
+
- **Average number of turns (min, max)**: 2.0 (2, 2)
|
| 27 |
+
<!-- END-DESC-STATS -->
|
| 28 |
+
|
| 29 |
+
[MURI](https://huggingface.co/datasets/akoksal/muri-it-language-split/tree/4987fc82a54145caf778efec6a682863591be1f2/fao) Wikipedia instruction–response pairs ([paper](https://aclanthology.org/2025.tacl-1.48/)).
|
| 30 |
+
|
| 31 |
+
## Dataset Structure
|
| 32 |
+
|
| 33 |
+
<!-- START-SAMPLE -->
|
| 34 |
+
```py
|
| 35 |
+
{
|
| 36 |
+
"id": "muri-it-wikipedia_fao_00000",
|
| 37 |
+
"messages": [
|
| 38 |
+
{
|
| 39 |
+
"role": "user",
|
| 40 |
+
"content": "Hvør er Alvilda Dunnomman Sjógvhøna í samanhanginum við kvæðið um Dundal?"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"role": "assistant",
|
| 44 |
+
"content": "Alvilda Dunnomman Sjógvhøna er omma Dunnald. Gift við Hemingi Dunnu, tey eiga ungarnar Ægir, Dagný og Gvaggolv. Foreldur[...]"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"source": "muri-it-wikipedia",
|
| 48 |
+
"added": "2026-11-09",
|
| 49 |
+
"created": "2024-09-18, 2024-09-18",
|
| 50 |
+
"language": [
|
| 51 |
+
"fao"
|
| 52 |
+
],
|
| 53 |
+
"task": "knowledge",
|
| 54 |
+
"token_count": 108
|
| 55 |
+
}
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
[Field definitions](../../README.md#data-fields).
|
| 59 |
+
<!-- END-SAMPLE -->
|
| 60 |
+
|
| 61 |
+
<!-- START-DATASET PLOTS -->
|
| 62 |
+
<div style="display: flex; gap: 20px;">
|
| 63 |
+
<p align="center">
|
| 64 |
+
<img src="./images/dist_token_count.png" width="400" />
|
| 65 |
+
</p>
|
| 66 |
+
<p align="center">
|
| 67 |
+
<img src="./images/dist_turns.png" width="400" />
|
| 68 |
+
</p>
|
| 69 |
+
</div>
|
| 70 |
+
<!-- END-DATASET PLOTS -->
|
| 71 |
+
|
| 72 |
+
## Additional Information
|
| 73 |
+
|
| 74 |
+
### License Information
|
| 75 |
+
|
| 76 |
+
MURI (Köksal et al.): [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt). Wikipedia contributors: [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/) ([source](https://huggingface.co/datasets/wikimedia/wikipedia/blob/b04c8d1ceb2f5cd4588862100d08de323dccfbaa/README.md)). Attribution and licence text are embedded in Parquet metadata.
|
data/muri-it-wikipedia/descriptive_stats.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number_of_samples": 5795,
|
| 3 |
+
"number_of_tokens": 2551979,
|
| 4 |
+
"min_length_tokens": 21,
|
| 5 |
+
"max_length_tokens": 20728,
|
| 6 |
+
"average_turns": 2.0,
|
| 7 |
+
"min_turns": 2,
|
| 8 |
+
"max_turns": 2,
|
| 9 |
+
"created_start": "2024-09-18",
|
| 10 |
+
"created_end": "2024-09-18",
|
| 11 |
+
"languages": {
|
| 12 |
+
"fao": 5795
|
| 13 |
+
}
|
| 14 |
+
}
|
data/muri-it-wikipedia/images/dist_token_count.png
ADDED
|
Git LFS Details
|
data/muri-it-wikipedia/images/dist_turns.png
ADDED
|
Git LFS Details
|
data/muri-it-wikipedia/muri-it-wikipedia.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b3f92f9395506bd90173e12edd539cfa938c3a9f891826d07f4e9b9300d3a05
|
| 3 |
+
size 18027718
|
descriptive_stats.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
| 1 |
-
{
|
| 2 |
-
"number_of_samples":
|
| 3 |
-
"number_of_tokens":
|
| 4 |
-
"min_length_tokens": 9,
|
| 5 |
-
"max_length_tokens": 46564,
|
| 6 |
-
"average_turns": 2.0,
|
| 7 |
-
"min_turns": 2,
|
| 8 |
-
"max_turns": 2,
|
| 9 |
-
"created_start": "
|
| 10 |
-
"created_end": "2026-12-31",
|
| 11 |
-
"languages": {
|
| 12 |
-
"fao":
|
| 13 |
-
}
|
| 14 |
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number_of_samples": 1015163,
|
| 3 |
+
"number_of_tokens": 72644300,
|
| 4 |
+
"min_length_tokens": 9,
|
| 5 |
+
"max_length_tokens": 46564,
|
| 6 |
+
"average_turns": 2.0,
|
| 7 |
+
"min_turns": 2,
|
| 8 |
+
"max_turns": 2,
|
| 9 |
+
"created_start": "2024-09-18",
|
| 10 |
+
"created_end": "2026-12-31",
|
| 11 |
+
"languages": {
|
| 12 |
+
"fao": 1015163
|
| 13 |
+
}
|
| 14 |
}
|
images/creation_dates.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/dataset_size_plot.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
images/dataset_size_plot.svg
CHANGED
|
|
|
|
images/dataset_turns_plot.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
images/dataset_turns_plot.svg
CHANGED
|
|
|
|
images/language_distribution.html
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
images/language_distribution.svg
CHANGED
|
|
|
|
images/task_distribution.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
images/tokens_over_time.html
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
-
<html>
|
| 2 |
-
<head><meta charset="utf-8" /></head>
|
| 3 |
-
<body>
|
| 4 |
-
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
-
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="
|
| 6 |
-
</body>
|
| 7 |
</html>
|
|
|
|
| 1 |
+
<html>
|
| 2 |
+
<head><meta charset="utf-8" /></head>
|
| 3 |
+
<body>
|
| 4 |
+
<div> <script>window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
|
| 5 |
+
<script charset="utf-8" src="https://cdn.plot.ly/plotly-3.5.0.min.js" integrity="sha256-fHbNLP+GlIXN+efbQec78UkemUz3NJp7UmfGxC1tNxs=" crossorigin="anonymous"></script> <div id="eaa78c5b-3354-4640-949c-ee2a879cab45" class="plotly-graph-div" style="height:100%; width:100%;"></div> <script> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("eaa78c5b-3354-4640-949c-ee2a879cab45")) { Plotly.newPlot( "eaa78c5b-3354-4640-949c-ee2a879cab45", [{"hovertemplate":"%{text}\u003cextra\u003e\u003c\u002fextra\u003e","line":{"color":"#DC2626","width":3},"marker":{"color":"#DC2626","size":5},"mode":"lines+markers","text":["Date: 2026-10-14\u003cbr\u003eTokens: 70.09M\u003cbr\u003eSamples: 1,009,368\u003cbr\u003eCommit: a27cb269\u003cbr\u003eAdd FLAN datasets (#3)"],"x":["2026-10-14T10:50:24"],"y":{"dtype":"i4","bdata":"IYYtBA=="},"type":"scatter"}], {"template":{"data":{"barpolar":[{"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"type":"carpet"}],"choropleth":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"choropleth"}],"contourcarpet":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"contourcarpet"}],"contour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"contour"}],"heatmap":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmap"}],"histogram2dcontour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2dcontour"}],"histogram2d":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2d"}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"mesh3d":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"mesh3d"}],"parcoords":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"parcoords"}],"pie":[{"automargin":true,"type":"pie"}],"scatter3d":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter3d"}],"scattercarpet":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattercarpet"}],"scattergeo":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergeo"}],"scattergl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergl"}],"scattermapbox":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermapbox"}],"scattermap":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermap"}],"scatterpolargl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolargl"}],"scatterpolar":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolar"}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"scatterternary":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterternary"}],"surface":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"surface"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}]},"layout":{"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"autotypenumbers":"strict","coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]],"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]},"colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"geo":{"bgcolor":"white","lakecolor":"white","landcolor":"white","showlakes":true,"showland":true,"subunitcolor":"#C8D4E3"},"hoverlabel":{"align":"left"},"hovermode":"closest","mapbox":{"style":"light"},"paper_bgcolor":"white","plot_bgcolor":"white","polar":{"angularaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""},"bgcolor":"white","radialaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""}},"scene":{"xaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"yaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"zaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"ternary":{"aaxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"baxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"bgcolor":"white","caxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""}},"title":{"x":0.05},"xaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2},"yaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2}}},"title":{"text":"Number of Tokens Over Time in Faroese Dyna-Instruct"},"xaxis":{"title":{"text":"Date"}},"yaxis":{"title":{"text":"Number of Tokens (Llama 3)"},"tickformat":".2s"},"hovermode":"closest","showlegend":false}, {"responsive": true} ) }; </script> </div>
|
| 6 |
+
</body>
|
| 7 |
</html>
|
images/tokens_over_time.svg
CHANGED
|
|
|
|
pyproject.toml
CHANGED
|
@@ -1,29 +1,29 @@
|
|
| 1 |
-
[project]
|
| 2 |
-
name = "dynainst"
|
| 3 |
-
version = "0.1.
|
| 4 |
-
description = "project code for the Faroese dyna-instruct project"
|
| 5 |
-
readme = "README.md"
|
| 6 |
-
requires-python = ">=3.12,<3.13"
|
| 7 |
-
dependencies = [
|
| 8 |
-
"datasets>=3.0.0",
|
| 9 |
-
"pydantic>=2.10.4",
|
| 10 |
-
"tabulate>=0.9.0",
|
| 11 |
-
"tomlkit>=0.13.2",
|
| 12 |
-
"transformers>=4.47.1",
|
| 13 |
-
"plotnine>=0.14.5",
|
| 14 |
-
"plotly>=6.5.1",
|
| 15 |
-
"nbformat>=4.2.0",
|
| 16 |
-
"kaleido>=1.0.0",
|
| 17 |
-
]
|
| 18 |
-
|
| 19 |
-
[dependency-groups]
|
| 20 |
-
dev = [
|
| 21 |
-
"ipykernel>=6.29.5",
|
| 22 |
-
"pip>=25.0.1",
|
| 23 |
-
"pytest>=8.3.4",
|
| 24 |
-
"ruff>=0.8.3",
|
| 25 |
-
]
|
| 26 |
-
|
| 27 |
-
[build-system]
|
| 28 |
-
requires = ["hatchling"]
|
| 29 |
-
build-backend = "hatchling.build"
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "dynainst"
|
| 3 |
+
version = "0.1.3"
|
| 4 |
+
description = "project code for the Faroese dyna-instruct project"
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.12,<3.13"
|
| 7 |
+
dependencies = [
|
| 8 |
+
"datasets>=3.0.0",
|
| 9 |
+
"pydantic>=2.10.4",
|
| 10 |
+
"tabulate>=0.9.0",
|
| 11 |
+
"tomlkit>=0.13.2",
|
| 12 |
+
"transformers>=4.47.1",
|
| 13 |
+
"plotnine>=0.14.5",
|
| 14 |
+
"plotly>=6.5.1",
|
| 15 |
+
"nbformat>=4.2.0",
|
| 16 |
+
"kaleido>=1.0.0",
|
| 17 |
+
]
|
| 18 |
+
|
| 19 |
+
[dependency-groups]
|
| 20 |
+
dev = [
|
| 21 |
+
"ipykernel>=6.29.5",
|
| 22 |
+
"pip>=25.0.1",
|
| 23 |
+
"pytest>=8.3.4",
|
| 24 |
+
"ruff>=0.8.3",
|
| 25 |
+
]
|
| 26 |
+
|
| 27 |
+
[build-system]
|
| 28 |
+
requires = ["hatchling"]
|
| 29 |
+
build-backend = "hatchling.build"
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|