Skip to main content

IrisML Tasks for transformers library

Project description

irisml-tasks-transformers

This is a MLTest task package for Huggingface's transformers package.

For the detail of IrisML framework, visit irisml repository

Tasks

create_transformers_model

Create a model using transformers library. Currently only CLIPModel is supported.

class Config:
    name: str
    pretrained: bool = False

class Outputs:
    model: torch.nn.Module

create_transformers_tokenizer

Create a tokenizer using transformers library.

class Config:
    name: str

class Outputs:
    tokenizer: typing.Callable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irisml_tasks_transformers-0.0.11.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file irisml_tasks_transformers-0.0.11.tar.gz.

File metadata

File hashes

Hashes for irisml_tasks_transformers-0.0.11.tar.gz
Algorithm Hash digest
SHA256 141ecf66ef542be5cb31dc6ca22397f422e093f76dead265a906b65133edd665
MD5 92a3a1d4baf0a5b2e19f80da9fc51fa0
BLAKE2b-256 3e1a37a28f4efac0098583f5228ec7bd069069e2e3f15e846ad6d8a3bce49acd

See more details on using hashes here.

File details

Details for the file irisml_tasks_transformers-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for irisml_tasks_transformers-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 651b4cdcd91cb06e0d3071a85b728ac29a6dd2c9b5ece4e2669ecfc961ec95ea
MD5 9331448f0bc3d86a9bbd031a8ccb5230
BLAKE2b-256 6ecd34e20d65b18fd5accf20bf559b02628758f84902beaff0322865561967c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page