SIGN IN SIGN UP

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

0 0 183 Python

[Backend support] Allow `num_logits_to_keep` as Tensor + add flag (#35757)

* support

* Update modeling_utils.py

* style

* most models

* Other models

* fix-copies

* tests + generation utils
C
Cyril Vallez committed
d3af76df58476830eb5b5981decc64af15e369f5
Parent: 8736e91
Committed by GitHub <noreply@github.com> on 1/23/2025, 8:47:54 AM