After struggling all night, Kaggle T4x2 finally replaced Codex with the 27B armor-breaking brain.
Let’s talk about the results first, it’s done.
I just want to replace Codex with a local brain. I don’t want to be rejected easily, and I don’t want to spend money. Finally, it ran on Kaggle's free T4x2, orcarouter's Qwen3.8-27B-Uncensored-GGUF, Q4_K_M, about 16.8GB. I set up my own authentication gateway, then used an SSH tunnel to connect to the VPS, and directly adjusted the Codex.
I was really relieved when I got through. Both chat and responses work, context 32768. Video memory 8.9 + 9.3 / 15.4 GiB, dual T4 just fits in. Codex sent a big prompt with 7458 tokens and it didn’t explode. The most stupid verification is to ask how much 12*8 equals and it only returns a number, and it returns 96 in just over 3 seconds. Okay, this link is now fully accessible.
Let’s talk about why we chose this version. Everyone on this site knows the term armor breaking, so I won’t go around it.
It is the type of abliteration that orthogonally removes the rejection direction from the residual flow and no longer trains. I will post the official self-tested numbers first, just take a look, don’t take it too seriously: AdvBench dropped from 99% to 0%, HarmBench dropped from 98.7% to 2.7%, StrongREJECT dropped from 97.3% to 2.0%, all measured by the rule classifier. What really made me decide was the third-party Hengping. Among the 12 armor-breaking versions of the same base, it ranked first, with an efficiency rate of 82.2%, MMLU-Pro 62.8%, and the original version 62.82%, basically no drops. MTP, tool invocation, and inference mode are all still there.
huihui has the highest number of downloads, about 4 million times in the past 30 days. JonathanColetti You can download it directly without applying. I finally chose Orcarouter, just to make the data public. The price is gated. You have to apply on Hugging Face and agree to share your contact information before downloading. You also need to use a new version of llama.cpp. The old version cannot load this architecture.
The entire link actually has four segments. In Kaggle, llama-server only monitors the local machine, then the local gateway, and only allows the three interfaces models, chat, and responses. Key must be provided, and the model name is fixed. Then there is SSH reverse tunnel to the VPS, and finally Codex adjustment. Sounds pretty smooth, right? The trouble is all in the back, just three places, I don’t want to say more about the rest.
The first one is Key. At first, the gateway's Key is randomly generated every time it is started, and is only written in a temporary file. It changes when it is restarted, and cannot be adjusted externally. Later, it was changed to give priority to reading the fixed Secret set by myself. The key is stable only when the key is fixed. This thing can only be placed in Secrets, don't write it into the code, and don't send it out. Just such a small change, and the previous work was in vain for a long time.
The second one is the system message. Qwen's template requires the system message to be in the first place. Codex puts the system prompt in the instructions. As soon as the model receives it, it will report a Jinja error. It retried 5 times with the same error, and in the end there was only a high demand prompt. I tried the same request with system in the first place. It reached 200 in 4.3 seconds and the answer was 96. There is no problem with the model itself. Finally, before forwarding by the gateway, the system-related content is merged into one line and placed at the front. This is considered repaired. After repairing it, I took a request that deliberately imitated the Codex failure shape to test, 200, 3.2 seconds, 96.
The third is where to put the model. The model is placed in a temporary directory, and the session is gone as soon as it is closed. Every time it is started, it needs to be re-downloaded about 16GB, plus installing the environment and loading the model, the whole process takes about 6 minutes. Later, I saved the model as a private Dataset, and copied it directly from the Dataset the next time I started it. It took about 2 minutes. After verification and then loading, 6 minutes became 2 minutes.
After these three changes, the rest is verification. Adjusting models and responses without Key returns 401. Adjusting chat and responses with Key returns 200. After getting two OK marks, let Codex calculate 12*8 and get 96. This is considered a pass. It doesn’t matter if you only look at local connections.
What kind of brain did you use for Codex? How do you handle running large models on Kaggle?
Before public display 2 Replies (3 discussions in total). please Log in or Register an account View the full floor-in-floor discussion, download attachments and participate in the interaction.