transformers
Every fix recorded for this tool, newest first.
- ValueError: An error occurred
- ValueError: When using FSDP2, a model and optimizer must be passed together to
Accelerator.prepare()as the optimizer needs to have its parameters modified - KeyError: '
<kernel-repo>is not a valid attention implementation registered in theAttentionInterface' at forward, - IndexError: list index out of range at if (final_message := chat[-1].get(continue_final_message)) is None: in render_jinja_template, from apply_chat_template(batch, continue_final_message=True)
- KeyError: 'rope_type' at self.rope_type = self.config.rope_parameters["rope_type"] in the RotaryEmbedding,
- jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'content'
- TypeError: 'bool' object is not iterable
- audio-classification pipeline returns [{'score': 1.0, 'label': 'LABEL_0'}] for every input of a regression checkpoint (problem_type="regression", num_labels=1)
- TypeError:
bernoulli()received an invalid combination of arguments - ValueError: 'max_new_tokens' is defined twice, once in 'generate_kwargs' and once as a direct parameter, please use only one
- NameError: name 'nn' is not defined
- huggingface_hub.errors.StrictDataclassFieldValidationError: Validation error for field 'hidden_dropout_prob':