wbrown / novelai-research-tool

NovelAI Research Tool and API implementations in Golang
GNU General Public License v3.0
43 stars 9 forks source link

Add Support For Model-Specific Tokenizers #7

Closed wbrown closed 2 years ago

wbrown commented 2 years ago

Add support for multiple tokenizers based on model. As part of this work, refactor the scenario code and begin the process of breaking out context building from scenarios.

The ContextBuilder code can be used to build and manage contexts independently of Scenarios, but hasn't been pulled out of scenario.go yet.