From 321601a93412b89232bc330eb3b08f3e5b78f16c Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Mon, 19 Feb 2024 01:28:58 -0300 Subject: [PATCH] packages: ocr: Remove currently broken manga-ocr --- ajatt/packages/ocr.scm | 37 -- ajatt/packages/python-xyz.scm | 1164 --------------------------------- 2 files changed, 1201 deletions(-) delete mode 100644 ajatt/packages/ocr.scm delete mode 100644 ajatt/packages/python-xyz.scm diff --git a/ajatt/packages/ocr.scm b/ajatt/packages/ocr.scm deleted file mode 100644 index 6cbfdad..0000000 --- a/ajatt/packages/ocr.scm +++ /dev/null @@ -1,37 +0,0 @@ -(define-module (ajatt packages ocr) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix build-system python) - #:use-module (guix build-system pyproject) - #:use-module (gnu packages machine-learning) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages xdisorg) - #:use-module (ajatt packages python-xyz)) - -(define-public manga-ocr - (package - (name "python-manga-ocr") - (version "0.1.11") - (source - (origin - (method url-fetch) - (uri (pypi-uri "manga-ocr" version)) - (sha256 - (base32 "1sxhk613ag1vk5hm6zxa0npjcn4gn0bgf1bq7id56qw44rlq1ki1")))) - (build-system pyproject-build-system) - (inputs (list python-fire - python-fugashi - python-jaconv - python-loguru - python-numpy - python-pillow - python-pyperclip - python-pytorch - python-transformers - python-unidic-lite)) - (home-page "https://github.com/kha-white/manga-ocr") - (synopsis "OCR for Japanese manga") - (description "OCR for Japanese manga") - (license #f))) -manga-ocr diff --git a/ajatt/packages/python-xyz.scm b/ajatt/packages/python-xyz.scm deleted file mode 100644 index 709f6d5..0000000 --- a/ajatt/packages/python-xyz.scm +++ /dev/null @@ -1,1164 +0,0 @@ -(define-module (ajatt packages python-xyz) - #:use-module ((guix licenses) #:prefix license:) - #:use-module (guix packages) - #:use-module (guix download) - #:use-module (guix build-system cmake) - #:use-module (guix build-system python) - #:use-module (guix build-system pyproject) - #:use-module (gnu packages audio) - #:use-module (gnu packages check) - #:use-module (gnu packages machine-learning) - #:use-module (gnu packages protobuf) - #:use-module (gnu packages python-web) - #:use-module (gnu packages python-xyz) - #:use-module (gnu packages version-control)) - -(define-public python-fugashi - (package - (name "python-fugashi") - (version "1.3.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "fugashi" version)) - (sha256 - (base32 "1z61b7c71rz493fqzyg4dwzzhhv22dy6v2i3fivqjn8qwfnc1vhd")))) - (build-system pyproject-build-system) - (home-page "https://github.com/polm/fugashi") - (synopsis - "A Cython MeCab wrapper for fast, pythonic Japanese tokenization.") - (description - "This package provides a Cython @code{MeCab} wrapper for fast, pythonic Japanese -tokenization.") - (license license:expat))) - -(define-public python-jaconv - (package - (name "python-jaconv") - (version "0.3.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "jaconv" version)) - (sha256 - (base32 "0v8xlfrmc26r15arb5w2nzdzyvzw606gmjgncanxpqmhy3rmaz4y")))) - (build-system pyproject-build-system) - (home-page "https://github.com/ikegami-yukino/jaconv") - (synopsis - "Pure-Python Japanese character interconverter for Hiragana, Katakana, Hankaku, Zenkaku and more") - (description - "Pure-Python Japanese character interconverter for Hiragana, Katakana, Hankaku, -Zenkaku and more") - (license license:expat))) - -(define-public python-transformers - (package - (name "python-transformers") - (version "4.37.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "transformers" version)) - (sha256 - (base32 "10vckj0wpdlkqh39iwnqn3w19gl7hxxcwdkh1xvm3xv8c7ixw3ss")))) - (build-system pyproject-build-system) - (inputs (list python-filelock - python-huggingface-hub - python-numpy - python-packaging - python-pyyaml - python-regex - python-requests - python-safetensors - python-tokenizers - python-tqdm)) - (native-inputs (list python-accelerate - python-av - python-beautifulsoup4 - python-codecarbon - python-cookiecutter - python-datasets - python-decord - python-deepspeed - python-dill - python-evaluate - python-faiss-cpu - python-flax - python-fugashi - python-gitpython - python-hf-doc-builder - python-ipadic - python-isort - python-jax - python-jaxlib - python-kenlm - python-keras-nlp - python-librosa - python-nltk - python-onnxconverter-common - python-onnxruntime - python-onnxruntime-tools - python-optax - python-optuna - python-parameterized - python-phonemizer - python-pillow - python-protobuf - python-psutil - python-pyctcdecode - python-pydantic - python-pytest - python-pytest-timeout - python-pytest-xdist - python-ray - python-rhoknp - python-rjieba - python-rouge-score - python-ruff - python-sacrebleu - python-sacremoses - python-scikit-learn - python-sentencepiece - python-sigopt - python-sudachidict-core - python-sudachipy - python-tensorboard - python-tensorflow - python-tensorflow-text - python-tf2onnx - python-timeout-decorator - python-timm - python-tokenizers - python-torch - python-torchaudio - python-torchvision - python-unidic - python-unidic-lite - python-urllib3)) - (home-page "https://github.com/huggingface/transformers") - (synopsis - "State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow") - (description - "State-of-the-art Machine Learning for JAX, @code{PyTorch} and @code{TensorFlow}") - (license #f))) - -(define-public python-unidic-lite - (package - (name "python-unidic-lite") - (version "1.0.8") - (source - (origin - (method url-fetch) - (uri (pypi-uri "unidic-lite" version)) - (sha256 - (base32 "0idj4yp0sl27ylr2wzkybbh0wj7c843lp7cljw5d1m7xv5r4b7fv")))) - (build-system pyproject-build-system) - (home-page "https://github.com/polm/unidic-lite") - (synopsis "A small version of UniDic packaged for Python") - (description - "This package provides a small version of @code{UniDic} packaged for Python") - (license #f))) - -(define-public python-huggingface-hub - (package - (name "python-huggingface-hub") - (version "0.20.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "huggingface_hub" version)) - (sha256 - (base32 "0pfhcalkvf6bsr7n8jmny57sgd71g2v5f6d7srkvqps7fkhgirwl")))) - (build-system pyproject-build-system) - (inputs (list python-filelock - python-fsspec - python-packaging - python-pyyaml - python-requests - python-tqdm - python-typing-extensions)) - (native-inputs (list python-aiohttp - python-gradio - python-inquirerpy - python-jedi - python-jinja2 - python-mypy - python-numpy - python-pillow - python-pydantic - python-pytest - python-pytest-asyncio - python-pytest-cov - python-pytest-env - python-pytest-rerunfailures - python-pytest-vcr - python-pytest-xdist - python-ruff - python-soundfile - python-types-pyyaml - python-types-requests - python-types-simplejson - python-types-toml - python-types-tqdm - python-types-urllib3 - python-typing-extensions - python-urllib3)) - (home-page "https://github.com/huggingface/huggingface_hub") - (synopsis - "Client library to download and publish models, datasets and other repos on the huggingface.co hub") - (description - "Client library to download and publish models, datasets and other repos on the -huggingface.co hub") - (license #f))) - -(define-public python-safetensors - (package - (name "python-safetensors") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "safetensors" version)) - (sha256 - (base32 "1j9nzg5665rjgvgzxgvrc3261rs88zlfzd1568iab0fsda76a113")))) - (build-system pyproject-build-system) - (native-inputs (list python-h5py - python-huggingface-hub - python-hypothesis - python-pytest - python-pytest-benchmark - python-safetensors - python-setuptools-rust)) - (home-page "") - (synopsis "") - (description "") - (license #f))) - -(define-public python-tokenizers - (package - (name "python-tokenizers") - (version "0.15.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "tokenizers" version)) - (sha256 - (base32 "10692zkrbr3h43qmbg4p0wc9frymx3765xcrgxxykmm3spb338y0")))) - (build-system pyproject-build-system) - (inputs (list python-huggingface-hub)) - (native-inputs (list python-black - python-datasets - python-numpy - python-pytest - python-requests - python-tokenizers)) - (home-page "") - (synopsis "") - (description "") - (license #f))) - -(define-public python-accelerate - (package - (name "python-accelerate") - (version "0.26.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "accelerate" version)) - (sha256 - (base32 "12aga0dkmrj1nwvbwcx61b529f5b6gcg834pva3hsinrddmp2qxz")))) - (build-system pyproject-build-system) - (inputs (list python-huggingface-hub - python-numpy - python-packaging - python-psutil - python-pyyaml - python-safetensors - python-torch)) - (native-inputs (list python-bitsandbytes - python-black - python-comet-ml - python-datasets - python-deepspeed - python-dvclive - python-evaluate - python-hf-doc-builder - python-parameterized - python-pytest - python-pytest-subtests - python-pytest-xdist - python-rich - python-ruff - python-scikit-learn - python-scipy - python-tensorboard - python-timm - python-tqdm - python-transformers - python-urllib3 - python-wandb)) - (home-page "https://github.com/huggingface/accelerate") - (synopsis "Accelerate") - (description "Accelerate") - (license #f))) - -(define-public python-codecarbon - (package - (name "python-codecarbon") - (version "2.3.3") - (source - (origin - (method url-fetch) - (uri (pypi-uri "codecarbon" version)) - (sha256 - (base32 "120l5ljx8j0p0r86gzblkfpxprj96zp95w7bf4rk0gpb5r2jk8cy")))) - (build-system pyproject-build-system) - (inputs (list python-arrow - python-click - python-pandas - python-prometheus-client - python-psutil - python-py-cpuinfo - python-pynvml - python-rapidfuzz - python-requests)) - (home-page "") - (synopsis "") - (description "") - (license #f))) - -(define-public python-datasets - (package - (name "python-datasets") - (version "2.16.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "datasets" version)) - (sha256 - (base32 "105013rvzphk1mcxbhyh2wgdzjww673kn4m2zpj1skcqn7liacmd")))) - (build-system pyproject-build-system) - (inputs (list python-aiohttp - python-dill - python-filelock - python-fsspec - python-huggingface-hub - python-multiprocess - python-numpy - python-packaging - python-pandas - python-pyarrow - python-pyarrow-hotfix - python-pyyaml - python-requests - python-tqdm - python-xxhash)) - (native-inputs (list python-absl-py - python-accelerate - python-apache-beam - python-bert-score - python-elasticsearch - python-faiss-cpu - python-jax - python-jaxlib - python-jiwer - python-joblib - python-joblibspark - python-langdetect - python-librosa - python-lz4 - python-mauve-text - python-nltk - python-pillow - python-py7zr - python-pyspark - python-pytest - python-pytest-datadir - python-pytest-xdist - python-rarfile - python-requests-file - python-rouge-score - python-ruff - python-s3fs - python-sacrebleu - python-sacremoses - python-scikit-learn - python-scipy - python-sentencepiece - python-seqeval - python-six - python-soundfile - python-spacy - python-sqlalchemy - python-tensorflow - python-tensorflow-macos - python-texttable - python-tiktoken - python-tldextract - python-toml - python-torch - python-transformers - python-typer - python-typing-extensions - python-werkzeug - python-zstandard)) - (home-page "https://github.com/huggingface/datasets") - (synopsis "HuggingFace community-driven open-source library of datasets") - (description - "@code{HuggingFace} community-driven open-source library of datasets") - (license license:asl2.0))) - -(define-public python-decord - (package - (name "python-decord") - (version "0.6.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/dmlc/decord/archive/refs/tags/v" - version ".tar.gz")) - (sha256 - (base32 "0nqbwvad5ap4i87gs1rngyj9x4s9bq2kpma40cxnxgrvjw1b3vja")))) - (build-system cmake-build-system) - (home-page "https://github.com/dmlc/decord") - (synopsis "An efficient video loader for deep learning with smart shuffling that's super easy to digest") - (description "Decord is a reverse procedure of Record. It provides convenient video slicing methods based on a thin wrapper on top of hardware accelerated video decoders") - (license license:epl1.0))) - -(define-public python-deepspeed - (package - (name "python-deepspeed") - (version "0.13.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "deepspeed" version)) - (sha256 - (base32 "0mb7dm2cr8cdwm20pssvd5fhqrx027y79srhrn7ybzc8dhg0fr5x")))) - (build-system pyproject-build-system) - (inputs (list python-hjson - python-ninja - python-numpy - python-packaging - python-psutil - python-py-cpuinfo - python-pydantic - python-pynvml - python-torch - python-tqdm)) - (native-inputs (list python-accelerate - python-clang-format - python-coverage - python-deepspeed-kernels - python-docutils - python-future - python-importlib-metadata - python-mup - python-pre-commit - python-pytest - python-pytest-forked - python-pytest-randomly - python-pytest-xdist - python-recommonmark - python-sphinx - python-sphinx-rtd-theme - python-tensorboard - python-torchvision - python-transformers - python-wandb)) - (home-page "http://deepspeed.ai") - (synopsis "DeepSpeed library") - (description "@code{DeepSpeed} library") - (license #f))) - -(define-public python-evaluate - (package - (name "python-evaluate") - (version "0.4.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "evaluate" version)) - (sha256 - (base32 "1nd3rmrq13c85471dyd8jsnbplgvaklhj1ca1mvpkvcw0prdj8fp")))) - (build-system pyproject-build-system) - (inputs (list python-datasets - python-dill - python-fsspec - python-huggingface-hub - python-importlib-metadata - python-multiprocess - python-numpy - python-packaging - python-pandas - python-requests - python-responses - python-tqdm - python-xxhash)) - (native-inputs (list python-absl-py - python-accelerate - python-bert-score - python-black - python-cer - python-charcut - python-flake8 - python-isort - python-jiwer - python-mauve-text - python-nltk - python-pytest - python-pytest-datadir - python-pytest-xdist - python-pyyaml - python-requests-file - python-rouge-score - python-sacrebleu - python-sacremoses - python-scikit-learn - python-scipy - python-sentencepiece - python-seqeval - python-six - python-tensorflow - python-texttable - python-tldextract - python-toml - python-torch - python-transformers - python-trectools - python-unidecode - python-werkzeug)) - (home-page "https://github.com/huggingface/evaluate") - (synopsis "HuggingFace community-driven open-source library of evaluation") - (description - "@code{HuggingFace} community-driven open-source library of evaluation") - (license license:asl2.0))) - -(define-public python-faiss-cpu - (package - (name "python-faiss-cpu") - (version "1.7.4") - (source - (origin - (method url-fetch) - (uri (pypi-uri "faiss-cpu" version)) - (sha256 - (base32 "02nxhaf5wgrdbs8qn67rvw54j8iryw861gq36d1z96q71hdw6p96")))) - (build-system pyproject-build-system) - (home-page "https://github.com/kyamagu/faiss-wheels") - (synopsis - "A library for efficient similarity search and clustering of dense vectors.") - (description - "This package provides a library for efficient similarity search and clustering -of dense vectors.") - (license license:expat))) - -(define-public python-flax - (package - (name "python-flax") - (version "0.8.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "flax" version)) - (sha256 - (base32 "0if78183ipqyb75s5myrrl0apv6hv9djxz3srng43v274impmf4g")))) - (build-system pyproject-build-system) - (inputs (list python-jax - python-msgpack - python-numpy - python-optax - python-orbax-checkpoint - python-pyyaml - python-rich - python-tensorstore - python-typing-extensions)) - (native-inputs (list python-black - python-clu - python-einops - python-gymnasium - python-jaxlib - python-jraph - python-ml-collections - python-mypy - python-nbstripout - python-opencv-python - python-pytest - python-pytest-cov - python-pytest-custom-exit-code - python-pytest-xdist - python-pytype - python-sentencepiece - python-tensorflow - python-tensorflow-datasets - python-tensorflow-text - python-torch)) - (home-page "") - (synopsis "Flax: A neural network library for JAX designed for flexibility") - (description - "Flax: A neural network library for JAX designed for flexibility") - (license #f))) - -(define-public python-hf-doc-builder - (package - (name "python-hf-doc-builder") - (version "0.4.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "hf-doc-builder" version)) - (sha256 - (base32 "13al44b8d8c552kmj52dapkm7wnafdra1z09bijsw85xhry2gh13")))) - (build-system pyproject-build-system) - (inputs (list python-gitpython - python-gql - python-nbformat - python-packaging - python-pyyaml - python-requests - python-tqdm)) - (native-inputs (list python-black - python-flake8 - python-isort - python-pytest - python-pytest-xdist - python-tokenizers - python-torch - python-transformers)) - (home-page "https://github.com/huggingface/doc-builder") - (synopsis "Doc building utility") - (description "Doc building utility") - (license #f))) - -(define-public python-ipadic - (package - (name "python-ipadic") - (version "1.0.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "ipadic" version)) - (sha256 - (base32 "01qwlzlm0ipnfrj3l3b4gcsb2rc6k7c2iv8qmz51l4x6xhqkv4pm")))) - (build-system pyproject-build-system) - (home-page "https://github.com/polm/ipadic-py") - (synopsis "IPAdic packaged for Python") - (description "IPAdic packaged for Python") - (license #f))) - -(define-public python-jax - (package - (name "python-jax") - (version "0.4.23") - (source - (origin - (method url-fetch) - (uri (pypi-uri "jax" version)) - (sha256 - (base32 "119njs28qjdirk04vcaq89dv3xi3jwrfvsmjj4w806wdfmd9l8ia")))) - (build-system pyproject-build-system) - (inputs (list python-importlib-metadata - python-ml-dtypes - python-numpy - python-opt-einsum - python-scipy)) - (home-page "https://github.com/google/jax") - (synopsis "Differentiate, compile, and transform Numpy code.") - (description "Differentiate, compile, and transform Numpy code.") - (license #f))) - -(define-public python-jaxlib - (package - (inherit python-jax) - (name "python-jaxlib"))) - -(define-public python-kenlm - (package - (name "python-kenlm") - (version "0.2.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "kenlm" version)) - (sha256 - (base32 "0zxci1g4wa6hf8af84ycq4fqws63rbahzvvp2xm0w59wkp01vp62")))) - (build-system pyproject-build-system) - (home-page "") - (synopsis "") - (description "") - (license #f))) - -(define-public python-keras-nlp - (package - (name "python-keras-nlp") - (version "0.7.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "keras-nlp" version)) - (sha256 - (base32 "1v2sbyadi9l1xwd07m51lxz7fgrh9bbz31369yyz1wxk1vf3wvsm")))) - (build-system pyproject-build-system) - (inputs (list python-absl-py - python-dm-tree - python-kagglehub - python-keras-core - python-numpy - python-packaging - python-regex - python-rich - python-tensorflow-text)) - (home-page "https://github.com/keras-team/keras-nlp") - (synopsis - "Industry-strength Natural Language Processing extensions for Keras.") - (description - "Industry-strength Natural Language Processing extensions for Keras.") - (license #f))) - -(define-public python-onnxconverter-common - (package - (name "python-onnxconverter-common") - (version "1.14.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "onnxconverter-common" version)) - (sha256 - (base32 "0jh1kmi8si5yc4wq5y2qxlilqqyms2z63ary5idmqchmplli8hvf")))) - (build-system pyproject-build-system) - (inputs (list python-numpy - python-onnx - python-packaging - python-protobuf)) - (home-page "https://github.com/microsoft/onnxconverter-common") - (synopsis "ONNX Converter and Optimization Tools") - (description "ONNX Converter and Optimization Tools") - (license #f))) - -;; (define-public python-onnxruntime -;; (package -;; (name "python-onnxruntime") -;; (version "1.16.3") -;; (source -;; (origin -;; (method url-fetch) -;; (uri (string-append "https://github.com/microsoft/onnxruntime/releases/download/v" -;; version "/onnxruntime-linux-x64-" version ".tgz")) -;; (sha256 -;; (base32 "1sxhk613ag1vk5hm6zxa0npjcn4gn0bgf1bq7id56qw44rlq1ki1")))) -;; (build-system pyproject-build-system) -;; (inputs (list python-coloredlogs -;; python-flatbuffers -;; python-numpy -;; python-packaging -;; python-protobuf -;; python-sympy)) -;; (home-page "https://github.com/microsoft/onnxruntime") -;; (synopsis "ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator") -;; (description "ONNX Runtime is a cross-platform inference and training machine-learning accelerator") -;; (license license:expat))) - -(define-public python-onnxruntime-tools - (package - (name "python-onnxruntime-tools") - (version "1.7.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "onnxruntime_tools" version)) - (sha256 - (base32 "0vbzjr7m63cpq7qc5qwlcki2lhmwa5yw6mq3s6y6dq14jkjcxgbd")))) - (build-system pyproject-build-system) - (inputs (list python-coloredlogs - python-numpy - python-onnx - python-packaging - python-psutil - python-py-cpuinfo - python-py3nvml)) - (home-page "https://github.com/microsoft/onnxruntime") - (synopsis "Transformers Model Optimization Tool of ONNXRuntime") - (description "Transformers Model Optimization Tool of ONNXRuntime") - (license license:expat))) - -(define-public python-onnxruntime - (package - (inherit python-onnxruntime-tools) - (name "python-onnxruntime"))) - -(define-public python-optax - (package - (name "python-optax") - (version "0.1.8") - (source - (origin - (method url-fetch) - (uri (pypi-uri "optax" version)) - (sha256 - (base32 "0d4cc8iw5krwwqac8pz4fn5qvbfdjn41ckxyf9kvsr6592x0z0l6")))) - (build-system pyproject-build-system) - (inputs (list python-absl-py - python-attrs - python-chex - python-dm-haiku - python-dm-tree - python-flax - python-ipython - python-jax - python-jaxlib - python-matplotlib - python-mpmath - python-myst-nb - python-numpy - python-scipy - python-sphinx - python-sphinx-autodoc-typehints - python-sphinx-book-theme - python-sphinx-collections - python-sphinx-gallery - python-sphinxcontrib-katex - python-tensorflow - python-tensorflow-datasets)) - (home-page "") - (synopsis "A gradient processing and optimisation library in JAX.") - (description - "This package provides a gradient processing and optimisation library in JAX.") - (license #f))) - -(define-public python-optuna - (package - (name "python-optuna") - (version "3.5.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "optuna" version)) - (sha256 - (base32 "0947d6q5l34wppk6pw52nrsirswqrp5x1h8w1spsbim6dbhir7na")))) - (build-system pyproject-build-system) - (inputs (list python-alembic - python-colorlog - python-numpy - python-packaging - python-pyyaml - python-sqlalchemy - python-tqdm)) - (native-inputs (list python-coverage - python-fakeredis - python-kaleido - python-moto - python-pytest - python-scipy)) - (home-page "") - (synopsis "A hyperparameter optimization framework") - (description "This package provides a hyperparameter optimization framework") - (license #f))) - -(define-public python-phonemizer - (package - (name "python-phonemizer") - (version "3.2.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "phonemizer" version)) - (sha256 - (base32 "0aw9rl03ahwpq1rxf4lbax3kx9bimynax1rpi9ixr6labbw8b3q6")))) - (build-system pyproject-build-system) - (inputs (list python-attrs - python-dlinfo - python-joblib - python-segments - python-typing-extensions)) - (native-inputs (list python-pytest)) - (home-page "https://github.com/bootphon/phonemizer") - (synopsis "Simple text to phones converter for multiple languages") - (description "Simple text to phones converter for multiple languages") - (license #f))) - -(define-public python-pyctcdecode - (package - (name "python-pyctcdecode") - (version "0.5.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "pyctcdecode" version)) - (sha256 - (base32 "0b1sa7g5yx6v8f16ccm9pd9qcckmnfq7fglbjda6m89wwh9v7g7k")))) - (build-system pyproject-build-system) - (inputs (list python-hypothesis - python-importlib-metadata - python-numpy - python-pygtrie)) - (native-inputs (list python-bandit - python-black - python-codecov - python-flake8 - python-huggingface-hub - python-isort - python-jupyter - python-mypy - python-nbconvert - python-nbformat - python-pydocstyle - python-pylint - python-pytest - python-pytest-cov)) - (home-page "") - (synopsis "CTC beam search decoder for speech recognition.") - (description "CTC beam search decoder for speech recognition.") - (license #f))) - -(define-public python-ray - (package - (name "python-ray") - (version "2.9.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/ray-project/ray/archive/refs/tags/ray-" - version ".tar.gz")) - (sha256 - (base32 "0l7m0l6nilx4hjmxzhvhn99ydbqg8imyjs3a8aab6659k87vx3z2")))) - (build-system pyproject-build-system) - (home-page "https://github.com/ray-project/ray") - (synopsis "Ray is a unified framework for scaling AI and Python applications") - (description "Ray is a unified framework for scaling AI and Python applications. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads") - (license license:asl2.0))) - -(define-public python-rhoknp - (package - (name "python-rhoknp") - (version "1.7.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "rhoknp" version)) - (sha256 - (base32 "0w8msp3fgzan9pw6nasz7jjvp59qvl2k3059pdhang8p2brswzz2")))) - (build-system pyproject-build-system) - (inputs (list python-fastapi - python-jinja2 - python-pygments - python-pyyaml - python-rich - python-typer - python-typing-extensions - python-uvicorn)) - (home-page "https://github.com/ku-nlp/rhoknp") - (synopsis "Yet another Python binding for Juman++/KNP/KWJA") - (description "Yet another Python binding for Juman++/KNP/KWJA") - (license license:expat))) - -(define-public python-rjieba - (package - (name "python-rjieba") - (version "0.1.11") - (source - (origin - (method url-fetch) - (uri (pypi-uri "rjieba" version)) - (sha256 - (base32 "1g4r0kdj1570n29mmaxb2bjfgybh9847n3wc1rmm7hjd83ybxkd9")))) - (build-system pyproject-build-system) - (home-page "") - (synopsis "jieba-rs Python binding") - (description "jieba-rs Python binding") - (license license:expat))) - -(define-public python-rouge-score - (package - (name "python-rouge-score") - (version "0.1.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "rouge_score" version)) - (sha256 - (base32 "010gzwbsszlz3f55b3l4dxk46rm4cdfr3vrm06zrm376hckdmm67")))) - (build-system pyproject-build-system) - (inputs (list python-absl-py - python-nltk - python-numpy - python-six)) - (home-page - "https://github.com/google-research/google-research/tree/master/rouge") - (synopsis "Pure python implementation of ROUGE-1.5.5.") - (description "Pure python implementation of ROUGE-1.5.5.") - (license #f))) - -(define-public python-ruff - (package - (name "python-ruff") - (version "0.1.14") - (source - (origin - (method url-fetch) - (uri (pypi-uri "ruff" version)) - (sha256 - (base32 "1wsmk6y5y3d99g6148lpjj5x7ryd32vnm8490a189n6zna480gxd")))) - (build-system pyproject-build-system) - (home-page "https://docs.astral.sh/ruff") - (synopsis - "An extremely fast Python linter and code formatter, written in Rust.") - (description - "An extremely fast Python linter and code formatter, written in Rust.") - (license license:expat))) - -(define-public python-sacremoses - (package - (name "python-sacremoses") - (version "0.1.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sacremoses" version)) - (sha256 - (base32 "0d1rcv7vq7m2zdz8r5y055bd47qym7f2v5hbv171a0kbfqx5vzdn")))) - (build-system pyproject-build-system) - (inputs (list python-click - python-joblib - python-regex - python-tqdm)) - (home-page "https://github.com/hplt-project/sacremoses") - (synopsis "SacreMoses") - (description "@code{SacreMoses}") - (license #f))) - -(define-public python-sigopt - (package - (name "python-sigopt") - (version "8.8.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sigopt" version)) - (sha256 - (base32 "04hy3i4hz80mmak8i3igcw9mpryd9l9bqgikfryxchy74n92namj")))) - (build-system pyproject-build-system) - (inputs (list python-backoff - python-click - python-gitpython - python-packaging - python-pypng - python-pyyaml - python-requests - python-urllib3)) - (native-inputs (list python-boto3 - python-certifi - python-docker - python-hyperopt - python-kubernetes - python-matplotlib - python-mock - python-nose - python-notebook - python-numpy - python-pillow - python-pint - python-pre-commit - python-pylint - python-pymongo - python-pyopenssl - python-pyspark - python-pytest - python-scikit-learn - python-setuptools - python-sigoptlite - python-twine - python-vulture - python-xgboost)) - (home-page "https://sigopt.com/") - (synopsis "SigOpt Python API Client") - (description "@code{SigOpt} Python API Client") - (license #f))) - -(define-public python-sudachidict-core - (package - (name "python-sudachidict-core") - (version "20240109") - (source - (origin - (method url-fetch) - (uri (pypi-uri "SudachiDict-core" version)) - (sha256 - (base32 "0wwgm878wai47w5g0drad0nxyzchp1125yy41z8734p5fwniws3r")))) - (build-system pyproject-build-system) - (inputs (list python-sudachipy)) - (home-page "https://github.com/WorksApplications/SudachiDict") - (synopsis "Sudachi Dictionary for SudachiPy - Core Edition") - (description "Sudachi Dictionary for @code{SudachiPy} - Core Edition") - (license #f))) - -(define-public python-sudachipy - (package - (name "python-sudachipy") - (version "0.6.8") - (source - (origin - (method url-fetch) - (uri (pypi-uri "SudachiPy" version)) - (sha256 - (base32 "1228dp1h3fmrg0gvim7hg0fzyz5b588v5z829p1srbq9zy39071x")))) - (build-system pyproject-build-system) - (native-inputs (list python-sudachidict-core - python-tokenizers)) - (home-page - "https://github.com/WorksApplications/sudachi.rs/tree/develop/python") - (synopsis "Python version of Sudachi, the Japanese Morphological Analyzer") - (description - "Python version of Sudachi, the Japanese Morphological Analyzer") - (license #f))) - -(define-public python-tensorboard - (package - (name "python-tensorboard") - (version "2.15.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/tensorflow/tensorboard/archive/refs/tags/" - version ".tar.gz")) - (sha256 - (base32 "1i861j2bpgm08sg9ivaxpxk2wf7g8dk8w3980sal78m69laavs67")))) - (build-system pyproject-build-system) - (inputs (list python-absl-py - python-grpcio - python-markdown - python-numpy - python-protobuf - python-setuptools - python-six - python-tensorboard-data-server - python-tf-keras - python-werkzeug)) - (home-page "https://github.com/tensorflow/tensorboard") - (synopsis "TensorFlow's Visualization Toolkit") - (description "TensorBoard is a suite of web applications for inspecting and understanding your TensorFlow runs and graphs") - (license license:asl2.0))) - -(define-public python-tensorflow - (package - (name "python-tensorflow") - (version "2.15.0") - (source - (origin - (method url-fetch) - (uri (string-append "https://github.com/tensorflow/tensorflow/archive/refs/tags/v" - version ".tar.gz")) - (sha256 - (base32 "0862y0sfl9xykq6xrnhbf3hzzzgvqrdvry4id2qlfbfg1v5mmv4w")))) - (build-system pyproject-build-system) - (inputs (list python-keras-preprocessing - python-numpy - python-opt-einsum - python-packaging - python-requests - python-wheel)) - (home-page "https://github.com/tensorflow/tensorflow") - (synopsis "An Open Source Machine Learning Framework for Everyone") - (description "TensorFlow is an end-to-end open source platform for machine learning") - (license license:asl2.0))) - -;; (define-public python-tensorflow-text