News for hackers. Stuff that matters.
Re:OpenAI Releases Largest GPT-2 Text Generation Model by garmaine on Tuesday November 05, 2019 @07:24PM (#21458494)
There is no function in the world that should ever take 17 parameters. If the algorithm permits such configuration, as I am sure it does, then it should take a configuration object which has all these values. The object could then be constructed using special purpose factories that take fewer parameters, and then customized from there as needed.

It may be an indication that the whole thing needs refactoring though.

Re:OpenAI Releases Largest GPT-2 Text Generation Model by matz1 on Tuesday November 05, 2019 @10:57PM (#21459609)
You refactor that way but then you make it unnecessarily more complicated.