News for hackers. Stuff that matters.
Re:RLHF a LLM in <50 lines of Python by lopkeny12ko on Sunday February 11, 2024 @12:38PM (#39336721)
It's not 50 lines of code if all the real work is done by importing a library...

That's like saying, I can solve any problem in 2 lines of code. I'll publish a library for it first, then:

import foo; foo.do_the_thing()

Magic!

Re:RLHF a LLM in <50 lines of Python by peab on Sunday February 11, 2024 @02:28PM (#39337780)
did people say the same thing when assembly code got abstracted away?
Re:RLHF a LLM in <50 lines of Python by skelpmargyar on Sunday February 11, 2024 @03:32PM (#39338382)
Importing a library is not abstraction any more than closing your eyes is abstracting the world to black.
Re:RLHF a LLM in <50 lines of Python by __loam on Sunday February 11, 2024 @10:08PM (#39340941)
The point of libraries is abstraction. You get to use the library without writing the library or knowing the underlying implementation.
Re:RLHF a LLM in <50 lines of Python by orblivion on Sunday February 11, 2024 @10:21PM (#39340996)
There's levels of abstraction. "lines of Python" to me roughly means the standard library.
Re:RLHF a LLM in <50 lines of Python by sciolist on Monday February 12, 2024 @12:16AM (#39341640)
Agreed. If it was "RLHF a LLM in <50 lines" I feel it would be clear, but "lines of Python" implies something different.
Re:RLHF a LLM in <50 lines of Python by antonvs on Sunday February 11, 2024 @01:07PM (#39336948)
Software developers hate this one simple trick!
Re:RLHF a LLM in <50 lines of Python by therealdrag0 on Sunday February 11, 2024 @09:18PM (#39340710)
[relevant xkcd]