Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
@@ -1,84 +1,87 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
task_categories:
|
4 |
-
- question-answering
|
5 |
-
- text-generation
|
6 |
-
language:
|
7 |
-
- en
|
8 |
-
tags:
|
9 |
-
- multi-hop
|
10 |
-
- tool-calling
|
11 |
-
- reasoning
|
12 |
-
- qa
|
13 |
-
size_categories:
|
14 |
-
- 1K<n<10K
|
15 |
-
---
|
16 |
-
|
17 |
# Multi-Hop Tool Execution Dataset
|
18 |
|
19 |
-
This dataset contains
|
20 |
|
21 |
## Dataset Description
|
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 |
```python
|
47 |
from datasets import load_dataset
|
48 |
-
import json
|
49 |
|
50 |
# Load the dataset
|
51 |
dataset = load_dataset("Anna4242/multihop-tool-execution-dataset")
|
52 |
|
53 |
-
# Access train
|
54 |
train_data = dataset["train"]
|
55 |
-
|
56 |
|
57 |
# Example usage
|
58 |
-
example
|
59 |
-
|
60 |
-
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
-
|
63 |
-
sub_questions = json.loads(example['sub_questions'])
|
64 |
-
tool_chain = json.loads(example['tool_chain'])
|
65 |
-
execution_details = json.loads(example['step_by_step_execution'])
|
66 |
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
70 |
|
71 |
-
|
72 |
|
73 |
```bibtex
|
74 |
-
@dataset{
|
75 |
title={Multi-Hop Tool Execution Dataset},
|
76 |
author={Anna4242},
|
77 |
-
year={
|
78 |
url={https://huggingface.co/datasets/Anna4242/multihop-tool-execution-dataset}
|
79 |
}
|
80 |
```
|
81 |
|
82 |
-
|
83 |
|
84 |
This dataset is released under the MIT License.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Multi-Hop Tool Execution Dataset
|
2 |
|
3 |
+
This dataset contains multi-hop questions with tool execution results, designed for training and evaluating AI systems on complex reasoning tasks.
|
4 |
|
5 |
## Dataset Description
|
6 |
|
7 |
+
This dataset contains **1100 questions** ranging from 5-15 steps, each requiring multiple tool interactions to reach the final answer.
|
8 |
+
|
9 |
+
### Tools Used
|
10 |
+
- **duckduckgo_search**: Web search functionality
|
11 |
+
- **fetch_url_content**: URL content retrieval
|
12 |
+
- **python**: Mathematical calculations and data processing
|
13 |
+
|
14 |
+
### Dataset Schema
|
15 |
+
|
16 |
+
| Field | Type | Description |
|
17 |
+
|-------|------|-------------|
|
18 |
+
| `main_question` | string | The overarching question requiring multi-hop reasoning |
|
19 |
+
| `sub_questions` | list | List of sub-questions for each step |
|
20 |
+
| `domain` | string | Domain category (e.g., healthcare_metrics, technology_metrics) |
|
21 |
+
| `tool_chain` | list | Sequence of tools used |
|
22 |
+
| `question_length` | int64 | Number of steps in the question |
|
23 |
+
| `batch_number` | int64 | Batch number for organization |
|
24 |
+
| `batch_length` | int64 | Length category of the batch |
|
25 |
+
| `question_in_batch` | int64 | Position within the batch |
|
26 |
+
| `step_by_step_execution` | list | Detailed execution results for each step |
|
27 |
+
| `final_answer` | string | The computed final answer |
|
28 |
+
|
29 |
+
### Statistics
|
30 |
+
|
31 |
+
- **Total Questions**: 1100
|
32 |
+
- **Question Lengths**: 5-15 steps
|
33 |
+
- **Domains**: 9 different domains
|
34 |
+
- **Tool Usage Distribution**:
|
35 |
+
- Search operations: ~50%
|
36 |
+
- Content fetching: ~30%
|
37 |
+
- Python calculations: ~20%
|
38 |
+
|
39 |
+
### Usage
|
40 |
|
41 |
```python
|
42 |
from datasets import load_dataset
|
|
|
43 |
|
44 |
# Load the dataset
|
45 |
dataset = load_dataset("Anna4242/multihop-tool-execution-dataset")
|
46 |
|
47 |
+
# Access train/validation splits
|
48 |
train_data = dataset["train"]
|
49 |
+
val_data = dataset["validation"]
|
50 |
|
51 |
# Example usage
|
52 |
+
for example in train_data:
|
53 |
+
question = example["main_question"]
|
54 |
+
tools = example["tool_chain"]
|
55 |
+
answer = example["final_answer"]
|
56 |
+
print(f"Question: {question}")
|
57 |
+
print(f"Tools: {' → '.join(tools)}")
|
58 |
+
print(f"Answer: {answer}")
|
59 |
+
```
|
60 |
|
61 |
+
### Data Quality
|
|
|
|
|
|
|
62 |
|
63 |
+
All questions in this dataset have been executed and validated:
|
64 |
+
- Each question includes detailed step-by-step execution results
|
65 |
+
- Tool outputs are captured for each step
|
66 |
+
- Final answers are computed from the execution chain
|
67 |
+
|
68 |
+
### Citation
|
69 |
|
70 |
+
If you use this dataset, please cite:
|
71 |
|
72 |
```bibtex
|
73 |
+
@dataset{multihop_tool_execution_2024,
|
74 |
title={Multi-Hop Tool Execution Dataset},
|
75 |
author={Anna4242},
|
76 |
+
year={2024},
|
77 |
url={https://huggingface.co/datasets/Anna4242/multihop-tool-execution-dataset}
|
78 |
}
|
79 |
```
|
80 |
|
81 |
+
### License
|
82 |
|
83 |
This dataset is released under the MIT License.
|
84 |
+
|
85 |
+
---
|
86 |
+
|
87 |
+
Generated on 2025-08-12 06:03:05
|