TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Analyzing top HN posts with language models

117 点作者 jayalammar将近 3 年前
Hi HN,<p>I spent a few weeks looking at the top HN posts of all time. This included exploration, clustering, creating visualizations, and zooming in on what (to me personally) seems like some of the best discussions on here.<p>Three things in this post:<p>1- The interesting groups of HN posts<p>2- The interactive visualizations that you can explore in your browser<p>3- The data from this exploration -- this includes CSV of the titles as well as the text embeddings of 3,000 Ask HN articles.<p>Blog post about this whole process here: [1]<p>============<p>1- The interesting groups of HN posts<p>From the exploration, Ask HN proved the most interesting. These are the top four groups of topics I found insightful. Each group contains about 400 posts.<p>- Life experiences and advice threads [2]<p>- Technical and personal development [3]<p>- Software career insights, advice, and discussions [4]<p>- General content recommendations (blogs&#x2F;podcasts) [5]<p>============<p>2- The interactive visualizations that you can explore in your browser<p>- Top 10,000 Hacker News articles of all time [6]<p>- Top 3,000 posts in Ask HN [7]<p>============<p>3- The data from this exploration<p>CSV file of top 3K Ask HN posts: [8]<p>The sentence embeddings of the titles of those posts: [9]<p>This is a colab notebook containing the code examples (including loading these two data files): [10]<p>============<p>If you&#x27;ve ever wanted to get into language models, this is a good place to start. Happy to answer any questions

11 条评论

wpietri将近 3 年前
The conflict of interest here concerns me. I don&#x27;t object to content marketing, but I&#x27;d rather a) you were clear from the start that you work for this company and are promoting its product, and b) that this &quot;revolves around [...] using Cohere’s Embed endpoint&quot;, so that people can judge how much they want to &quot;get into language models&quot; with pay-per-character pricing, as opposed to something more open.
评论 #31696161 未加载
评论 #31695126 未加载
评论 #31697318 未加载
jayalammar将近 3 年前
[1] <a href="https:&#x2F;&#x2F;txt.cohere.ai&#x2F;combing-for-insight-in-10-000-hacker-news-posts-with-text-clustering&#x2F;" rel="nofollow">https:&#x2F;&#x2F;txt.cohere.ai&#x2F;combing-for-insight-in-10-000-hacker-n...</a><p>[2] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_6a.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_...</a><p>[3] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_7a.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_...</a><p>[4] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_5a.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_...</a><p>[5] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_3a.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn_cluster_...</a><p>[6] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;hn10k_clustered.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;hn10k_clustere...</a><p>[7] <a href="https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn-3k.html" rel="nofollow">https:&#x2F;&#x2F;assets.cohere.ai&#x2F;blog&#x2F;text-clustering&#x2F;askhn-3k.html</a><p>[8] <a href="https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clustering&#x2F;data&#x2F;askhn3k_df.csv" rel="nofollow">https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clust...</a><p>[9] <a href="https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clustering&#x2F;data&#x2F;askhn3k_embeds.npy" rel="nofollow">https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clust...</a><p>[10] <a href="https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;cohere-ai&#x2F;notebooks&#x2F;blob&#x2F;main&#x2F;notebooks&#x2F;Analyzing_Hacker_News_with_Six_Language_Understanding_Methods.ipynb" rel="nofollow">https:&#x2F;&#x2F;colab.research.google.com&#x2F;github&#x2F;cohere-ai&#x2F;notebooks...</a>
评论 #31695096 未加载
natch将近 3 年前
There&#x27;s too much fixation with &quot;top&quot; in our industry. Top voted tends to mostly be a function of early posting. Later posts don&#x27;t get votes because they simply were not seen. There seems to be a misreading on a mass scale of what &quot;top&quot; really indicates though; people think it means &quot;quality&quot; when it does not. Study after study, website after website, policy after policy, our online world is built on this fundamental misunderstanding of what is really going on. How do you avoid piling on to this misunderstanding?
评论 #31698372 未加载
uniqueuid将近 3 年前
Interesting, but it doesn&#x27;t seem like the dimensionality reduction produces a good separation of topics. The UMAP projection looks pretty dense. Did you consider pruning or using something other than embeddings?
评论 #31694384 未加载
victorianoi将近 3 年前
Nice idea and analysis! I reproduced it as well with <a href="https:&#x2F;&#x2F;graphext.com" rel="nofollow">https:&#x2F;&#x2F;graphext.com</a> and got similar clusters <a href="https:&#x2F;&#x2F;drive.google.com&#x2F;file&#x2F;d&#x2F;1-kXsKezu2_S07rQn-0bjbHuUXHEZUqg4&#x2F;view?usp=sharing" rel="nofollow">https:&#x2F;&#x2F;drive.google.com&#x2F;file&#x2F;d&#x2F;1-kXsKezu2_S07rQn-0bjbHuUXHE...</a>
评论 #31697509 未加载
hoerzu将近 3 年前
I grouped posts by topic: <a href="https:&#x2F;&#x2F;n3ws.ploomber.io" rel="nofollow">https:&#x2F;&#x2F;n3ws.ploomber.io</a><p>Explanation: <a href="https:&#x2F;&#x2F;ploomber.io&#x2F;blog&#x2F;hn_classifier&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ploomber.io&#x2F;blog&#x2F;hn_classifier&#x2F;</a>
评论 #31707800 未加载
toppy将近 3 年前
I don&#x27;t know how HN score metrics work but after some short review of the datafile [1] I&#x27;ve noticed a lot of the posts has the form of a simple questions and as such seems to be naturally biased when comes to user engagement. Have you considered to add additional metrics to remove that bias and re-analyze?<p>[1] <a href="https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clustering&#x2F;data&#x2F;askhn3k_df.csv" rel="nofollow">https:&#x2F;&#x2F;storage.googleapis.com&#x2F;cohere-assets&#x2F;blog&#x2F;text-clust...</a>
评论 #31694393 未加载
renewiltord将近 3 年前
I love this shit, dude. Not for any great insight. I just enjoy this sort of thing. Good stuff.
bryanrasmussen将近 3 年前
as people upvote other things than your list of relevant links it becomes difficult to find the relevant links. although I guess people can find it by your name.<p>on edit: so it seems some are upvoting the links to keep them on the top in opposition to those upvoting discussion points.
arolihas将近 3 年前
Love your blog posts and visualizations Jay, thanks for sharing!
earthboundkid将近 3 年前
The scissor statement but it’s Go vs Rust.