russellsparadox

Results 17 comments of russellsparadox

I tried to follow [this suggestion](https://github.com/lvwerra/trl/blob/main/examples/sentiment/scripts/gpt2-sentiment_peft.py#L143-L157) but got the following error:

I uninstall and reinstalled everything with: ``` pip install git+https://github.com/huggingface/peft.git pip install git+https://github.com/huggingface/accelerate.git pip install git+https://github.com/huggingface/transformers.git ``` It didn't help and it gives familiar: `RuntimeError: expected scalar type Half but...

Hi @Jblauvs , Do you mind sharing here particular lines of code you changed?