Enrique Molero commited on
Commit
4589ae0
·
verified ·
1 Parent(s): d9d93ee

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +194 -0
README.md ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ task_categories:
6
+ - multiple-choice
7
+ - question-answering
8
+ tags:
9
+ - telecommunications
10
+ - 5G
11
+ - network-analysis
12
+ - root-cause-analysis
13
+ pretty_name: TeleLogs (Processed MCQ Format)
14
+ size_categories:
15
+ - n<1K
16
+ dataset_info:
17
+ features:
18
+ - name: question
19
+ dtype: string
20
+ - name: answer
21
+ dtype: int64
22
+ - name: choices
23
+ sequence: string
24
+ splits:
25
+ - name: test
26
+ num_bytes: 5242880
27
+ num_examples: 864
28
+ download_size: 5242880
29
+ dataset_size: 5242880
30
+ configs:
31
+ - config_name: default
32
+ data_files:
33
+ - split: test
34
+ path: telelogs_test.json
35
+ ---
36
+
37
+ # TeleLogs Dataset (Processed MCQ Format)
38
+
39
+ This dataset has been extracted from the original [netop/TeleLogs](https://huggingface.co/datasets/netop/TeleLogs) dataset and processed into multiple-choice question (MCQ) format for easier evaluation.
40
+
41
+ ## Dataset Description
42
+
43
+ TeleLogs is a telecommunications log analysis benchmark where models must identify the root cause of network issues from 5G wireless network drive-test data and engineering parameters.
44
+
45
+ ### Processed Format
46
+
47
+ This version has been restructured for MCQ evaluation with the following improvements:
48
+
49
+ - **Clean separation** of question data, choices, and instructions
50
+ - **0-based indexing** for answers (0-7 instead of 1-8)
51
+ - **Extracted choices** as a proper array field
52
+ - **Removed template text** from questions
53
+
54
+ ## Dataset Structure
55
+
56
+ ### Data Instances
57
+
58
+ Each instance contains:
59
+ - `question`: The actual network data (drive-test logs, engineering parameters, tables)
60
+ - `choices`: Array of 8 possible root causes
61
+ - `answer`: Integer index (0-7) indicating the correct choice
62
+
63
+ Example:
64
+ ```json
65
+ {
66
+ "question": "Given:\n- The default electronic downtilt value is 255...\n\nUser plane drive test data as follows:\n\n<tables>...",
67
+ "choices": [
68
+ "The serving cell's downtilt angle is too large, causing weak coverage at the far end.",
69
+ "The serving cell's coverage distance exceeds 1km, resulting in over-shooting.",
70
+ ...
71
+ ],
72
+ "answer": 3
73
+ }
74
+ ```
75
+
76
+ ### Data Fields
77
+
78
+ - `question` (string): The network data and parameters to analyze. Typically starts with "Given:" and includes:
79
+ - Configuration parameters
80
+ - Drive test data tables
81
+ - Engineering parameters tables
82
+
83
+ - `choices` (list of strings): Array of exactly 8 possible root causes
84
+
85
+ - `answer` (integer): The correct answer index (0-7), where:
86
+ - 0 = First choice (originally C1)
87
+ - 1 = Second choice (originally C2)
88
+ - ...
89
+ - 7 = Eighth choice (originally C8)
90
+
91
+ ### Data Splits
92
+
93
+ | | test |
94
+ |-----|------|
95
+ | TeleLogs | 864 |
96
+
97
+ ## Transformations Applied
98
+
99
+ This processed version applies three key transformations:
100
+
101
+ ### 1. Answer Column
102
+ - **Original**: `C1`, `C2`, ..., `C8`
103
+ - **Processed**: `0`, `1`, ..., `7`
104
+ - Converted to 0-based indexing to match array positions
105
+
106
+ ### 2. Choices Column (New)
107
+ - Extracted 8 choices cleanly from the original question text
108
+ - Each choice stored as array element
109
+ - For C8, stops at `\n\n` separator before actual question data
110
+
111
+ ### 3. Question Column
112
+ - **Removed**: Template instructions (e.g., "Analyze the 5G wireless network...")
113
+ - **Removed**: Choice listings (C1-C8 with their text)
114
+ - **Kept**: Only the actual question data after `\n\n`
115
+ - Typically starts with "Given:" and includes all data tables
116
+
117
+ ## Dataset Creation
118
+
119
+ ### Source Data
120
+
121
+ Original dataset: [netop/TeleLogs](https://huggingface.co/datasets/netop/TeleLogs)
122
+
123
+ ### Processing Pipeline
124
+
125
+ 1. Load original TeleLogs dataset from HuggingFace
126
+ 2. Extract test split
127
+ 3. Parse and separate choices from question text using regex
128
+ 4. Convert answer format from C1-C8 to 0-7
129
+ 5. Remove instruction template and choice listings
130
+ 6. Export to multiple formats (CSV, JSON, Parquet)
131
+
132
+ ### Processing Scripts
133
+
134
+ The processing scripts are available at: [Telecom-Bench](https://github.com/eaguaida/Telecom-Bench)
135
+
136
+ ## Usage
137
+
138
+ ### Loading with Hugging Face Datasets
139
+
140
+ ```python
141
+ from datasets import load_dataset
142
+
143
+ dataset = load_dataset("eaguaida/telelogs")
144
+ ```
145
+
146
+ ### Using with Inspect AI
147
+
148
+ ```python
149
+ from inspect_ai import Task
150
+ from inspect_ai.dataset import Sample
151
+ from inspect_ai.scorer import choice
152
+ from inspect_ai.solver import multiple_choice
153
+
154
+ def telelogs_record_to_sample(record):
155
+ return Sample(
156
+ input=record["question"],
157
+ choices=record["choices"],
158
+ target=chr(65 + record["answer"]), # Convert 0->A, 1->B, etc.
159
+ )
160
+
161
+ # Load and evaluate
162
+ dataset = load_dataset("eaguaida/telelogs", sample_fields=telelogs_record_to_sample)
163
+ task = Task(dataset=dataset, solver=multiple_choice(), scorer=choice())
164
+ ```
165
+
166
+ ## File Formats
167
+
168
+ The dataset is available in multiple formats:
169
+
170
+ - **`telelogs_test.parquet`**: Parquet format (recommended, most efficient)
171
+ - **`telelogs_test.json`**: JSON format (human-readable)
172
+ - **`telelogs_test.csv`**: CSV format (note: choices stored as JSON string)
173
+
174
+ ## Licensing
175
+
176
+ This dataset maintains the same license as the original TeleLogs dataset.
177
+
178
+ ## Citation
179
+
180
+ If you use this dataset, please cite the original TeleLogs dataset:
181
+
182
+ ```bibtex
183
+ @dataset{telelogs2024,
184
+ title={TeleLogs: Telecommunications Log Analysis Dataset},
185
+ author={Original Authors},
186
+ year={2024},
187
+ publisher={HuggingFace},
188
+ url={https://huggingface.co/datasets/netop/TeleLogs}
189
+ }
190
+ ```
191
+
192
+ ## Contact
193
+
194
+ For questions or issues with this processed version, please open an issue at [Telecom-Bench](https://github.com/eaguaida/Telecom-Bench).