EasyDeL icon indicating copy to clipboard operation
EasyDeL copied to clipboard

How to do sequence classification training ?

Open sparsh35 opened this issue 1 year ago • 3 comments

Describe the bug I want to train a reward model using Easydel with sequence classification. The classifier has been implemented in the Flax sequence classifier classes for each model, but is there any way to load a model to directly with sequence classifier and train it To Reproduce Steps to reproduce the behavior

sparsh35 avatar Oct 01 '24 04:10 sparsh35

hi that's not supported at the moment, but i guess ill support that in next 24 hour

erfanzar avatar Oct 02 '24 11:10 erfanzar

I am also thinking of implementing Online DPO trainer with EasyDel, with a little bit of your support if you are interested. It can be comparable with PPO as per paper from Deepmind, the biggest bottleneck I guess would be in generation of completitions during training.

sparsh35 avatar Oct 02 '24 12:10 sparsh35

Yes seems cool to me If u needed any helps u can dm me in discord

erfanzar avatar Oct 04 '24 07:10 erfanzar

@sparsh35 SequenceClassificationTrainer is added

erfanzar avatar Oct 16 '24 16:10 erfanzar