The following `model_kwargs` are not used by the model
#72
by
zoher15
- opened
Hi there,
I am getting the following error while trying to use Mistral Nemo on Nvidia A100:
File "/miniconda3/envs/table-talk/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/miniconda3/envs/table-talk/lib/python3.10/site-packages/transformers/generation/utils.py", line 1689, in generate
self._validate_model_kwargs(model_kwargs.copy())
File "/miniconda3/envs/table-talk/lib/python3.10/site-packages/transformers/generation/utils.py", line 1243, in _validate_model_kwargs
raise ValueError(
ValueError: The following `model_kwargs` are not used by the model: ['token_type_ids'] (note: typos in the generate arguments will also show up in this list)
I am using python 3.10 and transformers 4.45.0.dev0.