Kroha-base-dev / dna_config.json
d0rj's picture
Publish complete Kroha training checkpoints and TensorBoard history
123d4d6 verified
Raw History Blame Contribute Delete
1.28 kB
{
"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"
}