[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
160/244: gnu: Add python-sentencepiece.
From: |
guix-commits |
Subject: |
160/244: gnu: Add python-sentencepiece. |
Date: |
Wed, 12 Apr 2023 08:49:13 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit a066ec1b13defd50cfd2bafe5f9a8e8fa822c413
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Sat Mar 25 16:32:19 2023 +0100
gnu: Add python-sentencepiece.
* gnu/packages/machine-learning.scm (python-sentencepiece): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/machine-learning.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 072fb1ab15..402a8226b5 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -611,6 +611,25 @@ SentencePiece allows us to make a purely end-to-end system
that does not
depend on language-specific pre- or post-processing.")
(license license:asl2.0)))
+(define-public python-sentencepiece
+ (package
+ (name "python-sentencepiece")
+ (version "0.1.97")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sentencepiece" version))
+ (sha256
+ (base32 "0v0z9ryl66432zajp099bcbnwkkldzlpjvgnjv9bq2vi19g300f9"))))
+ (build-system python-build-system)
+ (native-inputs (list pkg-config))
+ (propagated-inputs (list sentencepiece))
+ (home-page "https://github.com/google/sentencepiece")
+ (synopsis "SentencePiece python wrapper")
+ (description "This package provides a Python wrapper for the SentencePiece
+unsupervised text tokenizer.")
+ (license license:asl2.0)))
+
(define-public shogun
(package
(name "shogun")
- 189/244: gnu: fcitx5-qt: Update to 5.0.17., (continued)
- 189/244: gnu: fcitx5-qt: Update to 5.0.17., guix-commits, 2023/04/12
- 190/244: gnu: fcitx5-anthy: Update to 5.0.14., guix-commits, 2023/04/12
- 225/244: doc: Regarding SSL certs, clarify when we write about Guix System., guix-commits, 2023/04/12
- 174/244: gnu: emacs-ement: Update to 0.8.2., guix-commits, 2023/04/12
- 175/244: gnu: emacs-js2-mode: Update to 20230408., guix-commits, 2023/04/12
- 231/244: gnu: Syncthing: Update to 1.23.4., guix-commits, 2023/04/12
- 198/244: gnu: xfce4-pulseaudio-plugin: Update to 0.4.6., guix-commits, 2023/04/12
- 211/244: gnu: emacs-citar-org-roam: Fix license., guix-commits, 2023/04/12
- 163/244: gnu: Add texlive-soulutf8., guix-commits, 2023/04/12
- 170/244: gnu: darktable: Improve package style., guix-commits, 2023/04/12
- 160/244: gnu: Add python-sentencepiece.,
guix-commits <=
- 220/244: gnu: s6-networking: Update to 2.5.1.3., guix-commits, 2023/04/12
- 155/244: gnu: Add carla-2.6., guix-commits, 2023/04/12
- 167/244: gnu: Add emacs-denote-menu., guix-commits, 2023/04/12
- 142/244: gnu: curl-minimal: Remove variable., guix-commits, 2023/04/12
- 166/244: gnu: tuxedo-keyboard: Update to 3.2.1., guix-commits, 2023/04/12
- 199/244: gnu: xfce4-session: Update to 4.18.2., guix-commits, 2023/04/12
- 179/244: svn-download: Default to non-recursive checkouts., guix-commits, 2023/04/12
- 229/244: gnu: ldc: Use default test check., guix-commits, 2023/04/12
- 218/244: gnu: s6: Update to 2.11.3.2., guix-commits, 2023/04/12
- 224/244: gnu: s6-linux-utils: Update to 2.6.1.2., guix-commits, 2023/04/12