[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/18: gnu: Add python-sentencepiece.
From: |
guix-commits |
Subject: |
03/18: gnu: Add python-sentencepiece. |
Date: |
Sat, 8 Apr 2023 08:14:49 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit b818667188a5a80e5bb858a2b6c46b00e0fb69de
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")
- 01/18: gnu: Remove abandoned spotify-tui package., (continued)
- 01/18: gnu: Remove abandoned spotify-tui package., guix-commits, 2023/04/08
- 12/18: gnu: darktable: Update to 4.2.1., guix-commits, 2023/04/08
- 15/18: gnu: gallery-dl: Update to 1.25.1., guix-commits, 2023/04/08
- 16/18: gnu: Add emacs-flymake-popon., guix-commits, 2023/04/08
- 17/18: gnu: emacs-ement: Update to 0.8.2., guix-commits, 2023/04/08
- 07/18: gnu: fet: Update to 6.8.7., guix-commits, 2023/04/08
- 08/18: gnu: pyzo: Update to 4.12.8., guix-commits, 2023/04/08
- 11/18: gnu: scintilla: Update to 5.3.4., guix-commits, 2023/04/08
- 14/18: gnu: ruby-pg: Update to 1.4.6., guix-commits, 2023/04/08
- 13/18: gnu: darktable: Improve package style., guix-commits, 2023/04/08
- 03/18: gnu: Add python-sentencepiece.,
guix-commits <=
- 04/18: gnu: Add llama-cpp., guix-commits, 2023/04/08
- 10/18: gnu: Add emacs-denote-menu., guix-commits, 2023/04/08
- 18/18: gnu: emacs-js2-mode: Update to 20230408., guix-commits, 2023/04/08