transformers
b62e5b3e - fix(tvp): add missing type_vocab_size parameter to TvpConfig (#42928)

Commit
147 days ago
fix(tvp): add missing type_vocab_size parameter to TvpConfig (#42928) Fixes #42925 The `type_vocab_size` parameter was missing from TvpConfig, causing an AttributeError when instantiating TvpModel. This adds the parameter with a default value of 2, which matches all TVP models on Hugging Face Hub. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading