14 buildPythonPackage rec {
15 pname = "gpt-2-simple";
19 src = fetchFromGitHub {
21 repo = "gpt-2-simple";
23 hash = "sha256-WwD4sDcc28zXEOISJsq8e+rgaNrrgIy79Wa4J3E7Ovc=";
26 build-system = [ setuptools ];
28 propagatedBuildInputs = [
37 doCheck = false; # no tests in upstream
40 description = "Easily retrain OpenAI's GPT-2 text-generating model on new texts";
41 homepage = "https://github.com/minimaxir/gpt-2-simple";
42 license = licenses.mit;