HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
facebookresearch
StarSpace
C++2017–2024
facebookresearch / StarSpace · Archived

StarSpace

Learning embeddings for classification, retrieval and ranking.

9Distinct people
12Mentions
0Explicit recommenders
4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Learning embeddings for classification, retrieval and ranking.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year12 dated mentions

Observed mentions: 2017-09-14 18:29:29 UTC to 2024-04-25 08:18:23 UTC.

02462017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 6 mentions; 3 submissions, 3 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC633
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC110
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

12 sources
This completely misunderstands what this is. In this context "knowledge graph" means a representation of knowledge independent of it's serialization format (ie, RDF vs whatever). It's usable wherever you have a key value (key:value of relationship) or a triple (key:relationship:something). This is probably 85% of everything that is stored in a database, with the exception being paths that vary enough that you can't use the path as a key or relationship. In particular, most trees are suitable if you use collapse the path down to a single relationship. I've done a bunch of work on graph embedding. They are very effective for use in anything that can be thought of as a recommendation system ("this person would like these books") or similarity ("this person is similar to these people"). Back when I was working on them I found Starspace wonder
Read the rest
In Quaternion Knowledge Graph Embeddings (2019)
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'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'm not aware of any way to transfer text embeddings into graph emneddings, but you can could concatenate them and use them together (I've done this before) or maybe do some dimension reduction or do a multi-task learning thing and try to learn some combined representation. I'm not ware of the scalability limits for this particular library, but Facebook Research's pytorch-biggraph[3] (released 2 days ago) scales to tril
Read the rest
In AmpliGraph: A TensorFlow-Based Library for Knowledge Graph Embeddings
"this margin is too small to contain" I really should write a post or something about it. Basically you do a co-embedding of the graph and natural language and then you can use either to find the other. Something very roughly like the ImageSpace co-embedding example from StarSpace[1], but you do a graph representation on one side, and a phrase/sentence representation on the other. [1] https://github.com/facebookresearch/Starspace
In NL-Graphs: A Hybrid Approach Toward Interactively Querying Semantic Data [pdf]

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.