Add a Better Transformer api ?

#3
by 1TuanPham - opened

I think the model deserve this, since without it, the model is really hard to train with limited hardware.

Google org

I think that makes sense! cc @ybelkada @fxmarty

Google org

Hi @1TuanPham
We are going to migrate Better Transformer API to transformers core soon.
Please have a look at :https://github.com/huggingface/transformers/pull/26572

Meanwhile I suggest you to train the model using adapters for more memory efficient training: https://huggingface.co/docs/transformers/peft

Sign up or log in to comment