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