You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
110 lines
5.1 KiB
Tcl
110 lines
5.1 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup huggingface transformers 4.4.2 v
|
|
revision 1
|
|
name py-${github.project}
|
|
categories-append textproc
|
|
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
supported_archs noarch
|
|
|
|
description State-of-the-art Natural Language Processing for \
|
|
TensorFlow 2.0 and PyTorch
|
|
|
|
long_description 🤗 Transformers provides thousands of pretrained \
|
|
models to perform tasks on texts such as \
|
|
classification, information extraction, question \
|
|
answering, summarization, translation, text \
|
|
generation, etc in 100+ languages. Its aim is to \
|
|
make cutting-edge NLP easier to use for everyone.
|
|
|
|
homepage https://huggingface.co/transformers/
|
|
|
|
python.versions 38 39
|
|
|
|
checksums rmd160 306532b5bb86009cb3120a0cf79124ab944b28cd \
|
|
sha256 62d7fb2167409c5cffdf4e680d2e43e21113e2996dd61fcf676e151592eeb774 \
|
|
size 7599108
|
|
|
|
if {${name} ne ${subport}} {
|
|
# see https://github.com/huggingface/transformers/blob/master/setup.py
|
|
# https://github.com/huggingface/transformers/blob/master/setup.cfg
|
|
depends_lib-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
set tf_py_path Library/Frameworks/Python.framework/Versions/${python.branch}/lib/python${python.branch}/site-packages/tensorflow
|
|
depends_run-append \
|
|
port:py${python.version}-absl \
|
|
port:py${python.version}-black \
|
|
port:py${python.version}-conllu \
|
|
port:py${python.version}-cookiecutter \
|
|
port:py${python.version}-datasets \
|
|
port:py${python.version}-elasticsearch \
|
|
port:py${python.version}-fairseq \
|
|
port:py${python.version}-faiss \
|
|
port:py${python.version}-fastapi \
|
|
port:py${python.version}-fastprogress \
|
|
port:py${python.version}-filelock \
|
|
port:py${python.version}-fire \
|
|
port:py${python.version}-flake8 \
|
|
port:py${python.version}-fugashi \
|
|
port:py${python.version}-h5py \
|
|
port:py${python.version}-isort \
|
|
port:py${python.version}-importlib-metadata \
|
|
port:py${python.version}-keras2onnx \
|
|
port:py${python.version}-matplotlib \
|
|
port:py${python.version}-nltk \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-onnxconverter-common \
|
|
port:py${python.version}-Pillow \
|
|
port:py${python.version}-pandas \
|
|
port:py${python.version}-packaging \
|
|
port:py${python.version}-parameterized \
|
|
port:py${python.version}-protobuf3 \
|
|
port:py${python.version}-psutil \
|
|
port:py${python.version}-pydantic \
|
|
port:py${python.version}-pytorch \
|
|
port:py${python.version}-pytorch-lightning \
|
|
port:py${python.version}-recommonmark \
|
|
port:py${python.version}-regex \
|
|
port:py${python.version}-requests \
|
|
port:py${python.version}-sacrebleu \
|
|
port:py${python.version}-sacremoses \
|
|
port:py${python.version}-scikit-learn \
|
|
port:py${python.version}-seqeval \
|
|
port:py${python.version}-sentencepiece \
|
|
port:py${python.version}-soundfile \
|
|
port:py${python.version}-sphinx \
|
|
port:py${python.version}-starlette \
|
|
port:py${python.version}-tensorboardX \
|
|
path:${tf_py_path}:py${python.version}-tensorflow \
|
|
port:py${python.version}-tensorflow-datasets \
|
|
port:py${python.version}-timeout-decorator \
|
|
port:py${python.version}-tokenizers \
|
|
port:py${python.version}-torchaudio \
|
|
port:py${python.version}-torchtext \
|
|
port:py${python.version}-torchvision \
|
|
port:py${python.version}-tqdm \
|
|
port:py${python.version}-unidic \
|
|
port:py${python.version}-unidic-lite \
|
|
port:py${python.version}-uvicorn
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-pytest-sugar \
|
|
port:py${python.version}-pytest-xdist
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target tests
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
livecheck.type none
|
|
}
|