Zum Inhalt springen

Transformers Updates & Release Notes

Einträge
44
Quellen
1
Zuletzt aktualisiert

Folge Transformers, um die Release Notes in deinen Feed zu holen.

Transformers von Hugging Face

Transformers 5.5.2: Gemma4-Optimierungen und Fixes

Das Patch-Release 5.5.2 optimiert gemma4, behebt die Inferenz mit use_cache=False trotz geteilter k/v-Zustände zwischen Layern, ergänzt MoE im Gemma4-TP-Plan und korrigiert Conversion Mappings für VLMs mit uneinheitlich serialisierten Gewichtsnamen.

Small patch dedicated to optimizing gemma4, fixing inference with use_cache=False due to k/v states sharing between layers, as well as conversion mappings for some models that would inconsistently serialize their weight names. It contains the following PRs:

  • Add MoE to Gemma4 TP plan (#45219) by @sywangyi and @Cyrilvallez
  • [gemma4] Dissociate kv states sharing from the Cache (#45312) by @Cyrilvallez
  • [gemma4] Remove all shared weights, and silently skip them during loading (#45336) by @Cyrilvallez
  • Fix conversion mappings for vlms (#45340) by @Cyrilvallez

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.1: Fixes für vLLM und Gemma4

Das kleine Patch-Release 5.5.1 behebt den Export für gemma4, ergänzt Integrationstests und korrigiert vLLM-CI-Probleme.

Patch release v5.5.1

This patch is very small and focuses on vLLM and Gemma4!

** Fix export for gemma4 and add Integration tests (#45285) by @Cyrilvallez ** Fix vllm cis (#45139) by @ArthurZucker

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.0: Neues Modell Gemma4

Version 5.5.0 fügt das multimodale Modell Gemma4 hinzu, das Bilder unterschiedlicher Größe mit einem festen Token-Budget verarbeitet und dafür eine Bildverarbeitung sowie 2D-RoPE nutzt.

Release v5.5.0

<img width="2786" height="1504" alt="image" src="https://github.com/user-attachments/assets/6c8c878f-042b-4858-9f64-73fd9ccd7e4b" />

New Model additions

Gemma4

Gemma 4 is a multimodal model with pretrained and instruction-tuned variants, available in 1B, 13B, and 27B parameters. The architecture is mostly the same as the previous Gemma versions. The key differences are a vision processor that can output images of fixed token budget and a spatial 2D RoPE to encode vision-specific information across height and width axis.

<img width="1478" height="1374" alt="image" src="https://github.com/user-attachments/assets/9d88bd1b-02ea-4829-b7d0-fac0e347d436" />

You can find all the original Gemma 4 checkpoints under the Gemma 4 release.

The key difference from previous Gemma releases is the new design to process images of different sizes using a fixed-budget number of tokens. Unlike many models that squash every image into a fixed square (like 224×224), Gemma 4 keeps the image's natural aspect ratio while making it the right size. There a a couple constraints to follow:

  • The total number of pixels must fit within a patch budget
  • Both height and width must be divisible by 48 (= patch size 16 × pooling kernel 3)

[!IMPORTANT] …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.4.0: PaddlePaddle-Modelle, Mistral 4, VidEoMT und mehr

Version 5.4.0 ergänzt neue Modelle, darunter VidEoMT, einen leichtgewichtigen Encoder-only-Transformer für Online-Videosegmentierung, sowie UVDoc, PI0, SLANeXt, Mistral 4 und Jina Embeddings v3.

New Model additions

VidEoMT

<img width="1480" height="460" alt="image" src="https://github.com/user-attachments/assets/bec6fc25-b0ab-4227-8c2b-a838554f37f3" />

Video Encoder-only Mask Transformer (VidEoMT) is a lightweight encoder-only model for online video segmentation built on a plain Vision Transformer (ViT). It eliminates the need for dedicated tracking modules by introducing a lightweight query propagation mechanism that carries information across frames and employs a query fusion strategy that combines propagated queries with temporally-agnostic learned queries. VidEoMT achieves competitive accuracy while being 5x-10x faster than existing approaches, running at up to 160 FPS with a ViT-L backbone.

Links: Documentation | Paper

  • Add VidEoMT (#44285) by @NielsRogge in #44285

UVDoc

<img width="1765" height="875" alt="image" src="https://github.com/user-attachments/assets/365e510e-8fb8-46cb-8f4b-e8b7082f0ae2" /> …

Originalquelle(öffnet in neuem Tab)Problem melden