Better HN
topnewbestaskshowjobs
Log inSign up

urialon

5 karma · joined Dec 5, 2018 (7y ago) · 4 submissions

Submissions

1.

Structural Language Models of Code(anycodegen.org ↗)

2 points · by urialon · 6y ago · discuss

2.

Code2seq: Generating Sequences from Structured Representations of Code(code2seq.org ↗)

3 points · by urialon · 7y ago · discuss

comment 7y ago · link · parent

We just took the top-starred Java projects from GitHub, assuming that their source code and naming are of good quality. These included projects like elasticsearch, hadoop-common and maven.

We assumed that their code and naming quality are worth learning, such that the learned patterns will transfer to other code and projects, because they are popular and actively maintained projects. So, as you can imagine, FizzBuzz is not that common there :)

comment 7y ago · link · parent

The model was trained on real-world code of top starred repositories from GitHub.

Although we tend to think as Fibonacci and FizzBuzz as "basic" - these are actually not common in real projects.