Re:OpenAI Releases Largest GPT-2 Text Generation Model
by TTPrograms on Tuesday November 05, 2019 @03:57PM
(#21456605)
It's a specification of essentially a complex graph of mathematical operations. If there's a function called
it's not much more informative to write:
Many of these functions are not much more complex than that, and the names along with their comments are more than sufficient given familiarity with the literature. If you think familiarity with the literature is unreasonable, it's still not clear what could improve code like this in reasonable space. "This is a linear function, which means that it satisfies f(x+a)=f(x)+f(a)"? "This is the attention head, it acts as a mask on the sequence input"? It would be like complaining that someone made a tree class and didn't put a comment explaining what a leaf node is. Code readability always assumes some reader context and minimum pre-existing knowledge (as do all forms of technical communication).
[ Parent
| on HN ]