Text2Text Generation
Transformers
Inference Endpoints

PEFT package needs to be installed

#2
by julian-schelb - opened

Hello,

I noticed that loading the model using the example code provided fails with the following error message if the peft package is not installed:

OSError: grammarly/medit-xl does not appear to have a file named config.json. Checkout 'https://huggingface.co./grammarly/medit-xl/main' for available files.

Installing the package with pip install peft fixes this issue. I hope this helps anyone who is also confused by this.

Best,
Julian

Grammarly org

Thanks @julian-schelb ! I have added the instructions to the README for better visibility.

Sign up or log in to comment