Carbon-3B / tokenizer.py

Commit History

  1. Support return_assistant_tokens_mask on slow HybridDNATokenizer for completion-only SFT (apply_chat_template token-boundary mask override)

    kashif HF Staff
    Verified signature
    95c3c68

  1. load chat_template in from_pretrained (vLLM apply_chat_template fix)

    kashif HF Staff
    Verified signature
    1f15b8c

  1. load chat_template in from_pretrained (vLLM apply_chat_template fix)

    kashif HF Staff
    Verified signature
    f2dd7fa

  1. fix convert_tokens_to_string byte-level detok (vLLM)

    kashif HF Staff
    Verified signature
    b232b2e

  1. tokenizer: expose .vocab property for fast-tokenizer-style callers (#4)⁠

    kashif HF Staff
    7fe1e11

  1. tokenizer: fix decode() to handle torch tensor input via .tolist()

    kashif HF Staff
    Verified signature
    ac0ca80
  2. Update tokenizer.py

    Verified signature
    cac27f2

  1. Fix tokenizer: EOS bug + decode skip_special_tokens=True empty string (#1)⁠

    kashif HF Staff
    f47e012

  1. Initial release · sourced from hf-carbon/carbon-3B-longctx-32k-from-mix2decay-429k @ step-453000

    loubnabnl HF Staff
    Verified signature
    12de471