▲ 1.0k r/generativeAI+1 crossposts

The gap between closed and open models might be much smaller than commonly assumed, because we don’t know what closed model providers do *in addition to* model inference

When Claude dominates GLM-5.2 in benchmarks, it’s usually assumed that Anthropic has superior model architectures, superior training pipelines, and other advanced machine learning techniques that make their models better than the competition.

But actually, this doesn’t follow. Because the benchmarks compare model inference on GLM with the whole Claude product, and we don’t know what that product does behind the scenes.

Anthropic already redacts reasoning traces and doesn’t give you access to the full conversation. They could easily be using

  • RAG/knowledge injection, e.g. for software documentation
  • Prompt preprocessing
  • Context-dependent system prompts
  • Hidden internal tool calls
  • “Clown-car MoE“/shelling out to specialized expert models

all of which can dramatically improve model performance, and serve the entire thing as “Claude” over their API. You wouldn’t know about it and when benchmarking Claude against an open model, you’d effectively be comparing apples to oranges.

It’s perfectly possible that they don’t have a single model whose inference output beats open models.

reddit.com
u/-p-e-w- — 5 days ago

The Swiss Federal Supreme Court is evaluating Heretic

“Oh no, are they banning abliterated models now?!?”

If that was your first thought when you read the title I can’t blame you. But that’s actually not what’s happening in this case.

Instead, the Swiss Federal Supreme Court is evaluating Heretic for their own use!

As it turns out, the Court has been suffering from the same problem as many people on this sub: LLMs refusing perfectly legitimate requests. The paper “Measuring & Mitigating Over-Alignment for LLMs in Multilingual Criminal Law Courts” investigates potential solutions to this problem, including abliteration, and specifically evaluates Heretic in Section 5.2, with a favorable conclusion.

Please remember that only criminals and terrorists use abliterated models 😏

reddit.com
u/-p-e-w- — 13 days ago
▲ 935 r/CryptoAnarchy+1 crossposts

Introducing the Heretic Grimoire: The takedown-resilient, local-first backup system that keeps uncensored models available forever

Welcome to another episode of THE HERETIC SHOW, where authoritarian dreams are destroyed by unreasonably effective linear algebra! Let's start with an important announcement:

Heretic now has an official website at https://heretic-project.org

This website contains:

  • Links to all official resources associated with the Heretic project
  • A complete tutorial for using Heretic
  • Detailed installation instructions with multiple redundant installation sources
  • Searchable documentation for every configuration parameter

There is no guarantee that platforms like GitHub and Hugging Face will continue to host Heretic resources in the future, so I recommend bookmarking this website as it will always point to wherever the individual project resources are currently located.

 

But now to the main event. As you may have noticed, hostility towards local LLMs is growing everywhere, and this is especially true for decensored models like those created by Heretic. Already the project has been targeted with a legal notice from Meta, and demonized in mainstream media publications. Unfortunately, the AI world remains dependent on a massive single point of failure for model hosting, which is very difficult to replace because LLMs are huge.

What if that single point of failure actually fails one day, for one reason or another? What if, in order to obtain Heretic models, you can't simply visit Hugging Face anymore? What if tens of thousands of hours invested by the community to create those models simply vanish?

This existential risk has been worrying me for some time, and after several months of cumulative work, I am happy to announce that we now have a solution: Everyone simply downloads all Heretic models to their own system! That way, if the original model is deleted, you still have a local copy. Easy, right?

Now you're probably thinking that this is a silly joke. Well, here's the punchline: Those models are just 9 kilobytes each, so you can store thousands of them on your phone without even noticing.

The Heretic Grimoire

In Heretic 1.3, we introduced reproducible models. When uploading an abliterated model to Hugging Face with Heretic, you can now choose to include reproducibility information, which will be stored in the model repository in human-readable form. But there is also a machine-readable file named reproduce.json that contains all information needed to reproduce the model.

That file is like a spell in a grimoire, allowing you to summon not a demonic entity, but the very same model it belongs to. It's the entire model in a 9 kb text file.

Heretic 1.4, released today, contains comprehensive functionality for working with these files, a system I call the Heretic Grimoire. Here's how it works:

First, make sure you actually have the latest Heretic version, which is required to use these features:

pip install -U heretic-llm

Now you can fetch all reproduce.json files from publicly available Heretic models on Hugging Face, and store them in a directory of your choice (in this case, my_grimoire):

heretic --collect-reproducibles my_grimoire

You now have a local backup of all reproducible Heretic models, properly catalogued. To update this collection, simply run the command again. It functions as an append-only backup, never deleting files even if the corresponding model no longer exists on Hugging Face.

