1 { lib, buildPythonPackage, fetchFromGitHub, regex, requests, tqdm, numpy
2 , toposort, tensorflow }:
4 buildPythonPackage rec {
5 pname = "gpt-2-simple";
8 src = fetchFromGitHub {
10 repo = "gpt-2-simple";
12 hash = "sha256-WwD4sDcc28zXEOISJsq8e+rgaNrrgIy79Wa4J3E7Ovc=";
15 propagatedBuildInputs = [ regex requests tqdm numpy toposort tensorflow ];
17 dontCheck = true; # no tests in upstream
21 "Easily retrain OpenAI's GPT-2 text-generating model on new texts";
22 homepage = "https://github.com/minimaxir/gpt-2-simple";
23 license = licenses.mit;
24 maintainers = with maintainers; [ ckie ];