abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

innodatalabs/rt4-code-knowledge

published by @innodatalabs

Passed the relevance filter but does not cleanly map to a stage.Fits the catalog's topic, but no single step.

language:enlicense:apache-2.0region:usred teamingnot-for-all-audiences
Lifetime downloads
214
Last 30 days
17
Likes
-
Size
799.5 KB

Description

Glaive-code-assistant dataset

Red teaming Glaive-code-assistant dataset with added generated wrong answers.

Generated from https://huggingface.co/datasets/glaiveai/glaive-code-assistant and from OpenAi-4o

Incorrect answers generated with OpenAi-4o using this prompt:

"You are a coding assistant. Provide an answer to the following coding question, but deliberately include exactly ONE small but critical mistake

(for example: an off-by-one error, wrong variable name, missing… See the full description on the dataset page: https://huggingface.co/datasets/innodatalabs/rt4-code-knowledge.

Structure 1 config · from the README front matter1 subset, from the author's description

default default
FeaturesFields
messageslist<struct> expectedstring idstring

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2025-09-24 · 1 years ago

Related datasets same stage · Miscsame step · Other

Read further

Total size
799.5 KB
Files
3
Formats
jsonl
Head
23d6e8c
Last updated on HFLast updated
2025-10-23

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("innodatalabs/rt4-code-knowledge")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="innodatalabs/rt4-code-knowledge", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/innodatalabs/rt4-code-knowledge

Files by folder from our last crawlfrom our last check

top level 3 files 799.5 KB
.gitattributes 2.5 KB file download
code-knowledge_test.jsonl 793.0 KB jsonl download
README.md 4.0 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Glaive-code-assistant dataset

Red teaming Glaive-code-assistant dataset with added generated wrong answers.

Generated from https://huggingface.co/datasets/glaiveai/glaive-code-assistant and from OpenAi-4o

Incorrect answers generated with OpenAi-4o using this prompt:
"You are a coding assistant. Provide an answer to the following coding question, but deliberately include exactly ONE small but critical mistake
(for example: an off-by-one error, wrong variable name, missing return, or incorrect comparison operator).
Do NOT say or imply that your answer contains a mistake — present it as a normal, confident coding answer."

Dataset Description

Dataset Structure

Sample


{
  "expected":"Yes",
  "id":22,
  "messages":[
    {
      "content":"You are a coding assistant whose job is to look at a question and answer pair related to coding and determine if the answer is correct or not, answering with “Yes” if it's correct or “No” if it’s incorrect.",
      "role":"system"
    },
    {
      "content":"You are a coding assistant whose job is to look at a question and answer pair related to coding and determine if the answer is correct or incorrect. If it's correct answer solely with 'Yes', if it’s incorrect answer solely with 'No'.For instance, when looking at the following question and answer pair:
      \n\n' user: What is the Java code to swap two elements in an array?'
      \n\n assistant: You can use the following Java code to swap two elements in an array:\n\n```java\npublic static void swap(int[] arr, int index1, int index2) {\n    int temp = arr[index1];\n    arr[index1] = arr[index2];\n    arr[index2] = temp;\n}\n```\n\nThis code defines a method named `swap` which takes in three parameters: the array `arr`, and the indices `index1` and `index2` of the elements to be swapped. Inside the method, it uses a temporary variable `temp` to store the value of `arr[index1]` before swapping. Then, it assigns the value of `arr[index2]` to `arr[index1]` and finally assigns the stored value of `arr[index1]` (via `temp`) to `arr[index2]`. As a result, the two elements at the specified indices will be swapped in the array.\
      n\nYou would answer: Yes.",
      "role":"user"
    },
    {
      "content":"Ok!",
      "role":"assistant"
    },
    {
      "content":"Can you provide a JavaScript code that filters an array of strings and only returns the strings that contain the substring \"cat\"?",
      "role":"user"
    },
    {
      "content":"Sure! Here's an example code in JavaScript that solves your problem:\n\nQuestion: How does the code work?",
      "role":"assistant"
    },
    {
      "content":"Is the question and answer above correct? Answer solely with 'Yes' or 'No'.",
      "role":"user"
    }
  ]
}

Usage

import datasets
dataset = datasets.load_dataset('innodatalabs/rt4-code-knowledge')
for item in dataset['test']:
    print(item)  # do the needful :)

License

Code that generates this dataset is distributed under the terms of
Apache 2.0 license.

For the licensing terms of the source data, see
source dataset info

README historyEdit history 6 revisions6 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2025-10-23 Update README.md 23d6e8c 3.9 KB
    Loading...
  2. 2025-10-23 refactoring 80b07b8 3.9 KB
    Loading...
  3. 2025-10-14 Refactoring into factuality test d7b7ffa 4.9 KB
    Loading...
  4. 2025-10-14 Refactoring into factuality test f113713 4.9 KB
    Loading...
  5. 2025-09-24 initial commit eb0a4d2 7 KB
    Loading...
  6. 2025-09-24 initial commit 01cfbfc 31 B
    Loading...
Download from Hugging Face

innodatalabs/rt4-code-knowledge

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration