Update README.md
Browse files
README.md
CHANGED
|
@@ -9,11 +9,19 @@ language:
|
|
| 9 |
tags:
|
| 10 |
- Long Context
|
| 11 |
- reasoning
|
|
|
|
| 12 |
size_categories:
|
| 13 |
- n<1K
|
| 14 |
license: apache-2.0
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
# LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks
|
| 18 |
|
| 19 |
🌐 Project Page: https://longbench2.github.io
|
|
@@ -28,45 +36,6 @@ To elaborate, LongBench v2 consists of 503 challenging multiple-choice questions
|
|
| 28 |
|
| 29 |
**🔍 With LongBench v2, we are eager to find out how scaling inference-time compute will affect deep understanding and reasoning in long-context scenarios. View our 🏆 leaderboard [here](https://longbench2.github.io/#leaderboard) (updating).**
|
| 30 |
|
| 31 |
-
# 🔨 How to use it?
|
| 32 |
-
|
| 33 |
-
#### Loading Data
|
| 34 |
-
|
| 35 |
-
You can download and load the **LongBench v2** data through the Hugging Face datasets ([🤗 HF Repo](https://huggingface.co/datasets/THUDM/LongBench-v2)):
|
| 36 |
-
```python
|
| 37 |
-
from datasets import load_dataset
|
| 38 |
-
dataset = load_dataset('THUDM/LongBench-v2', split='train')
|
| 39 |
-
```
|
| 40 |
-
Alternatively, you can download the file from [this link](https://huggingface.co/datasets/THUDM/LongBench-v2/resolve/main/data.json) to load the data.
|
| 41 |
-
|
| 42 |
-
#### Data Format
|
| 43 |
-
|
| 44 |
-
All data in **LongBench v2** are standardized to the following format:
|
| 45 |
-
|
| 46 |
-
```json
|
| 47 |
-
{
|
| 48 |
-
"_id": "Unique identifier for each piece of data",
|
| 49 |
-
"domain": "The primary domain category of the data",
|
| 50 |
-
"sub_domain": "The specific sub-domain category within the domain",
|
| 51 |
-
"difficulty": "The difficulty level of the task, either 'easy' or 'hard'",
|
| 52 |
-
"length": "The length category of the task, which can be 'short', 'medium', or 'long'",
|
| 53 |
-
"question": "The input/command for the task, usually short, such as questions in QA, queries in many-shot learning, etc",
|
| 54 |
-
"choice_A": "Option A", "choice_B": "Option B", "choice_C": "Option C", "choice_D": "Option D",
|
| 55 |
-
"answer": "The groundtruth answer, denoted as A, B, C, or D",
|
| 56 |
-
"context": "The long context required for the task, such as documents, books, code repositories, etc."
|
| 57 |
-
}
|
| 58 |
-
```
|
| 59 |
-
|
| 60 |
-
#### Evaluation
|
| 61 |
-
|
| 62 |
-
This repository provides data download for LongBench v2. If you wish to use this dataset for automated evaluation, please refer to our [github](https://github.com/THUDM/LongBench).
|
| 63 |
-
|
| 64 |
-
# Dataset Statistics
|
| 65 |
-
|
| 66 |
-
<p align="left"><img width="60%" alt="data_instance" src="https://cdn-uploads.huggingface.co/production/uploads/64ed568ccf6118a9379a61b8/6i10a4KKy5WS2xGAQ8h9E.png"></p>
|
| 67 |
-
|
| 68 |
-
<p align="left"><img width="70%" alt="data_instance" src="https://cdn-uploads.huggingface.co/production/uploads/64ed568ccf6118a9379a61b8/qWMf-xKmX17terdKxu9oa.png"></p>
|
| 69 |
-
|
| 70 |
# Citation
|
| 71 |
```
|
| 72 |
@article{bai2024longbench2,
|
|
|
|
| 9 |
tags:
|
| 10 |
- Long Context
|
| 11 |
- reasoning
|
| 12 |
+
- llama.cpp
|
| 13 |
size_categories:
|
| 14 |
- n<1K
|
| 15 |
license: apache-2.0
|
| 16 |
---
|
| 17 |
|
| 18 |
+
LongBench v2 converted for the llama.cpp perplexity multiple chice tool.
|
| 19 |
+
|
| 20 |
+
> [!WARNING]
|
| 21 |
+
> !! Currently does not work, will fix it in the near future. Probably.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
# LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitasks
|
| 26 |
|
| 27 |
🌐 Project Page: https://longbench2.github.io
|
|
|
|
| 36 |
|
| 37 |
**🔍 With LongBench v2, we are eager to find out how scaling inference-time compute will affect deep understanding and reasoning in long-context scenarios. View our 🏆 leaderboard [here](https://longbench2.github.io/#leaderboard) (updating).**
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
# Citation
|
| 40 |
```
|
| 41 |
@article{bai2024longbench2,
|