<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>code2vec: Learning Distributed Representations of Code · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1803.09473/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1803.09473/feed.xml" rel="self" type="application/rss+xml" /><item><title>code2vec: Learning Distributed Representations of Code — mentioned by nl</title><link>https://news.ycombinator.com/item?id=19580221</link><guid isPermaLink="false">urn:hackerpapers:mention:1803.09473:19580221</guid><pubDate>Fri, 05 Apr 2019 06:31:16 GMT</pubDate><description>&lt;p&gt;I like the README.md for StarSpace[1] because it has lots of examples which get you thinking. I used graph embeddings as input to a classifier to classify people when follower/followee information was easy to gather but text wasn&amp;#x27;t. Basically anything that can be represented as a graph can be used. There is some interesting work being done using code syntax trees as input which uses a very similar approach. See code2vec[2] I&amp;#x27;m not aware of any way to transfer text embeddings into graph emneddings, but you can could concatenate them and use them together (I&amp;#x27;ve done this before) or maybe do…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1803.09473/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item><item><title>code2vec: Learning Distributed Representations of Code — mentioned by nl</title><link>https://news.ycombinator.com/item?id=17399595</link><guid isPermaLink="false">urn:hackerpapers:mention:1803.09473:17399595</guid><pubDate>Tue, 26 Jun 2018 11:24:42 GMT</pubDate><description>&lt;p&gt;I&amp;#x27;ve been playing around in this area for a while and I think there is a lot of potential - although I&amp;#x27;m not sure code search is the ultimate expression of how this should be used. There&amp;#x27;s another interesting paper called code2vec[1]. Code2vec uses the AST of a code snippet and builds an embedding of those rather than dealing with is as just a sequence of tokens which some earlier attempts do. This paper does the same, which is nice. Code2vec (at least the demo at [2] which I think is the same thing) is extremely sensitive to variable names. I&amp;#x27;m not sure if that is a bug or if they are…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1803.09473/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.LG</category></item></channel></rss>
