Datasets:
File size: 16,760 Bytes
a5a9a2d 70561e5 a5a9a2d 70561e5 1b6cb78 f906a8d 2a07f33 a961b89 daa1219 81b84d5 01b5416 e4530d0 55cd1f1 a1054d2 c5395f7 0260b4c 2c4a594 7d6dae9 e7f6929 a316966 1384c09 ec06b8f bf2062d a5a9a2d 70561e5 1b6cb78 f906a8d 2a07f33 a961b89 daa1219 81b84d5 01b5416 e4530d0 55cd1f1 a1054d2 c5395f7 0260b4c 2c4a594 7d6dae9 e7f6929 a316966 1384c09 ec06b8f bf2062d 40fafde a5a9a2d 3871cab ecdfc85 3871cab d6c186e 3871cab 798d471 3871cab 79253b3 3871cab 7c4d697 3871cab 7c4d697 3871cab 1128ce4 7c4d697 3871cab 7c4d697 3871cab 7c4d697 3871cab 1128ce4 7c4d697 3871cab a03553e cb3caa4 a03553e cb3caa4 3871cab 798d471 cade927 3871cab 798d471 3871cab 7c4d697 3871cab 798d471 |
1 2 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 98 99 100 101 102 103 104 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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 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 210 211 212 213 214 215 216 217 218 219 220 221 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 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 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 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 |
---
dataset_info:
- config_name: librusec_history
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 9288308
num_examples: 128
download_size: 287104
dataset_size: 9288308
- config_name: librusec_mhqa
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 6973356
num_examples: 384
download_size: 339262
dataset_size: 6973356
- config_name: long_context_multiq
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 137088574
num_examples: 1200
download_size: 65723227
dataset_size: 137088574
- config_name: matreshka_names
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: int64
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 110197693
num_examples: 900
download_size: 10212227
dataset_size: 110197693
- config_name: matreshka_yes_no
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: int64
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 220381278
num_examples: 1799
download_size: 10269004
dataset_size: 220381278
- config_name: passkey
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: int64
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 135062614
num_examples: 1200
download_size: 6706454
dataset_size: 135062614
- config_name: passkey_with_librusec
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: int64
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 138752007
num_examples: 1200
download_size: 68813259
dataset_size: 138752007
- config_name: ru_2wikimultihopqa
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 20384223
num_examples: 300
download_size: 10115092
dataset_size: 20384223
- config_name: ru_babilong_qa1
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 98592899
num_examples: 600
download_size: 50184619
dataset_size: 98592899
- config_name: ru_babilong_qa2
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 98616350
num_examples: 600
download_size: 50202521
dataset_size: 98616350
- config_name: ru_babilong_qa3
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 98734535
num_examples: 600
download_size: 50147272
dataset_size: 98734535
- config_name: ru_babilong_qa4
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 98509371
num_examples: 600
download_size: 50170814
dataset_size: 98509371
- config_name: ru_babilong_qa5
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 98450820
num_examples: 600
download_size: 50175383
dataset_size: 98450820
- config_name: ru_gsm100
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 3094379
num_examples: 100
download_size: 43906
dataset_size: 3094379
- config_name: ru_qasper
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 10664041
num_examples: 203
download_size: 2978374
dataset_size: 10664041
- config_name: ru_quality
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 9095705
num_examples: 202
download_size: 427250
dataset_size: 9095705
- config_name: ru_sci_abstract_retrieval
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 270306154
num_examples: 1240
download_size: 111456155
dataset_size: 270306154
- config_name: ru_sci_fi
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 7217269
num_examples: 64
download_size: 399160
dataset_size: 7217269
- config_name: ru_sci_passage_count
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 110232625
num_examples: 600
download_size: 29891223
dataset_size: 110232625
- config_name: ru_tpo
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: string
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: 'null'
splits:
- name: test
num_bytes: 7921499
num_examples: 251
download_size: 284509
dataset_size: 7921499
- config_name: ru_trec
features:
- name: length
dtype: string
- name: context
dtype: string
- name: input
dtype: string
- name: positive_outputs
sequence: string
- name: negative_outputs
sequence: 'null'
- name: metadata
struct:
- name: id
dtype: string
- name: source_path
dtype: string
splits:
- name: test
num_bytes: 18657206
num_examples: 300
download_size: 7280413
dataset_size: 18657206
configs:
- config_name: librusec_history
data_files:
- split: test
path: librusec_history/test-*
- config_name: librusec_mhqa
data_files:
- split: test
path: librusec_mhqa/test-*
- config_name: long_context_multiq
data_files:
- split: test
path: long_context_multiq/test-*
- config_name: matreshka_names
data_files:
- split: test
path: matreshka_names/test-*
- config_name: matreshka_yes_no
data_files:
- split: test
path: matreshka_yes_no/test-*
- config_name: passkey
data_files:
- split: test
path: passkey/test-*
- config_name: passkey_with_librusec
data_files:
- split: test
path: passkey_with_librusec/test-*
- config_name: ru_2wikimultihopqa
data_files:
- split: test
path: ru_2wikimultihopqa/test-*
- config_name: ru_babilong_qa1
data_files:
- split: test
path: ru_babilong_qa1/test-*
- config_name: ru_babilong_qa2
data_files:
- split: test
path: ru_babilong_qa2/test-*
- config_name: ru_babilong_qa3
data_files:
- split: test
path: ru_babilong_qa3/test-*
- config_name: ru_babilong_qa4
data_files:
- split: test
path: ru_babilong_qa4/test-*
- config_name: ru_babilong_qa5
data_files:
- split: test
path: ru_babilong_qa5/test-*
- config_name: ru_gsm100
data_files:
- split: test
path: ru_gsm100/test-*
- config_name: ru_qasper
data_files:
- split: test
path: ru_qasper/test-*
- config_name: ru_quality
data_files:
- split: test
path: ru_quality/test-*
- config_name: ru_sci_abstract_retrieval
data_files:
- split: test
path: ru_sci_abstract_retrieval/test-*
- config_name: ru_sci_fi
data_files:
- split: test
path: ru_sci_fi/test-*
- config_name: ru_sci_passage_count
data_files:
- split: test
path: ru_sci_passage_count/test-*
- config_name: ru_tpo
data_files:
- split: test
path: ru_tpo/test-*
- config_name: ru_trec
data_files:
- split: test
path: ru_trec/test-*
license: mit
language:
- ru
tags:
- nlp
- benchmark
- russian
- long-context
- evaluation
---
# LIBRA: Long Input Benchmark for Russian Analysis
<img src="logo.png" width="800" />
## Dataset Summary
LIBRA (Long Input Benchmark for Russian Analysis) is designed to evaluate the capabilities of large language models (LLMs) in understanding and processing long texts in Russian. This benchmark includes 21 datasets adapted for different tasks and complexities. The tasks are divided into four complexity groups and allow evaluation across various context lengths ranging from 4k up to 128k tokens.
## Dataset Structure
The datasets are divided into subsets based on context lengths: 4k, 8k, 16k, 32k, 64k, and 128k tokens. Each subset contains a different number of samples depending on the task complexity.
## Tasks and Complexity Groups
<img src="table.png" width="800" />
### Group I: Simple Information Retrieval
- **Passkey**: Extract a relevant piece of code number from a long text fragment. Based on the original [PassKey test](https://github.com/CStanKonrad/long_llama/blob/main/examples/passkey.py) from the m LongLLaMA’s GitHub repo.
- **PasskeyWithLibrusec**: Similar to Passkey but with added noise from Librusec texts.
### Group II: Question Answering and Multiple Choice
- **MatreshkaNames**: Identify the person in dialogues based on the discussed topic. We used [Matreshka](https://huggingface.co/datasets/zjkarina/matreshka) dataset and [Russian Names](https://www.kaggle.com/datasets/rai220/russian-cyrillic-names-and-sex/data) dataset to create this and the next task.
- **MatreshkaYesNo**: Indicate whether a specific topic was mentioned in the dialog.
- **LibrusecHistory**: Answer questions based on historical texts. Ideologically similiar to the [PassageRetrieval dataset](https://huggingface.co/datasets/THUDM/LongBench/viewer/passage_retrieval_en) from LongBench.
- **ruTREC**: Few-shot in-context learning for topic classification. Created by translating the [TREC dataset](https://huggingface.co/datasets/THUDM/LongBench/viewer/trec_e) from LongBench.
- **ruSciFi**: Answer true/false based on context and general world knowledge. Translation of [SciFi dataset](https://huggingface.co/datasets/L4NLP/LEval/viewer/sci_f) from L-Eval which originally was based on [SF-Gram](https://github.com/nschaetti/SFGram-dataset).
- **ruSciAbstractRetrieval**: Retrieve relevant paragraphs from scientific abstracts.
- **ruTPO**: Multiple-choice questions similar to TOEFL exams. Translation of the [TPO dataset](https://huggingface.co/datasets/L4NLP/LEval/viewer/tpo) from L-Eval.
- **ruQuALITY**: Multiple-choice QA tasks based on detailed texts. Created by translating the [QuALITY dataset](https://huggingface.co/datasets/L4NLP/LEval/viewer/quality) from L-Eval.
### Group III: Multi-hop Question Answering
- **ruBABILongQA**: 5 long-context reasoning tasks for QA using facts hidden among irrelevant information.
- **LongContextMultiQ**: Multi-hop QA based on Wikidata and Wikipedia.
- **LibrusecMHQA**: Multi-hop QA requiring information distributed across several text parts.
- **ru2WikiMultihopQA**: Translation of the [2WikiMultihopQA dataset](https://huggingface.co/datasets/THUDM/LongBench/viewer/2wikimqa_e) from LongBench.
### Group IV: Complex Reasoning and Mathematical Problems
- **ruSciPassageCount**: Count unique paragraphs in a long text. Uses the basic idea of the original [PassageCount dataset](https://huggingface.co/datasets/THUDM/LongBench/viewer/passage_count) from LongBench.
- **ruQasper**: Question Answering over academic research papers. Created by translating the [Qasper dataset](https://huggingface.co/datasets/THUDM/LongBench/viewer/qasper_e) from LongBench.
- **ruGSM100**: Solve math problems using Chain-of-Thought reasoning. Created by translating the [GSM100](https://huggingface.co/datasets/L4NLP/LEval/viewer/gsm100) dataset from L-Eval.
## Metrics
We use **Exact Match (EM)** and **F1** metrics in our tests. **EM** metric is used to evaluate the accuracy of the model's responses by comparing the predicted answers to the ground truth. It is particularly effective for tasks where precise matching of responses is critical, such as question answering and retrieval tasks.
<img src="table2.png" width="800" />
## Citation
```
@misc{churin2024longinputbenchmarkrussian,
title={Long Input Benchmark for Russian Analysis},
author={Igor Churin and Murat Apishev and Maria Tikhonova and Denis Shevelev and Aydar Bulatov and Yuri Kuratov and Sergei Averkiev and Alena Fenogenova},
year={2024},
eprint={2408.02439},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2408.02439},
}
```
## GitHub
For more details and code, please visit our [GitHub repository](https://github.com/ai-forever/LIBRA/). |