1
0
Fork 0
mirror of https://gitlab.com/niansa/anyproc.git synced 2025-03-06 20:49:24 +01:00
Process anything - using language models!
Find a file
2023-04-22 15:35:22 +02:00
include Added Translator example 2023-04-20 21:37:00 +02:00
libjustlm@d09f892120 Updated justlm 2023-04-22 15:35:22 +02:00
.gitignore Initial commit 2023-04-16 21:08:29 +02:00
.gitmodules Initial commit 2023-04-16 21:08:29 +02:00
CMakeLists.txt Initial commit 2023-04-16 21:08:29 +02:00
dictionary.cpp Removed some includes 2023-04-16 21:53:07 +02:00
LICENSE Add LICENSE 2023-04-20 06:15:53 +00:00
README.md Add README.md 2023-04-20 06:15:02 +00:00
translator.cpp Print final unescaped result in translator 2023-04-16 22:19:36 +02:00

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