Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# ## Dataset Card: Terminal Log Boundary Prediction (Streaming)
|
| 2 |
|
| 3 |
### 📋 Dataset Summary
|
| 4 |
-
This dataset is designed to train Large Language Models
|
| 5 |
phase transitions, or **"boundaries,"** within continuous terminal XML logs.
|
| 6 |
|
| 7 |
The dataset uses a **sliding-window approach**. Instead of reading a
|
|
@@ -9,27 +9,22 @@ massive log file at once, the model analyzes a short history of events
|
|
| 9 |
to determine if the **Target Line** (the final entry) marks a new
|
| 10 |
logical event or the continuation of an ongoing process.
|
| 11 |
|
| 12 |
-
---
|
| 13 |
-
|
| 14 |
### 🗂️ Dataset Structure
|
| 15 |
-
The dataset is in `JSONL` format,
|
| 16 |
-
Each row contains three primary fields:
|
| 17 |
|
| 18 |
* **`instruction`**: The system prompt defining "new" vs. "old" events.
|
| 19 |
* **`input`**: The sliding-window data, split into:
|
| 20 |
-
* `### CONTEXT`: Up to 14 historical XML chunks.
|
| 21 |
-
* `### TARGET LINE`: The 15th chunk to be classified.
|
| 22 |
* **`label / output`**: Formatted as `{timestamp}, {class} event`.
|
| 23 |
|
| 24 |
### 🎯 The Model's Goal
|
| 25 |
The primary objective of the model is **binary classification of sequential data**.
|
| 26 |
By looking at the historical context (e.g., "The terminal has been downloading
|
| 27 |
-
packages for the last 14
|
| 28 |
the Target Line breaks that pattern and establishes a new boundary (e.g.,
|
| 29 |
"The download finished and the shell prompt returned").
|
| 30 |
|
| 31 |
-
---
|
| 32 |
-
|
| 33 |
### ✂️ Rules of Truncation
|
| 34 |
Raw terminal logs (like `apt-get` installations) can easily overflow an LLM's
|
| 35 |
context window. To prevent this, the data engineering pipeline applies a
|
|
@@ -53,7 +48,6 @@ is compressed:
|
|
| 53 |
* This preserves the chronological timeline and sequence of events
|
| 54 |
without bloating the token count.
|
| 55 |
|
| 56 |
-
---
|
| 57 |
|
| 58 |
### ⚖️ Data Sampling & Balancing
|
| 59 |
In a typical terminal log, over 95% of the lines are "Old Events," which
|
|
|
|
| 1 |
# ## Dataset Card: Terminal Log Boundary Prediction (Streaming)
|
| 2 |
|
| 3 |
### 📋 Dataset Summary
|
| 4 |
+
This dataset is designed to train Large Language Models to detect
|
| 5 |
phase transitions, or **"boundaries,"** within continuous terminal XML logs.
|
| 6 |
|
| 7 |
The dataset uses a **sliding-window approach**. Instead of reading a
|
|
|
|
| 9 |
to determine if the **Target Line** (the final entry) marks a new
|
| 10 |
logical event or the continuation of an ongoing process.
|
| 11 |
|
|
|
|
|
|
|
| 12 |
### 🗂️ Dataset Structure
|
| 13 |
+
The dataset is in `JSONL` format, each row contains three primary fields:
|
|
|
|
| 14 |
|
| 15 |
* **`instruction`**: The system prompt defining "new" vs. "old" events.
|
| 16 |
* **`input`**: The sliding-window data, split into:
|
| 17 |
+
* `### CONTEXT`: Up to 14 historical XML chunks. (Or 14 timestamps)
|
| 18 |
+
* `### TARGET LINE`: The 15th chunk to be classified. (Or the 15-th timestamp)
|
| 19 |
* **`label / output`**: Formatted as `{timestamp}, {class} event`.
|
| 20 |
|
| 21 |
### 🎯 The Model's Goal
|
| 22 |
The primary objective of the model is **binary classification of sequential data**.
|
| 23 |
By looking at the historical context (e.g., "The terminal has been downloading
|
| 24 |
+
packages for the last 14 timesteps"), the model must predict if the timestamp in
|
| 25 |
the Target Line breaks that pattern and establishes a new boundary (e.g.,
|
| 26 |
"The download finished and the shell prompt returned").
|
| 27 |
|
|
|
|
|
|
|
| 28 |
### ✂️ Rules of Truncation
|
| 29 |
Raw terminal logs (like `apt-get` installations) can easily overflow an LLM's
|
| 30 |
context window. To prevent this, the data engineering pipeline applies a
|
|
|
|
| 48 |
* This preserves the chronological timeline and sequence of events
|
| 49 |
without bloating the token count.
|
| 50 |
|
|
|
|
| 51 |
|
| 52 |
### ⚖️ Data Sampling & Balancing
|
| 53 |
In a typical terminal log, over 95% of the lines are "Old Events," which
|