Jaiccc commited on
Commit
8c6b0dd
·
verified ·
1 Parent(s): 4ab5788

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -6
README.md CHANGED
@@ -5,7 +5,11 @@ task_categories:
5
  - token-classification
6
  pretty_name: Terminal Recording Group Boundary Timestamps
7
  size_categories:
8
- - 10K<n<100K
 
 
 
 
9
  ---
10
 
11
  # Terminal Recording Group Boundary Dataset
@@ -15,12 +19,33 @@ This dataset consists of raw terminal recording logs in XML format, paired with
15
  ## Dataset Structure
16
 
17
  Each entry in the `.jsonl` file contains:
18
- - **instruction**: A specialized prompt identifying the `start_timestamp` and the extraction rules.
19
- - **input**: Raw XML chunks including `<user_input>` and `<system_output>` tags, preserving all ANSI escape codes.
20
- - **output**: The target timestamp of the **first-most** shell prompt found after the starting point.
21
 
22
  ## Purpose
 
23
  This data is designed to train **Model 0** to navigate messy terminal logs and precisely identify the point where a command execution ends and the shell prompt returns.
24
 
25
- ## Generation
26
- Generated using a sliding window script that captures sequences between established boundary markers.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  - token-classification
6
  pretty_name: Terminal Recording Group Boundary Timestamps
7
  size_categories:
8
+ - n < 1K
9
+ tags:
10
+ - terminal
11
+ - xml
12
+ - boundary-detection
13
  ---
14
 
15
  # Terminal Recording Group Boundary Dataset
 
19
  ## Dataset Structure
20
 
21
  Each entry in the `.jsonl` file contains:
22
+ * **instruction**: A specialized prompt identifying the `start_timestamp` and the extraction rules.
23
+ * **input**: Raw XML chunks including `<user_input>` and `<system_output>` tags, preserving all ANSI escape codes.
24
+ * **output**: The target timestamp of the **first-most** shell prompt found after the starting point.
25
 
26
  ## Purpose
27
+
28
  This data is designed to train **Model 0** to navigate messy terminal logs and precisely identify the point where a command execution ends and the shell prompt returns.
29
 
30
+ ## Generation Logic & Sliding Windows (Important)
31
+
32
+ The ultimate goal of **Model 0** is to accurately chunk continuous terminal recordings into distinct "events." The label the model must predict is the **boundary timestamp**—the exact moment one event ends and a new one begins.
33
+
34
+ To generate robust training data, we use a sliding window approach encompassing exactly **three consecutive boundary timestamps** ($T_1$, $T_2$, and $T_3$) for each input:
35
+
36
+ * **$T_1$ (The Anchor):** The known starting timestamp of the current event.
37
+ * **$T_2$ (The Target):** The actual event boundary the model must predict.
38
+ * **$T_3$ (The Context Cutoff):** The end of the input window.
39
+
40
+
41
+ ### Why include the third timestamp ($T_3$)?
42
+
43
+ Each input is fed to the model containing all `<user_input>` and `<system_output>` XML tags from $T_1$ all the way to $T_3$. If the input simply stopped at $T_2$, the task would be trivial: the model would just learn a shortcut to extract the very last timestamp present in the text. By including the data up to $T_3$, the model is forced to semantically identify the actual boundary dividing the two separate events within the continuous log.
44
+
45
+ ### Example
46
+
47
+ Assume a recording has three sequential boundaries: `0.007194`, `21.987222`, and `37.178971`.
48
+ * **Input:** Contains all XML chunks from `0.007194` to `37.178971`.
49
+ * **Event 1:** The context between `0.007194` and `21.987222`.
50
+ * **Event 2:** The context between `21.987222` and `37.178971`.
51
+ * **Target Output:** `21.987222` (the dividing boundary between Event 1 and Event 2).