Anna4242 commited on
Commit
bb6cee8
·
verified ·
1 Parent(s): 29e3f68

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +59 -56
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 1,100 multi-hop questions with step-by-step tool execution and answers.
20
 
21
  ## Dataset Description
22
 
23
- - **Total Questions**: 1,100
24
- - **Question Complexity**: 5-15 steps
25
- - **Questions per Length**: 100 each
26
- - **Tools Used**: duckduckgo_search, fetch_url_content, python
27
- - **Splits**: Train (990), Validation (110)
28
-
29
- ## Dataset Structure
30
-
31
- Each example contains:
32
- - `id`: Unique question identifier
33
- - `main_question`: The overarching multi-hop question
34
- - `sub_questions`: JSON string of sub-questions for each step
35
- - `domain`: Question domain (e.g., financial_analysis, technology_metrics)
36
- - `tool_chain`: JSON string of tools used in sequence
37
- - `question_length`: Number of steps in the question
38
- - `batch_number`: Batch number this question belongs to
39
- - `batch_length`: Length category of this question (5-15)
40
- - `question_in_batch`: Position of this question within its batch
41
- - `step_by_step_execution`: JSON string of detailed execution results
42
- - `final_answer`: The computed final answer
43
-
44
- ## Usage
 
 
 
 
 
 
 
 
 
 
 
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 split
54
  train_data = dataset["train"]
55
- print(f"Train examples: {len(train_data)}")
56
 
57
  # Example usage
58
- example = train_data[0]
59
- print(f"Question: {example['main_question']}")
60
- print(f"Steps: {example['question_length']}")
 
 
 
 
 
61
 
62
- # Parse JSON fields
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
- print(f"Sub-questions: {len(sub_questions)}")
68
- print(f"Tools: {tool_chain}")
69
- ```
 
 
 
70
 
71
- ## Citation
72
 
73
  ```bibtex
74
- @dataset{multihop_tool_execution,
75
  title={Multi-Hop Tool Execution Dataset},
76
  author={Anna4242},
77
- year={2025},
78
  url={https://huggingface.co/datasets/Anna4242/multihop-tool-execution-dataset}
79
  }
80
  ```
81
 
82
- ## License
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