logo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions

51 lines
704 B

# Operator: nlp-longformer
3 years ago
Author:
## Overview
## Interface
```python
__init__(self, model_name: str, framework: str = 'pytorch')
```
Args:
- model_name:
- the model name for embedding
- supported types: str, for example 'xxx' or 'xxx'
- framework:
- the framework of the model
- supported types: str, default is 'pytorch'
```python
__call__(self, call_arg_1: xxx)
```
Args:
- call_arg_1:
- xxx(description about call_arg_1)
- supported types: xxx
Returns:
The Operator returns a tuple Tuple[('results_1', xxx)] containing following fields:
- results_1:
- xxx(description of results_1)
- data type: xxx
- shape: (xxx,)
## Requirements
## How it works
## Reference