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

Go to the source code of this file.

Classes

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

Namespaces

namespace  formatron
 
namespace  formatron.integrations
 This subpackage contains integrations with other frameworks and libraries.
 
namespace  formatron.integrations.RWKV
 This module integrates the RWKV library by providing convenience utilities.
 

Functions

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