superduper_transformers
Transformers is a popular AI framework, and we have incorporated native support for Transformers to provide essential Large Language Model (LLM) capabilities.
Superduper allows users to work with arbitrary transformers pipelines, with custom input/ output data-types.
Installation
pip install superduper_transformers
API
| Class | Description |
|---|---|
superduper_transformers.model.TextClassificationPipeline |
A wrapper for transformers.Pipeline. |
superduper_transformers.model.LLM |
LLM model based on transformers library. |
Examples
TextClassificationPipeline
from superduper_transformers.model import TextClassificationPipeline
model = TextClassificationPipeline(
identifier="my-sentiment-analysis",
model_name="distilbert-base-uncased",
model_kwargs={"num_labels": 2},
device="cpu",
)
model.predict("Hello, world!")
LLM
from superduper_transformers import LLM
model = LLM(identifier="llm", model_name_or_path="facebook/opt-125m")
model.predict("Hello, world!")
Training Example
Read more about this here
Metadata
Release files for superduper-transformers 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| superduper_transformers-0.10.0.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| superduper_transformers-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.9 kB
Release files / superduper_transformers-0.10.0.tar.gz
| Download URL | superduper_transformers-0.10.0.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
854eea69e2f3b5519c7f6b24cb7cb0d785a885ab63144eb420b6e18ce8c877ef
|
|
BLAKE2b-256 checksum How to use checksums |
66deecf0fd917259212219af7a46806fc5909840c9e8688a2f4a26164f08719c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2025.
Transparency logRelease files / superduper_transformers-0.10.0-py3-none-any.whl
| Download URL | superduper_transformers-0.10.0-py3-none-any.whl |
|---|---|
| Size | 21.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5026e792327467f5c164f0c8de5e74accabb67133f87031d6030a20835267d21
|
|
BLAKE2b-256 checksum How to use checksums |
207537b7585990fa6e9196bd472708b2774b451e239ae9341ef03c1705dac73a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 26, 2025.
Transparency log