News for hackers. Stuff that matters.
Re:RLHF a LLM in <50 lines of Python by behnamoh on Sunday February 11, 2024 @11:39AM (#39336158)
This. If I'm the type of person who wants to do RLHF, then I'm the type of person who wants control and doesn't like delegating it to imported libraries.
Re:RLHF a LLM in <50 lines of Python by patelajay285 on Sunday February 11, 2024 @11:42AM (#39336183)
This is built for ML researchers out of an academic lab. There's a ton of functionality in the library (beyond RLHF and alignment) that ML researchers do every day to write papers and run experiments that the library helps abstract and make repeatable and usable.

Unless your research hypothesis is specifically around improving or changing RLHF, it's unlikely you should be implementing it from scratch. Abstractions are useful for a reason. The library is quite configurable to let you tune any knobs you would want.