Hugging Face Trending Papers

One Byte, One Token: Byteifying a 27B Hybrid-Attention LLM with Self-Generated Data

Read the original on Hugging Face Trending Papers →

The paper explores converting a 27B subword language model (Qwen3.8-27B) into a pure byte‑level model by shrinking its vocabulary to 384 byte symbols and retraining on self‑generated byte‑level data. The resulting model retains most of the original performance on benchmarks such as MATH‑500 and HumanEval+, while improving character‑level tasks in Chinese but losing some knowledge about Chinese characters. The conversion incurs a throughput penalty, producing fewer tokens per step and slower prefill performance, and the authors identify and address four failure modes specific to byte‑level modeling.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv Machine Learning
Nov 11

One Byte, One Token: Byteifying a 27B Hybrid-Attention LLM with Self-Generated Data

The paper reports converting a 27‑billion‑parameter subword language model (Qwen3.8‑27B) into a pure byte‑level model by reducing its vocabulary to 384 tokens and retraining on self‑generated byte‑level data. The resulting byte model retains most of the original performance on benchmarks such as MATH‑500, HumanEval+, and MMLU‑Pro, while achieving superior results on character‑level Chinese tasks but suffering from slower throughput and reduced knowledge lookup for Chinese characters. The study also identifies and remedies four failure modes specific to byte‑level modeling.

By Liwei Zhang, ZhiMing Tong
arXiv Computation and Language
Oct 19

Pearl-Chat: Engineering a native Luganda language model from first principles in JAX and Flax NNX

Pearl-Chat is an 8.5‑million‑parameter causal decoder‑only transformer built from first principles in JAX and Flax NNX, specifically engineered for the low‑resource Bantu language Luganda. It uses a byte‑level BPE tokenizer trained from scratch on curated Luganda corpora, achieving a two‑fold compression improvement over larger models like LLaMA‑3 and Gemma. The model is trained in two stages—pre‑training on diverse Luganda text and instruction fine‑tuning on dialogues—reaching a validation perplexity of 1.20 and high ROUGE‑L and BLEU scores on a held‑out diagnostic benchmark, with all weights, tokenizers, and code released openly.

By Wesley Kambale, Roland Sankara
arXiv Machine Learning
Aug 28

Vowel Signs Are Not Letters: A Pre-tokenization Ceiling on Multilingual Tokenizer Fertility

The paper shows that HuggingFace’s ByteLevel pre‑tokenizer, which treats a word as a sequence of Unicode letters, splits abugida scripts at every vowel sign, creating a training‑free lower bound on tokenizer fertility. Across 26 languages, all 17 abugidas exhibit increased token counts (up to 9×), while Latin, Cyrillic, Hangul, and Han remain unchanged. The authors demonstrate that correcting the character class reduces Nepali token counts, improves model performance, and that this issue is widespread in popular HuggingFace models.

By Sajal Regmi, Siddhartha Pudasaini, Chetan Phakami Pun
arXiv Computation and Language
1d ago

How Many Bytes Has a BPE Model Seen? Estimating Byte-Token Exposure in Pretraining from Corpus Statistics and Embedding Norms

The paper investigates how many times byte‑level BPE tokens have been exposed during pretraining of large language models. By tokenizing 540 MB of public corpora across 40 domains and 33 languages, the authors estimate that single‑byte tokens comprise 13–36% of tokens, while genuine UTF‑8 fallback bytes (0x80–0xFF) appear only 0.15–0.27% of the time, roughly 2 billion occurrences per trillion pretraining tokens. A second, independent method compares embedding and output‑matrix row norms to infer exposure, confirming that high‑frequency legal bytes have larger norms while the 13 invalid UTF‑8 bytes remain at initialization; the two estimates agree within a factor of four for the Qwen3.8 model.

By Liwei Zhang, ZhiMing Tong, Mochen Guan, Linzhe Li
arXiv AI
Aug 11

Length-MAX Tokenizer for Language Models

arXiv:2511. 20849v2 Announce Type: replace-cross Abstract: We introduce a new tokenizer for language models that minimizes the average tokens per character, thereby reducing the number of tokens needed to represent text during training and to generate text during inference.

By Dong Dong, Weijie Su