BSD Ports

ai/py-transformers 5.3.0_2 MidnightBSD

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
b807d69740
License
Apache-2.0
Categories
ai, 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:

mport install ${PYTHON_PKGNAMEPREFIX}transformers

From mports:

cd /usr/mports/ai/py-transformers && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}transformers>0:ai/py-transformers

Dependencies

As this port's Makefile names them.

Build 1

Runtime 32

Test 1

Build dependencies 1
Run dependencies 32

No port depends on this one.

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
b807d69740 Lucas Holt Add LangChain AI ports and dependencies
AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>