misc/py-transformers 5.3.0_3 FreeBSD
State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
038115800a- License
- APACHE20
- Categories
- misc, python
Description
Transformers acts as the model-definition framework for state-of-the-art machine learning models in text, computer vision, audio, video, and multimodal model, for both inference and training.
It centralizes the model definition so that this definition is agreed upon across the ecosystem. transformers is the pivot across frameworks: if a model definition is supported, it will be compatible with the majority of training frameworks (Axolotl, Unsloth, DeepSpeed, FSDP, PyTorch-Lightning, ...), inference engines (vLLM, SGLang, TGI, ...), and adjacent modeling libraries (llama.cpp, mlx, ...) which leverage the model definition from transformers.
Install
Binary package:
pkg install py312-transformers
From the ports tree:
cd /usr/ports/misc/py-transformers/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-transformers>0:misc/py-transformers
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 5.3.0_3 | - | - | - |
| FreeBSD:14:quarterly | - | 5.3.0_3 | n/a | - | - |
| FreeBSD:15:latest | - | 5.3.0_3 | n/a | - | - |
| FreeBSD:15:quarterly | - | 5.3.0_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 5.3.0_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 32
${PYTHON_PKGNAMEPREFIX}filelock>0: sysutils/py-filelock${PYTHON_PKGNAMEPREFIX}huggingface-hub>=1.3.0: misc/py-huggingface-hub${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy${PYTHON_PKGNAMEPREFIX}packaging>=20.0: devel/py-packaging${PYTHON_PKGNAMEPREFIX}pyyaml>=5.1: devel/py-pyyaml${PYTHON_PKGNAMEPREFIX}regex>=2019.12.17: textproc/py-regex${PYTHON_PKGNAMEPREFIX}requests>0: www/py-requests${PYTHON_PKGNAMEPREFIX}safetensors>=0.4.3: misc/py-safetensors${PYTHON_PKGNAMEPREFIX}tokenizers>=0.22: textproc/py-tokenizers${PYTHON_PKGNAMEPREFIX}tqdm>=4.27: misc/py-tqdm${PYTHON_PKGNAMEPREFIX}typer>0: devel/py-typer${PYTHON_PKGNAMEPREFIX}pytorch>=2.1: misc/py-pytorch${PYTHON_PKGNAMEPREFIX}pillow>0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}torchvision>0: misc/py-torchvision${PYTHON_PKGNAMEPREFIX}librosa>0: audio/py-librosa${PYTHON_PKGNAMEPREFIX}torchaudio>0: audio/py-torchaudio${PYTHON_PKGNAMEPREFIX}fastapi>0: www/py-fastapi${PYTHON_PKGNAMEPREFIX}openai>0: misc/py-openai${PYTHON_PKGNAMEPREFIX}pydantic2>0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}starlette>0: www/py-starlette${PYTHON_PKGNAMEPREFIX}uvicorn>0: www/py-uvicorn${PYTHON_PKGNAMEPREFIX}accelerate>=0.26.0: misc/py-accelerate${PYTHON_PKGNAMEPREFIX}blobfile>=0: net/py-blobfile${PYTHON_PKGNAMEPREFIX}codecarbon>=2.8.1: misc/py-codecarbon${PYTHON_PKGNAMEPREFIX}ftfy>=0: textproc/py-ftfy${PYTHON_PKGNAMEPREFIX}NATTEN>=0.14.6: misc/py-NATTEN${PYTHON_PKGNAMEPREFIX}num2words>=0: devel/py-num2words${PYTHON_PKGNAMEPREFIX}optuna>=0: misc/py-optuna${PYTHON_PKGNAMEPREFIX}sagemaker>=2.31.0: misc/py-sagemaker${PYTHON_PKGNAMEPREFIX}sentencepiece>=0.1.91: textproc/py-sentencepiece${PYTHON_PKGNAMEPREFIX}tiktoken>=0: textproc/py-tiktoken${PYTHON_PKGNAMEPREFIX}timm>=1.0.19: misc/py-timm
Test 1
${PYTHON_PKGNAMEPREFIX}parameterized>0: devel/py-parameterized
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 479
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/minizip
- archivers/py-brotli
- archivers/py-zopfli
- archivers/py-zstandard
- archivers/snappy
- archivers/zopfli
- archivers/zstd
- audio/flac
- audio/lame
- audio/libogg
- audio/libsndfile
- audio/libsoxr
- audio/libvorbis
- audio/mpg123
- audio/opus
- audio/pulseaudio
- audio/py-SoundFile
- audio/py-librosa
- audio/py-soxr
- audio/py-torchaudio
- audio/speexdsp
- audio/webrtc-audio-processing
- comms/py-pyserial
- converters/fribidi
- converters/libiconv
- databases/arrow
- databases/gdbm
- databases/postgresql18-client
- databases/py-alembic
- databases/py-pyarrow
- databases/py-pyiceberg
- databases/py-sqlalchemy20
- databases/py-sqlite3
- databases/py-sqlparse
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/abseil
- devel/aws-c-common
- devel/aws-c-compression
- devel/aws-c-event-stream
- devel/aws-c-http
- devel/aws-c-io
- devel/aws-c-mqtt
- devel/aws-c-s3
- devel/aws-c-sdkutils
- devel/aws-checksums
- devel/aws-crt-cpp
- devel/aws-sdk-cpp
- devel/benchmark
- devel/binutils
- devel/boost-libs
- devel/dbus
- devel/dbus-glib
- devel/gettext-runtime
- devel/gflags
- devel/glib20
- devel/googletest
- devel/grpc
- devel/hwloc2
- devel/icu
- devel/json-c
- devel/jsoncpp
- devel/level-zero
- devel/libdaemon
- devel/libdatrie
- devel/libedit
- devel/libepoll-shim
- devel/libevdev
- devel/libevent
- devel/libffi
- devel/libinotify
- devel/libltdl
- devel/libpciaccess
- devel/librttopo
- devel/libthai
- devel/libudev-devd
- devel/libunistring
- devel/llvm12
- devel/llvm19
- devel/llvm22
- devel/npth
- devel/nspr
- devel/onetbb
- devel/oniguruma
- devel/orc
- devel/pcre2
- devel/pkgconf
- devel/protobuf
- devel/py-Automat
- devel/py-Jinja2
- devel/py-aiobotocore
- devel/py-aioitertools
- devel/py-aiosignal
- devel/py-annotated-doc
- devel/py-annotated-types
The first 100 are listed.
Required by 40
- deskutils/py-qmd
- graphics/py-olmocr
- misc/colibri
- misc/comfyui
- misc/py-compressed-tensors
- misc/py-kokoro
- misc/py-llama-index-embeddings-huggingface
- misc/py-optimum
- misc/py-peft
- misc/py-sentence-transformers
- misc/py-vllm
- misc/py-xgrammar
- textproc/py-docling
- textproc/py-docling-agent
- textproc/py-docling-analysis-framework
- textproc/py-docling-core
- textproc/py-docling-cvat-tools
- textproc/py-docling-demo
- textproc/py-docling-enhanced
- textproc/py-docling-enhanced-onnx
- textproc/py-docling-eval
- textproc/py-docling-glm-ocr
- textproc/py-docling-google-ocr
- textproc/py-docling-graph
- textproc/py-docling-haystack
- textproc/py-docling-hierarchical-pdf
- textproc/py-docling-ibm-models
- textproc/py-docling-jobkit
- textproc/py-docling-langchain
- textproc/py-docling-litellm-picture-description
- textproc/py-docling-mcp
- textproc/py-docling-ocr
- textproc/py-docling-ocr-mistral
- textproc/py-docling-ocr-onnxtr
- textproc/py-docling-parse
- textproc/py-docling-sdg
- textproc/py-docling-serve
- textproc/py-docling-slim
- textproc/py-extended-docling
- textproc/py-langchain-docling
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| transformers-5.3.0.tar.gz | 8.830831e+06 | 009555b364029da9e2946d41f1c5de9f15e6b1df46b189b7293f33a161b9c557 |
Master sites 1
- PYPI