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.2.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

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