mirror of
https://gitlab.com/niansa/anyproc.git
synced 2025-03-06 20:49:24 +01:00
Process anything - using language models!
include | ||
libjustlm@d09f892120 | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
dictionary.cpp | ||
LICENSE | ||
README.md | ||
translator.cpp |
anyproc
Process anything - using language models!
Introduction
This project presents the amazing way of using Python expressions to tell a language model what to do! While being mostly targeted at LLaMa it should be easily portable to other language models through the libjustlm abstraction.
It mostly works zero-shot (so without giving it any "examples" at all), however to achieve the best possible performance, it is recommeded to do few-shotting.
However, this project is just an experiment and you are probably better off using proper english language prompts.
Examples
There are 2 examples to be found in anyproc.hpp
:
- Translation: reasonably good translation
- Dictionary: word lookup and description capabilities