A wrapper for the pipeline of RWKV.
More...
A wrapper for the pipeline of RWKV.
Definition at line 47 of file RWKV.py.
◆ __init__()
formatron.integrations.RWKV.PIPELINE.__init__ |
( |
| self, |
|
|
| model, |
|
|
| WORD_NAME, |
|
|
FormatterBuilder | formatter_builder = None ) |
◆ generate()
formatron.integrations.RWKV.PIPELINE.generate |
( |
| self, |
|
|
| ctx, |
|
|
| token_count = 100, |
|
|
| args = PIPELINE_ARGS(), |
|
|
| callback = None, |
|
|
| state = None ) |
◆ formatter
formatron.integrations.RWKV.PIPELINE.formatter |
The documentation for this class was generated from the following file: