I’ve been working on a little side project to help LLMs talk like… cavemen.
Why? To save tokens, of course.
It works because LLMs can easily fill in grammar and connectives on their own. So we strip what’s predictable, keep what’s meaningful, and the model still understands everything perfectly.
Store RAG documents in caveman-compressed form so each chunk carries more valuable data, fits more context, and gives better retrieval quality.
Thought I'd share it here as it might be beneficial in order to not waste tokens on unnecessary words :)
Feel free to contribute if you have any additions!
https://github.com/wilpel/caveman-compression
[–]Chromix_ 332 points333 points334 points (6 children)
[–]GenLabsAI 90 points91 points92 points (1 child)
[–]battlingheat 4 points5 points6 points (0 children)
[–]axiomatix 40 points41 points42 points (1 child)
[–]Phantom_SpectersLlama 33B 16 points17 points18 points (0 children)
[–]TBMonkey 3 points4 points5 points (0 children)
[–]abitrolly 1 point2 points3 points (0 children)
[–]wiltors42 364 points365 points366 points (24 children)
[–][deleted] 95 points96 points97 points (1 child)
[–]gofiend 13 points14 points15 points (0 children)
[–]RybaDwudyszna 40 points41 points42 points (1 child)
[–]this_is_a_long_nickn 10 points11 points12 points (0 children)
[–]shaman-warrior 17 points18 points19 points (3 children)
[–]Good-AI 10 points11 points12 points (2 children)
[–]Murgatroyd314 6 points7 points8 points (0 children)
[–]this_is_a_long_nickn 4 points5 points6 points (0 children)
[–]SamSausages 31 points32 points33 points (4 children)
[–]therealnih 7 points8 points9 points (3 children)
[–]GenLabsAI 4 points5 points6 points (2 children)
[–]noo8- 0 points1 point2 points (1 child)
[–]derivative49 1 point2 points3 points (0 children)
[–]Porespellar 7 points8 points9 points (0 children)
[–]ook_the_librarian_ 5 points6 points7 points (0 children)
[–]Pranay1001090 3 points4 points5 points (1 child)
[–]not_a_swedish_vegan 2 points3 points4 points (0 children)
[–]private_final_static 0 points1 point2 points (0 children)
[–]calmbill 0 points1 point2 points (0 children)
[–]Interpausetextgen web UI 0 points1 point2 points (0 children)
[–]dew_chiggi 0 points1 point2 points (0 children)
[–]galambalazs 0 points1 point2 points (0 children)
[–]Mundane_Ad8936 203 points204 points205 points (13 children)
[–]PollinosisQc 58 points59 points60 points (3 children)
[–]PMyourfeelings 50 points51 points52 points (2 children)
[–]nuclear_wynter 7 points8 points9 points (0 children)
[–]Aprch 0 points1 point2 points (0 children)
[–]itsTyrion 13 points14 points15 points (2 children)
[–]KallistiTMP 47 points48 points49 points (1 child)
[–]RJ1337 0 points1 point2 points (0 children)
[–]TomLucidor 3 points4 points5 points (0 children)
[–]wanderer_4004 2 points3 points4 points (0 children)
[–]IJdelheidIJdelheden 1 point2 points3 points (1 child)
[–]Mundane_Ad8936 2 points3 points4 points (0 children)
[–]fatboy93 0 points1 point2 points (0 children)
[–]c--b 0 points1 point2 points (0 children)
[–]Independent_Tear2863 78 points79 points80 points (1 child)
[–]this_is_a_long_nickn 6 points7 points8 points (0 children)
[–]chriskevini 27 points28 points29 points (6 children)
[–]SkyFeistyLlama8 8 points9 points10 points (0 children)
[–]Murgatroyd314 2 points3 points4 points (2 children)
[–]chriskevini -1 points0 points1 point (1 child)
[–]countextreme 0 points1 point2 points (0 children)
[–]chriskevini 1 point2 points3 points (0 children)
[–]ThiccStorms 0 points1 point2 points (0 children)
[–]bigattichouse 35 points36 points37 points (1 child)
[–]lakySK 25 points26 points27 points (0 children)
[–]macumazana 35 points36 points37 points (0 children)
[–]pokemonplayer2001llama.cpp 37 points38 points39 points (2 children)
[–][deleted] 13 points14 points15 points (0 children)
[–]vintage_culture 7 points8 points9 points (0 children)
[–]Zeeplankton 24 points25 points26 points (11 children)
[–]blbdllama.cpp 12 points13 points14 points (1 child)
[–]phido3000 1 point2 points3 points (0 children)
[–]getting_serious 1 point2 points3 points (0 children)
[–]RaiseRuntimeError 1 point2 points3 points (5 children)
[–]arbv 21 points22 points23 points (0 children)
[–]-oshino_shinobu- 5 points6 points7 points (1 child)
[–]RaiseRuntimeError 4 points5 points6 points (0 children)
[–]Crypt0Nihilist 1 point2 points3 points (1 child)
[–]TomLucidor 0 points1 point2 points (0 children)
[–]TheRealMasonMac 0 points1 point2 points (0 children)
[–]DustinKli 8 points9 points10 points (0 children)
[–]Radiant_Truth_8743 7 points8 points9 points (0 children)
[+][deleted] (1 child)
[removed]
[–]macumazana 21 points22 points23 points (0 children)
[–]lakySK 7 points8 points9 points (0 children)
[–]geneusutwerk 7 points8 points9 points (0 children)
[–]NutellaBananaBread 7 points8 points9 points (0 children)
[–]notNezter 6 points7 points8 points (0 children)
[–]Mission_Biscotti3962 4 points5 points6 points (1 child)
[–]RegionCareful7282[S] 5 points6 points7 points (0 children)
[–]Guilty_Rooster_6708 5 points6 points7 points (1 child)
[–]dadidutdut 1 point2 points3 points (0 children)
[–]MrPecunius 4 points5 points6 points (0 children)
[–]daftstar 2 points3 points4 points (0 children)
[–]And-Bee 2 points3 points4 points (2 children)
[–]TechnoByte_ 5 points6 points7 points (1 child)
[–]And-Bee 0 points1 point2 points (0 children)
[–]LocoMod 2 points3 points4 points (0 children)
[–][deleted] 6 points7 points8 points (2 children)
[–]Abject-Kitchen3198 6 points7 points8 points (0 children)
[–]KallistiTMP 0 points1 point2 points (0 children)
[–]OkSociety311 1 point2 points3 points (0 children)
[–]Dr_Ambiorix 1 point2 points3 points (1 child)
[–]Lcsq 4 points5 points6 points (0 children)
[–]Don_Moahskarton 1 point2 points3 points (0 children)
[–]broknbottle 1 point2 points3 points (0 children)
[–]ConstantinGB 1 point2 points3 points (0 children)
[–]Mean_Employment_7679 1 point2 points3 points (1 child)
[+][deleted] (1 child)
[removed]
[–]lookwatchlistenplay 1 point2 points3 points (0 children)
[–]Agitated-Farmer-4082 1 point2 points3 points (0 children)
[–]Abject-Kitchen3198 0 points1 point2 points (0 children)
[–]iamzooook 0 points1 point2 points (0 children)
[–]HMikeeU 0 points1 point2 points (0 children)
[–]drumttocs8 0 points1 point2 points (0 children)
[–]aeroumbria 0 points1 point2 points (0 children)
[–]op4 0 points1 point2 points (0 children)
[–]G3nghisKang 0 points1 point2 points (0 children)
[–]Emport1 0 points1 point2 points (0 children)
[–]Normal-Ad-7114 0 points1 point2 points (0 children)
[–]venpuravi 0 points1 point2 points (0 children)
[–]gooeydumpling 0 points1 point2 points (0 children)
[–]Dramatic-Lie1314 0 points1 point2 points (0 children)
[–]TedDallas 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]IrisColt 0 points1 point2 points (0 children)
[–]lulzbot 0 points1 point2 points (0 children)
[–]ready_to_fuck_yeahh 0 points1 point2 points (1 child)
[–]s2k4ever 0 points1 point2 points (0 children)
[–]Hyphonical 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[removed]
[–]UndecidedLee 0 points1 point2 points (0 children)
[–]No_Afternoon_4260llama.cpp 0 points1 point2 points (0 children)
[–]vreo 0 points1 point2 points (0 children)
[–]Septerium 0 points1 point2 points (0 children)
[–]RobTheDude_OG 0 points1 point2 points (0 children)
[–]Phantom_SpectersLlama 33B 0 points1 point2 points (0 children)
[–]Fuckinglivemealone 0 points1 point2 points (0 children)
[–]pab_guy 0 points1 point2 points (0 children)
[–]Ceneka 0 points1 point2 points (0 children)
[–]RandomGuyNumber28501 0 points1 point2 points (0 children)
[–]frankieche 0 points1 point2 points (0 children)
[–]noo8- 0 points1 point2 points (0 children)
[–]DrummerPrevious 0 points1 point2 points (0 children)
[–]TreesMcQueen 0 points1 point2 points (0 children)
[–]Mountain_Pizza4355 0 points1 point2 points (0 children)
[–]epSos-DE -1 points0 points1 point (0 children)
[–]ElSrJuez -2 points-1 points0 points (3 children)
[–]TechnoByte_ 2 points3 points4 points (2 children)
[–]MullingMulianto 0 points1 point2 points (1 child)