diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/science/machine-learning/starspace/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/science/machine-learning/starspace/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/science/machine-learning/starspace/default.nix b/nixpkgs/pkgs/applications/science/machine-learning/starspace/default.nix new file mode 100644 index 000000000000..b511b4ea42e2 --- /dev/null +++ b/nixpkgs/pkgs/applications/science/machine-learning/starspace/default.nix @@ -0,0 +1,28 @@ +{ lib, stdenv, fetchFromGitHub, boost165 }: + +stdenv.mkDerivation rec { + pname = "starspace"; + version = "unstable-2021-01-17"; + + src = fetchFromGitHub { + owner = "facebookresearch"; + repo = pname; + rev = "8aee0a950aa607c023e5c91cff518bec335b5df5"; + sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj"; + }; + + buildInputs = [ boost165 ]; + + installPhase = '' + mkdir -p $out/bin + mv starspace $out/bin + ''; + + meta = with lib; { + description = "General-purpose neural model for efficient learning of entity embeddings"; + homepage = https://ai.facebook.com/tools/starspace/; + license = licenses.mit; + platforms = platforms.unix; + maintainers = [ maintainers.mausch ]; + }; +} |