Metadata-Version: 2.1
Name: irisml-tasks-transformers
Version: 0.0.1
Summary: IrisML tasks for transformers library
Home-page: https://github.com/microsoft/irisml-tasks-transformers
Author: irisdev
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# irisml-tasks-transformers

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

For the detail of IrisML framework, visit [irisml repository](https://github.com/microsoft/irisml)

# Tasks
## create_transformers_model
Create a model using transformers library. Currently only CLIPModel is supported.
```python
class Config:
    name: str
    pretrained: bool = False

class Outputs:
    model: torch.nn.Module
```

## create_transformers_tokenizer
Create a tokenizer using transformers library.
```python
class Config:
    name: str

class Outputs:
    tokenizer: typing.Callable
```
