Gptq tokenized dataset (#1584)
* allow tokenized dataset
* style
* Update optimum/gptq/quantizer.py
Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
* Update optimum/gptq/quantizer.py
Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
* Update optimum/gptq/quantizer.py
Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
* Update optimum/gptq/quantizer.py
Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>
* add example in docstring
---------
Co-authored-by: fxmarty <9808326+fxmarty@users.noreply.github.com>