File size: 611 Bytes
761ff36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Tokenizer Preprocessing

Tokenizer training should sample across files instead of consuming the first
large file only. Use round-robin sampling from checkpoint shards to avoid
language and domain skew.

## Keep

- Exact indentation.
- Blank lines.
- Comments and docstrings.
- Mixed Korean/English comments.
- Repository/file/language metadata when represented in text.

## Drop Or Quarantine

- Empty text.
- Null bytes.
- Obvious credentials, tokens, private keys, and secrets.
- Malformed JSONL.
- Extremely long records that exceed the active model context unless the loader
  has deterministic chunking.