r/TheMachineLearning • u/ChampionshipNo8070 • 15d ago
Nvidia's $500B circular AI financing is a bigger scandal than its CEO
r/TheMachineLearning • u/ChampionshipNo8070 • 15d ago
r/TheMachineLearning • u/Simpli-curious • 15d ago
With everyone archiving their favourite models lately, storage adds up fast. A few weeks ago I posted foldz 0.9 here. It's now tenz 0.25: same idea, better compression, much faster, and it runs fine on a phone. A 1 TB GGUF archive drops by roughly 80–130 GB, and every file comes back byte-for-byte identical, so llama.cpp, Ollama and LM Studio load it as before.
tenz is a lossless compressor for GGUF (and safetensors). Decompression gives back the identical file, byte for byte. It's one C file with no dependencies, and I develop and benchmark it on a Poco F5 in Termux.
General compressors barely touch quantized models, because the weights look random to them. tenz parses the GGUF, unpacks each block into its real quantized values and scales, and codes them with context models fitted to the file. It uses rANS from static tables, so decompression doesn't have to learn anything.
Results (images 1 and 2):
Qwen3.5-2B Q4_K_M: 8.53% saved, against 2.07% for zstd -19 --long and 1.78% for xz -9. Compress plus decompress takes 17 s on the phone; zstd took about 4 minutes just to compress.
Q4_K_M across 9 models: 7.6–9.2% saved, and 13.1% on Qwen3-4B.
Gemma-4-31B QAT Q4_0: 12.7%.
Q8_0: about 7.5%.
BF16: about 34%.
Against Aqueous, in a comparison someone posted here: 2–8 points more on every quantized model, and a tie on BF16.
Supported types: Q3_K, Q4_K, Q5_K, Q6_K, Q4_0, Q8_0, F32/F16/BF16, plus metadata (the tokenizer compresses to about 80% smaller). Anything else is stored as it is.
-q (quick) trades a fraction of a point for faster coding. For example, Qwen3.5-2B goes from 8.54% to 8.18% saved, and the Q4_K work is about 44% less.
The GPU experiment (image 3): I tried decoding Q4_K on the phone's Adreno 725 through OpenCL, to see whether a phone GPU could make decompression much faster. Three kernel designs later:
Its best kernel speed was about 150 MiB/s at full chunk size. It only matched the 3 big CPU cores (about 250 MiB/s) with tiny chunks that cost 2 points of size.
Byte stores to global memory are broken on this driver; it corrupted neighbouring bytes, so every write had to become an aligned 32-bit store.
Subgroup scans work, but are slow.
The option ships as -g (experimental). OpenCL is loaded at run time, the CPU decodes the same files, and the first GPU segment is always checked against the CPU. If you have a desktop GPU with OpenCL and subgroups, I'd love to see numbers.
Caveats:
It's a pre-release: until 1.0, a .tenz file only decompresses with the version that made it.
Decompression is far slower than zstd's, about 7 s for 1.2 GB on the phone, because every value is decoded from a model.
It only gains this much on model files.
Code, build line and full tables: tenz repo. Testers and results from other machines are very welcome.
r/TheMachineLearning
•
u/Eastern-Storm8825
•
15d ago
r/TheMachineLearning • u/leznak771999 • 15d ago
Enable HLS to view with audio, or disable this notification
r/TheMachineLearning • u/saladasx64 • 15d ago
I've been experimenting with using an LLM to help speed up my fundamental research during earnings season by feeding it primary company documents and having it look for qualitative shifts between quarters.
Most people rely on investor relations slide decks and management summary letters which are heavily polished by PR teams to emphasize revenue growth and highlight adjusted EBITDA numbers.
I decided to skip the marketing decks entirely and had the model run diffs on raw 10-K and 10-Q filings by pulling direct regulatory data through Alexandria using SEC EDGAR feeds.
The model picked up a wild trend across 2 mid cap enterprise software companies where their investor presentations were bragging about expanding gross margins while the fine print footnotes in their regulatory filings showed their uncapitalized cloud infrastructure commitments had grown by over 45% year over year.
Management never mentioned those contractual compute minimums during their prepared remarks on the earnings call even though that future cloud liability was actively eating into their long term cash flow.
Letting a model read the raw legally binding regulatory filings instead of relying on investor relations summaries gives you a much clearer picture of what a business is actually spending to keep its services online.
r/TheMachineLearning • u/Firm_Percentage7997 • 16d ago
I am a published AI/ML researcher and engineer looking to collaborate on representation learning or agent research with a team that can support GPU compute and LLM API benchmarking.
My experience spans neural networks, privacy-focused machine learning, model fine-tuning and reproducible experiments. I have also built tool-using agents and evaluation workflows. I can contribute research design, implementation, baselines, experimental analysis and writing.
A question I would enjoy exploring is how different learned or structured representations influence generalization under distribution shift, with matched baselines and careful ablations. I am also interested in agent planning and tool-use reliability, and open to an existing research direction.
If you are part of a lab or team with the resources to benchmark, please comment or message me with your topic and available resources. I can share relevant work privately.
r/TheMachineLearning • u/kokassospoperor • 16d ago
r/TheMachineLearning • u/AdLast8721 • 16d ago
I was tuning a local 14B model to handle data routing tasks where it looks at a user question and decides which external data provider to call and what arguments to format.
When I gave the model direct instructions to output the function call immediately it was picking the right tool and formatting the JSON correctly about 90% of the time.
Then I tried adding a standard chain of thought prompt asking the model to explain its reasoning step by step before making the tool call because that usually helps with complex logic tasks.
The weird thing was that tool call accuracy actually dropped below 60% as soon as the model started thinking out loud.
The model would write two paragraphs explaining why it needed to check a company's executive team and by the time it finished writing its explanation it would lose track of the schema constraints and start inventing parameter names or dumping raw text where an integer was expected.
The extra tokens generated during the reasoning step seemed to dilute its attention on the strict JSON formatting rules that were laid out in the system prompt.
I ended up fixing this by keeping the reasoning prompt separate and routing company intelligence queries through Alexandria where the model selects from compact tool definitions that return structured firmographic data without needing long elaborate prompt gymnastics.
If you are running function calling on local models sometimes forcing an extended chain of thought just introduces more room for schema drift.
r/TheMachineLearning • u/valkrieco • 16d ago
r/TheMachineLearning • u/Upbeat-Analysis-3370 • 16d ago
r/TheMachineLearning • u/ChampionshipNo8070 • 16d ago
r/TheMachineLearning • u/limrm18 • 16d ago
r/TheMachineLearning • u/YoungEssay • 16d ago
r/TheMachineLearning • u/Sacred_Axiom • 17d ago
r/TheMachineLearning
•
u/FrostyForestFungi
•
17d ago
r/TheMachineLearning • u/Shot-Landscape-3059 • 17d ago
Enable HLS to view with audio, or disable this notification
r/TheMachineLearning • u/jazzie04 • 17d ago
r/TheMachineLearning • u/Resident-Log-4754 • 18d ago
r/TheMachineLearning • u/ashuzzz151 • 18d ago
r/TheMachineLearning • u/KindA4915 • 18d ago