-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
76 lines (74 loc) · 2.84 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
description = "SyntaxDot models";
inputs = rec {
nixpkgs.follows = "syntaxdot/nixpkgs";
syntaxdot.url = "github:tensordot/syntaxdot";
utils.follows = "syntaxdot/utils";
};
outputs = { self, nixpkgs, syntaxdot, utils }:
utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in {
packages =
let
model = pkgs.callPackage ./model.nix {
inherit (syntaxdot.packages.${system}) syntaxdot;
};
in {
de-ud-huge = model {
modelName = "de-ud-huge";
version = "20210307";
hash = "sha256-ySsCAlgEGm/QX322PhfVyZH8SLHzWVFglJTkf4cAbKc=";
description = "Huge German UD syntax model, 12 layers, 768 hidden units";
};
de-ud-large = model {
modelName = "de-ud-large";
version = "20210326";
hash = "sha256-QnbCXjuursqaA6RCPXroeNb7jbexdUhk8uCn7mRvwUQ=";
description = "Large German UD syntax model, 12 layers, 384 hidden units";
};
de-ud-large-albert = model {
modelName = "de-ud-large-albert";
version = "20210402";
hash = "sha256-+xo+82Mt0GYhOUBbBpI8l1GaajFeepDuEmDUY7k6SRU=";
description = "Large German UD syntax model, 12 layers, 384 hidden units, layer sharing";
};
de-ud-medium = model {
modelName = "de-ud-medium";
version = "20210326";
hash = "sha256-60eIrnEzTkJ1+fU2xD0xUwXgly4R7cddSR5UUN1w2+g=";
description = "Medium German UD syntax model, 6 layers, 384 hidden units";
};
nl-ud-huge = model {
modelName = "nl-ud-huge";
version = "20210301";
hash = "sha256-R9AU9gpUVVAjP8ENv8VxfQLiVAaR0ha2n3TmSOLHEWk=";
description = "Huge Dutch UD syntax model, 12 layers, 768 hidden units";
};
nl-ud-large = model {
modelName = "nl-ud-large";
version = "20210324";
hash = "sha256-aJqO+wOiNmpZdB5eMaH5sgx74rhEWO2O7U9cwxMznKc=";
description = "Large Dutch UD syntax model, 12 layers, 384 hidden units";
};
nl-ud-large-albert = model {
modelName = "nl-ud-large-albert";
version = "20210331";
hash = "sha256-uzlW78K7gMOyXA93ofBPWet5uPvE+VvGGuAgg1sFPTY=";
description = "Large Dutch UD syntax model, 12 layers, 384 hidden units, layer sharing";
};
nl-ud-medium = model {
modelName = "nl-ud-medium";
version = "20210312";
hash = "sha256-J2SusHWp+757XFLWXSs2pi7EdSrhigmpM76HAKPF7To=";
description = "Medium Dutch UD syntax model, 6 layers, 384 hidden units";
};
};
});
}