$ the-wire · showcase
Gemma 4 returns its audio encoder outputs again; WordLevel stops minting duplicate special-token ids
By RepoJournal · Filed · About Hugging Face · Composed from the cited sources · methodology
Multimodal plumbing dominates today: a Gemma 4 regression that silently nulled audio outputs is fixed, tokenizer kwarg handling gets aligned across processors, and WordLevel stops leaving holes in the vocabulary.
Fix Gemma 4 dropping `audio_outputs`, which made `audio_hidden_states` raise (#51301) huggingface/transformers
Since the earlier refactor, Gemma4Model.forward stashed the audio encoder result in a local audio_output and returned audio_outputs as None, and Gemma4ForConditionalGeneration.forward never passed it along, so with audio inputs the deprecated outputs.audio_hidden_states raised AttributeError. The fix returns the audio encoder outputs from both Gemma 4 and Gemma 4 Unified.
Add `_merge_and_standardize_kwargs` to image and video processors (#50706) huggingface/transformers
Image, video and audio processors gain _merge_and_standardize_kwargs plus _get_num_multimodal_tokens, which vLLM's Transformers modeling backend needs to size placeholders without actually running the processor. Processors whose models scatter features into inputs_embeds are the target set, so the backend can estimate token counts cheaply.
Merge kwargs in `_get_num_multimodal_tokens` of Ovis2.5, Fuyu, MUSE and Granite-Docling huggingface/transformers
Ovis2.5, Fuyu, MUSE and Granite-Docling now merge kwargs via self._merge_kwargs(**kwargs) inside _get_num_multimodal_tokens, as most other processors already do. The effect is that settings nested under images_kwargs or videos_kwargs now count when a token estimate is requested, instead of being dropped.
fix(wordlevel): don't give special tokens a second id when they appear in the corpus (#2588) huggingface/tokenizers
WordLevelTrainer chained special tokens and counted words together and enumerated the lot, so a token that also appeared in the corpus, or was listed twice, got inserted twice and its second id overwrote the first. Skipping entries already in the map removes the unused ids: training a WordLevel model on text containing "[UNK]" no longer leaves holes in the vocab.
feat(sim): sim_settings per suite, with features declared up front huggingface/lerobot
Simulator settings were resolved once per run, so a repository mixing a 50 Hz humanoid suite and a 15 Hz arm suite had to pick a single fps, and a server handed every session the first suite's settings and refused suites with differing observations. SimSettings now resolve per suite, with features declared up front rather than discovered by building a simulator. The robot-side long tail is quie...