# -*- 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 python 1.0
name py-transformers
version 5.18.0
revision 0
categories-append textproc
license Apache-2
maintainers nomaintainer
platforms {darwin any}
supported_archs noarch
description State-of-the-art Machine Learning for PyTorch and TensorFlow
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 310 311 312 313 314
checksums rmd160 ba31f9cf0cdc8acf13d9251aca0ad03f845e1722 \
sha256 d89c206e42e841af7cd314b3d2b21c03e977d819cdb4aef65ada048769a644df \
size 10028745
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-huggingface_hub \
port:py${python.version}-numpy \
port:py${python.version}-packaging \
port:py${python.version}-yaml \
port:py${python.version}-regex \
port:py${python.version}-safetensors \
port:py${python.version}-tokenizers \
port:py${python.version}-tqdm \
port:py${python.version}-typer
}