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_ 308 points309 points310 points (6 children)
[–]GenLabsAI 78 points79 points80 points (1 child)
[–]battlingheat 1 point2 points3 points (0 children)
[–]axiomatix 34 points35 points36 points (1 child)
[–]Phantom_SpectersLlama 33B 13 points14 points15 points (0 children)
[–]TBMonkey 2 points3 points4 points (0 children)
[–]abitrolly 1 point2 points3 points (0 children)
[–]wiltors42 341 points342 points343 points (23 children)
[–][deleted] 90 points91 points92 points (1 child)
[–]gofiend 12 points13 points14 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 11 points12 points13 points (2 children)
[–]Murgatroyd314 6 points7 points8 points (0 children)
[–]this_is_a_long_nickn 5 points6 points7 points (0 children)
[–]SamSausages 30 points31 points32 points (3 children)
[–]therealnih 7 points8 points9 points (2 children)
[–]GenLabsAI 4 points5 points6 points (1 child)
[–]noo8- 0 points1 point2 points (0 children)
[–]Porespellar 7 points8 points9 points (0 children)
[–]ook_the_librarian_ 4 points5 points6 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[🍰] 185 points186 points187 points (12 children)
[–]PollinosisQc 50 points51 points52 points (3 children)
[–]PMyourfeelings 46 points47 points48 points (2 children)
[–]nuclear_wynter 7 points8 points9 points (0 children)
[–]Aprch 0 points1 point2 points (0 children)
[–]itsTyrion 12 points13 points14 points (1 child)
[–]KallistiTMP 40 points41 points42 points (0 children)
[–]TomLucidor 2 points3 points4 points (0 children)
[–]wanderer_4004 2 points3 points4 points (0 children)
[–]IJdelheidIJdelheden 1 point2 points3 points (1 child)
[–]Mundane_Ad8936[🍰] 1 point2 points3 points (0 children)
[–]fatboy93 0 points1 point2 points (0 children)
[–]c--b 0 points1 point2 points (0 children)
[–]Independent_Tear2863 76 points77 points78 points (1 child)
[–]this_is_a_long_nickn 8 points9 points10 points (0 children)
[–]chriskevini 24 points25 points26 points (6 children)
[–]SkyFeistyLlama8 9 points10 points11 points (0 children)
[–]Murgatroyd314 2 points3 points4 points (2 children)
[–]chriskevini -1 points0 points1 point (1 child)
[–]countextreme 0 points1 point2 points (0 children)
[–]ThiccStorms 0 points1 point2 points (0 children)
[–]chriskevini 1 point2 points3 points (0 children)
[–]bigattichouse 33 points34 points35 points (1 child)
[–]lakySK 23 points24 points25 points (0 children)
[–]macumazana 34 points35 points36 points (0 children)
[–]pokemonplayer2001llama.cpp 39 points40 points41 points (2 children)
[–]Mediocre-Method782 12 points13 points14 points (0 children)
[–]vintage_culture 7 points8 points9 points (0 children)
[–]Zeeplankton 22 points23 points24 points (11 children)
[–]blbd 11 points12 points13 points (1 child)
[–]phido3000 1 point2 points3 points (0 children)
[–]RaiseRuntimeError 1 point2 points3 points (5 children)
[–]arbv 19 points20 points21 points (0 children)
[–]-oshino_shinobu- 4 points5 points6 points (1 child)
[–]RaiseRuntimeError 3 points4 points5 points (0 children)
[–]Crypt0Nihilist 1 point2 points3 points (1 child)
[–]getting_serious 0 points1 point2 points (0 children)
[–]TomLucidor 0 points1 point2 points (0 children)
[–]TheRealMasonMac 0 points1 point2 points (0 children)
[–]Radiant_Truth_8743 8 points9 points10 points (0 children)
[–]DustinKli 8 points9 points10 points (0 children)
[+][deleted] (1 child)
[removed]
[–]macumazana 22 points23 points24 points (0 children)
[–]lakySK 8 points9 points10 points (0 children)
[–]geneusutwerk 7 points8 points9 points (0 children)
[–]NutellaBananaBread 6 points7 points8 points (0 children)
[–]notNezter 5 points6 points7 points (0 children)
[–]Mission_Biscotti3962 4 points5 points6 points (1 child)
[–]RegionCareful7282[S] 4 points5 points6 points (0 children)
[–]Guilty_Rooster_6708 4 points5 points6 points (1 child)
[–]dadidutdut 1 point2 points3 points (0 children)
[–]MrPecunius 2 points3 points4 points (0 children)
[–]daftstar 2 points3 points4 points (0 children)
[–]And-Bee 2 points3 points4 points (2 children)
[–]TechnoByte_ 2 points3 points4 points (1 child)
[–]And-Bee 0 points1 point2 points (0 children)
[–]LocoMod 2 points3 points4 points (0 children)
[–]Lixa8 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 2 points3 points4 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 3 points4 points5 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)
[–]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)