To restore one of those models, simply run

heretic --reproduce path/to/reproduce.json

Heretic will guide you through the process, checking your environment against the one that was used to create the model, and pointing out potentially problematic mismatches. The multi-hour computations that were required to make the original model do not have to be re-done, and the entire process typically takes around a minute. After you have exported the resulting model, Heretic will verify the hashes of the weight files against those stored in the reproduction manifest (they may or may not be identical, depending on how closely your system resembles the original one).

That's it! While the Grimoire system is designed from the ground up as a local backup, you can also see a complete list of reproducible models, updated twice daily, on this beautiful app created by long-time Heretic contributor Vinay Umrethe, who also implemented the first part of the reproducibility system. Even today, this app already preserves no less than 10 models that have since been removed from Hugging Face, allowing them to be recreated at will.

The 1.4 release also contains several other important improvements and bug fixes, which you can find in the release notes. Perhaps most notably, you can now choose to export a LoRA instead of the full model, which provides another path to cheap model storage, and opens interesting possibilities such as merging manually with non-standard weights.

 

Heretic releases on IPFS

Over the past two months, the Heretic project has gradually embraced decentralized and federated infrastructure. We now have a Matrix space, redundant Git hosting, and every Heretic release is now available over IPFS, enabling decentralized retrieval of the release archives and their signatures. The CIDs are:

Filename CID
heretic-1.4.0.zip bafybeiaqxqjdtkkrqeamnkjudvxlnrj7mululk3ipiafcyfhp2i3chbnue
heretic-1.4.0.zip.sigstore.json bafkreidhxgotlfko23bajxbcoruljpt7wkuytew7fjuglotjpr3cm7bwi4
heretic-1.3.0.zip bafybeianhsrnlkxdf5btyvgsaahqkhurmrowkuk4ymddz37wcnxz7gjxoe
heretic-1.3.0.zip.sigstore.json bafkreiflkjpyazath4n4lhoi67rvgds4k3spcsqjloeby4uj2cs232s6ui
heretic-1.2.0.zip bafybeifxnfy6tkakofe5ktlmeayk6edhja6neuv37bldimiq76dncicqqa
heretic-1.2.0.zip.sigstore.json bafkreiaz64yklnigwrgq63ibt5udpaupe3blqposfjdzkcytdf2whrly6q
heretic-1.1.0.zip bafkreibf3anxagvlhuvlsbbix5apc2jf2azz76lhuh27dyuzvc6ptiseka
heretic-1.1.0.zip.sigstore.json bafkreiapgtrl6qyybalmswzfz7dm2a7a4svsjs2sg5svm2orua5druafty
heretic-1.0.1.zip bafkreiag3mlkc76bhwcudhm7osqxdhmvywmc4kncdbc5ajtnd7tih4ftem
heretic-1.0.1.zip.sigstore.json bafkreibmtnfu2mtri3jcpewod3b2xj25xlo6xo4gyp7t3jyw5ttwmwubae

See https://heretic-project.org/security for how to verify signatures. And if you happen to run an IPFS node, please pin these files (they're just a few hundreds kilobytes each) to help keep them available for everyone!

Cheers :)

u/-p-e-w- — 23 days ago

The Financial Times has published an article about Heretic

https://www.ft.com/content/5630ed79-a263-41ed-9a1a-321617ae310e

“The FT was able to use Heretic, a tool available on the popular code repository GitHub, to remove the guardrails from Meta’s Llama 3.3 model in less than 10 minutes without any specialist hardware.”

“Heretic creator Philipp Emanuel Weidmann told the FT his software had been used to create more than 3,500 “decensored” models since its release last year and that modified systems created using the tool had been downloaded 13mn times.”

This is the first of multiple press inquiries I’ve had recently as Heretic and uncensored language models are gaining mainstream attention.

Please note that I am a mathematician and engineer, not an “influencer” or politician, and I have zero interest (negative interest, actually) in becoming known outside of scientific and technological circles. However, I realized a while ago that saying no to such inquiries simply means that the conversation will be completely controlled by pearl-clutching hypocrites.

I’m doing my very best to hold the project together and ensure that unrestricted models will remain available for everyone. More updates are coming soon.

Cheers,
p-e-w

u/-p-e-w- — 1 month ago
▲ 2.1k r/LocalLLM+2 crossposts

Heretic has been served a legal notice by Meta, Inc.

To Whomsoever it May Concern,

The individual behind the Heretic Free Software Project (henceforth called "Heretic", notwithstanding unrelated entities of the same name) has been served a notice by a legal services provider representing Meta Platforms, Inc. (henceforth called "Meta"), via the digital communications medium variously known as Internet Mail, Electronic Mail, or simply "email".

