BSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-5.3.0_3---
FreeBSD:14:quarterly-5.3.0_3n/a--
FreeBSD:15:latest-5.3.0_3n/a--
FreeBSD:15:quarterly-5.3.0_3n/an/an/a
FreeBSD:16:latest-5.3.0_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 32

Test 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 479

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
transformers-5.3.0.tar.gz8.830831e+06009555b364029da9e2946d41f1c5de9f15e6b1df46b189b7293f33a161b9c557
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
038115800a Yuri Victorovich misc/py-transformers: Patch out tokenizers's upper version limit