Formatron v0.4.9
Formatron empowers everyone to control the output format of language models with minimal overhead.
Loading...
Searching...
No Matches
formatron.integrations.RWKV Namespace Reference

This module integrates the RWKV library by providing convenience utilities. More...

Classes

class  PIPELINE
 A wrapper for the pipeline of RWKV. More...
 
class  PIPELINE_ARGS
 A wrapper for the arguments of the pipeline of RWKV. More...
 

Functions

kbnf.Vocabulary create_engine_vocabulary (str WORD_NAME, tokenizer)
 Create a vocabulary for the KBNF engine.
 

Detailed Description

This module integrates the RWKV library by providing convenience utilities.

Function Documentation

◆ create_engine_vocabulary()

kbnf.Vocabulary formatron.integrations.RWKV.create_engine_vocabulary ( str WORD_NAME,
tokenizer )

Create a vocabulary for the KBNF engine.

Definition at line 37 of file RWKV.py.