transformers
67fd5bc2 - Fix: Eurobert model was missing @strict decorator and invalid test kwargs (#44767)

Commit
3 days ago
Fix: Eurobert model was missing @strict decorator and invalid test kwargs (#44767) * Fix: added missing attribute in docstring * Fix EuroBertConfig missing @strict decorator and invalid test kwargs EuroBertConfig was missing `@strict(accept_kwargs=True)` unlike its parent LlamaConfig, causing failures when reloading saved configs that include extra keys like `architectures`. Also fixed the test helper passing BERT-style kwargs (`hidden_dropout_prob`, `type_vocab_size`, `is_decoder`) that don't exist on the Llama-based config. * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Author
Parents
Loading