Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -36,7 +36,7 @@ A filtered extract of terminal and command-line content from two large web-text
|
|
| 36 |
1. **Fast filter**: skip any document that doesn't contain obvious CLI indicators (`$`, `sudo`, `pip install`, `` ```bash ``, `root@`, etc.)
|
| 37 |
2. **Score**: remaining docs are scored (0-34) across five signals, each with a per-match point value and a cap:
|
| 38 |
|
| 39 |
-
|
|
| 40 |
|---|---|---|---|
|
| 41 |
| Prompt patterns | Shell prompts like `$ cmd`, `user@host:~$`, `>>>`, `root@`, `PS C:\` | 2 per match | 10 |
|
| 42 |
| CLI commands | Known commands: `sudo`, `apt-get`, `pip install`, `git clone`, `docker run`, `curl`, `ssh`, `gcc`, etc. (30+ patterns) | 1 per unique match | 8 |
|
|
@@ -44,7 +44,7 @@ A filtered extract of terminal and command-line content from two large web-text
|
|
| 44 |
| Code blocks | Terminal-flavored code blocks: `` ```bash ``, `` ```shell ``, `<pre><code>`, terminal/console div classes | 2 per match | 6 |
|
| 45 |
| Indented blocks | 3+ consecutive lines indented 4+ spaces (code/output blocks) | 1 per match | 4 |
|
| 46 |
|
| 47 |
-
Documents scoring
|
| 48 |
|
| 49 |
3. **Dedup**: exact dedup across both datasets using xxhash64 on full text.
|
| 50 |
|
|
|
|
| 36 |
1. **Fast filter**: skip any document that doesn't contain obvious CLI indicators (`$`, `sudo`, `pip install`, `` ```bash ``, `root@`, etc.)
|
| 37 |
2. **Score**: remaining docs are scored (0-34) across five signals, each with a per-match point value and a cap:
|
| 38 |
|
| 39 |
+
| Filter | Description | Points | Cap |
|
| 40 |
|---|---|---|---|
|
| 41 |
| Prompt patterns | Shell prompts like `$ cmd`, `user@host:~$`, `>>>`, `root@`, `PS C:\` | 2 per match | 10 |
|
| 42 |
| CLI commands | Known commands: `sudo`, `apt-get`, `pip install`, `git clone`, `docker run`, `curl`, `ssh`, `gcc`, etc. (30+ patterns) | 1 per unique match | 8 |
|
|
|
|
| 44 |
| Code blocks | Terminal-flavored code blocks: `` ```bash ``, `` ```shell ``, `<pre><code>`, terminal/console div classes | 2 per match | 6 |
|
| 45 |
| Indented blocks | 3+ consecutive lines indented 4+ spaces (code/output blocks) | 1 per match | 4 |
|
| 46 |
|
| 47 |
+
Documents scoring >=5 are kept.
|
| 48 |
|
| 49 |
3. **Dedup**: exact dedup across both datasets using xxhash64 on full text.
|
| 50 |
|