Show HN: Fine-grained stylistic control of LLMs using model arithmetic

https://github.com/eth-sri/language-model-arithmetic
by OcelotBane • 3 years ago
85 8 3 years ago

We developed a new framework that enables flexible control of generated text in language models. By combining several models and/or system prompts in one mathematical formula, it lets you tweak your style and combine model outputs with ease. A handy tool for those working with LLMs, looking for more fine-grained control of stylistic output. More details in our paper: https://arxiv.org/abs/2311.14479. Feedback and potential applications are welcome.

Related Stories

Loading related stories...

Source preview

github.com