towhee
/
nlp-longformer
copied
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
Updated 3 years ago
towhee
Operator: nlp-longformer
Author:
Overview
Interface
__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'
__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
| 2 Commits | ||
---|---|---|---|
|
704 B
|
3 years ago | |
|
0 B
|
3 years ago | |
|
1.4 KiB
|
3 years ago |