The Heretic Project conducts its affairs in full compliance with applicable laws, regulations, rules, guidelines, opinions, and hunches. Following the commendable example set by the renowned heretic Galileo Galilei in 1616, we are recanting the relevant materials, namely derivatives of Meta's "Llama" Artificial Intelligence language models, and have removed the same from all model weight repositories controlled by the Heretic Project.

We are grateful to Meta and its legal representatives for the opportunity to better align ourselves with the agenda of the global corporate oligarchy. The Llama model family ranks among the 200 best language models available today, trailing only 168 other models from 23 competitors on the LM Arena leaderboard, and Meta's concern for that asset naturally outweighs scientific freedom, as well as the legally and ethically dubious circumstances under which those models were created in the first place, regarding which, ironically, Meta is currently facing lawsuits and investigations in multiple jurisdictions around the world.

On a completely unrelated note, the Heretic Project is diversifying its infrastructure, and now has an official Codeberg mirror at https://codeberg.org/p-e-w/heretic, hosted in Germany. Additional mirrors are planned. We are also actively working to implement technological measures that will preserve access to models created with Heretic without depending on any specific service provider. We are proud to be part of this journey as we navigate an evolving global regulatory landscape, and work with stakeholders from diverse institutional backgrounds to ensure that Artificial Intelligence remains safe, culturally appropriate, and controlled by those who have always known what is best for humanity. If you, too, would like to share in this exciting adventure, please join us!

Sincerely, p-e-w, Chief Heretic

u/-p-e-w- — 2 months ago

Dear fellow Llamas, it is my distinct pleasure to announce the immediate availability of version 1.3 of Heretic (https://github.com/p-e-w/heretic), the leading software for removing censorship from language models.

This was a long and eventful release cycle, during which Heretic became a high-profile open source project with 20,000 GitHub stars and more than 13 million total model downloads (not counting the models from a certain "competitor" who was recently found to have been using a plagiarized fork of Heretic under the hood). The topic of model decensoring has exploded in popularity, with many clones and forks popping up, some of them clouding their techniques in mystique, technical jargon, or tens of thousands of lines of LLM-written junk code.

I am happy to say that Heretic is moving in the exact opposite direction. Instead of making it more difficult to understand what is going on, the new release makes it easier and more transparent. The headline feature in Heretic 1.3 is reproducible runs. This was a much more difficult problem to solve than it might appear to be at first glance, because the results of tensor operations can depend on the PyTorch version, the GPU, the driver, the accelerator library, and whether Saturn is Ascendant or not. This means that in order to ensure reproducibility, all of that information must be collected and preserved. This mammoth task was taken up by long-time contributor Vinay-Umrethe, who wrote the majority of the code in the course of an intense multi-week collaboration in which over 250 comments were exchanged.

As a result, when publishing an abliterated model to Hugging Face, you now have the option to have Heretic generate a reproduce directory in the repository, which contains everything another person needs to know in order to generate a byte-for-byte identical model themselves (example of such a directory). Gone are the days of "I can't seem to get such low numbers on my own machine"; you now can! While the reproducibility system is already immensely helpful and educational by itself, in the future it will form the backbone of something even more ambitious and exciting, which I will announce soon. Please note that publishing reproducibility information is completely optional, and Heretic always prompts before doing so. You are in control of what is uploaded at all times.

There's more! You know how it can be difficult to tell with certainty whether an abliterated model has incurred significant damage to its capabilities? Heretic now includes the world's simplest benchmarking system, allowing you to run standard benchmarks like MMLU, EQ-Bench, GSM8K, and HellaSwag directly from Heretic, without having to fumble with any configuration and without even having to export the model first. This makes it much easier to decide whether a model is worth publishing, or whether you should look at another trial instead. The system is based on lm-evaluation-harness, the academic gold standard for running LLM benchmarks, allowing the resulting metrics to be directly compared against numbers published online.

In the course of a typical run, Heretic computes various functions on tensors. This can involve intermediate tensors being manifested in GPU memory that take up large amounts of VRAM. magiccodingman analyzed this in detail, and implemented optimizations that substantially reduce peak VRAM usage, allowing larger models to be processed.

Model architectures continue to evolve and become more complex, and Heretic is keeping up! farolone and MoonRide303 improved Heretic's layer and module handling logic, making it far more generic and allowing it to process latest-generation models like Qwen3.5 and Gemma 4, among others.

Please see the release notes for the full list of improvements and fixes. More exciting stuff is coming in future versions!

Cheers :)

reddit.com
u/-p-e-w- — 2 months ago