File size: 1,276 Bytes
123d4d6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  "version": "b64-dna6-v3",
  "base_vocabulary_size": 65536,
  "vocab_size": 69650,
  "k": 6,
  "canonical_alphabet": "ACGT",
  "fallback_alphabet": "ACGTURYSWKMBDHVN",
  "begin_id": 65536,
  "end_id": 65537,
  "kmer_id_start": 65538,
  "kmer_count": 4096,
  "base_id_start": 69634,
  "base_count": 16,
  "canonical_order": "itertools.product(ACGT, repeat=6), lexicographic",
  "raw_text_default": true,
  "auto_detection": false,
  "normalization": "identity",
  "fallback": "Each noncanonical six-character block/short tail is encoded character by character; uppercase IUPAC gets DNA symbols; other characters use unchanged raw BPE",
  "offsets": "Unicode character offsets and IUPAC-base offsets; gaps/layout have zero bp width",
  "decoder": "Native Tokenizers Replace-per-piece then unchanged ByteLevel; no remote/custom decoder",
  "encoding_entrypoint": "tiny_llm.dna.DNACodec",
  "chat": "Same text chat template; DNACodec.encode enables tagged DNA/spans and preserves assistant masks",
  "reserve": "Original 51 reserved IDs remain unchanged and unconsumed",
  "FNS": "Not implemented; offsets and DNA ID ranges exposed for future training integration",
  "future_model_scope": "New vocabulary requires matching embedding/head rows; does not migrate old weights"
}