From 2b63ca9fb82569a14cf2cb0b23b431f62ec28140 Mon Sep 17 00:00:00 2001 From: natsukium Date: Thu, 27 Jul 2023 22:58:48 +0900 Subject: [PATCH] python310Packages.transformers: 4.30.2 -> 4.31.0 Diff: https://github.com/huggingface/transformers/compare/refs/tags/v4.30.2...v4.31.0 Changelog: https://github.com/huggingface/transformers/releases/tag/v4.31.0 --- .../python-modules/transformers/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index dbeb2a01ca0..cd5af01e0b9 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -51,7 +51,7 @@ buildPythonPackage rec { pname = "transformers"; - version = "4.30.2"; + version = "4.31.0"; format = "setuptools"; disabled = pythonOlder "3.8"; @@ -60,14 +60,13 @@ buildPythonPackage rec { owner = "huggingface"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-S1jQsBObKGZY9tlbcNcgchwUs/eeaohYxOtbN1cPa2Q="; + hash = "sha256-YbLI/CkRto8G4bV7ijUkB/0cc7LkfNBQxL1iNv8aWW4="; }; propagatedBuildInputs = [ filelock huggingface-hub numpy - protobuf packaging pyyaml regex @@ -91,8 +90,11 @@ buildPythonPackage rec { ja = [ # fugashi # ipadic - # unidic_lite + # rhoknp + # sudachidict_core + # sudachipy # unidic + # unidic_lite ]; sklearn = [ scikit-learn @@ -122,6 +124,7 @@ buildPythonPackage rec { onnxconverter-common tf2onnx onnxruntime + onnxruntime-tools ]; modelcreation = [ cookiecutter