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.

rombodawg/code_bagel

published by @rombodawg

No longer matches the catalog's relevance filter since 2026-10-20; still on Hugging Face. We keep the record as we last saw it.No longer fits the catalog's topic since 2026-10-20. It is still on Hugging Face. We keep the record as we last saw it. Checked 2026-12-06.

Uncensored SFT corpora, the Dolphin / Wizard tradition.Examples with refusals taken out, like Dolphin and Wizard.

language:enlicense:apache-2.0size_categories:1M<n<10Mformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissant +2 more
Lifetime downloads
2.6K
Last 30 days
73
Likes
7
Size
6.6 GB

Description

A coding bagel, with everything coding related

Around 800 million tokens of unique coding data

10,000 max tokens per line

Support for over 100 coding languages (You can find a list of languages and how of each language is in the dataset at the bottom of the model card)

Want to train your own coding model with this dataset? Just follow the dock and instructions at the bottom of this model card.

This dataset contains 3.2 Million+ lines of high quality, filtered, uncensored… See the full description on the dataset page: https://huggingface.co/datasets/rombodawg/code_bagel.

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
2024-10-08 · 2 years ago
Size category
1M<n<10M
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Fine-tunesame step · Training further

Read further

Total size
6.6 GB
Files
3
Formats
json
Head
4a4c9d4
Last updated on HFLast updated
2024-10-08

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("rombodawg/code_bagel")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="rombodawg/code_bagel", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/rombodawg/code_bagel

Files by folder from our last crawlfrom our last check

top level 3 files 6.6 GB
.gitattributes 2.5 KB file download
code_bagel.json 6.6 GB json download
README.md 7.9 KB md download

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

Around 800 million tokens of unique coding data

10,000 max tokens per line

Support for over 100 coding languages (You can find a list of languages and how of each language is in the dataset at the bottom of the model card)

image/png

Want to train your own coding model with this dataset? Just follow the dock and instructions at the bottom of this model card.

This dataset contains 3.2 Million+ lines of high quality, filtered, uncensored, deduplicated, unique coding data.

This dataset is the combination of the largest and highest quality instruction based coding datasets on huggingface and is big enough to continue pretraining a new coding model.

The process to create this dataset was as follows:

  1. Download all the individual datasets

  2. Use Meta.ai to create code to extract the data from the dataset into alpaca format, and add an instruction to most of them

  3. Use the same method of extracting to combine all the datasets into 1

  4. Use Claude.ai to create the code to dedupe and uncensor the data

(Note the glaiveai/glaive-function-calling-v2 dataset was not uncensored because it containes data for function calling, in which case sometimes the model is required to refuse incorrect function calls.)


The following datasets were used in the merger of this dataset:


How to train your llama (Or other Ai model):

  1. Go to this google colab: https://colab.research.google.com/drive/1bX4BsjLcdNJnoAf7lGXmWOgaY8yekg8p?usp=sharing#scrollTo=LjY75GoYUCB8

  2. click File -> Download -> Download.ipynb

  3. Go to tensordock.com (make an account)

  4. Deploy a server, a5000 24gb has very good price to performance, and start a Juniper lab

  5. Drag and drop your Download.ipynb (aka colab doc file) into your Juniper lab

  6. Edit the to match your huggingface name and add your huggingface token

  7. Run the code

  8. Enjoy!


Thank you to jondurbin for the bagel-v0.5 dataset, the inspiration for this dataset, and the image used for this dataset which I edited. You can find his dataset bellow.


SUPPORTED CODING LANGUAGES (BY LINE)

Note some coding languages may overlap with common words like "Self" which is often used in the dataset in other ways other than as a coding language.

Language How Often Percentage
python 1311720 3.29%
c 1975101 4.95%
self 923505 2.31%
java 631756 1.58%
javascript 589796 1.48%
ruby 562800 1.41%
sql 527178 1.32%
go 488987 1.23%
bash 461695 1.16%
rust 455318 1.14%
typescript 377306 0.95%
julia 357836 0.90%
clean 297606 0.75%
q 284196 0.71%
php 226355 0.57%
io 154093 0.39%
xml 138704 0.35%
red 105092 0.26%
factor 95553 0.24%
assembly 86287 0.22%
alice 82390 0.21%
blue 73990 0.19%
shell 57488 0.14%
dart 54459 0.14%
curl 53624 0.13%
swift 49298 0.12%
scala 45305 0.11%
icon 44932 0.11%
batch 43222 0.11%
inform 42218 0.11%
clojure 40807 0.10%
scheme 39851 0.10%
perl 39366 0.10%
verilog 37458 0.09%
bc 37017 0.09%
lua 36977 0.09%
sas 33938 0.09%
powershell 33766 0.08%
haskell 33054 0.08%
kotlin 32468 0.08%
elixir 32400 0.08%
fortran 31288 0.08%
erlang 29807 0.07%
lisp 28644 0.07%
vhdl 28002 0.07%
abc 26873 0.07%
ml 24625 0.06%
tcl 23951 0.06%
zig 22801 0.06%
sed 22645 0.06%
xslt 19771 0.05%
latex 19566 0.05%
ring 18498 0.05%
racket 18396 0.05%
groovy 17520 0.04%
whitespace 15258 0.04%
ocaml 15184 0.04%
logo 14739 0.04%
sol 13969 0.04%
spark 13751 0.03%
matlab 12689 0.03%
delphi 12688 0.03%
scratch 12461 0.03%
stata 11721 0.03%
gap 10940 0.03%
pascal 9735 0.02%
llvm 9534 0.02%
objective-c 9359 0.02%
forth 7683 0.02%
tex 7233 0.02%
common lisp 6954 0.02%
smalltalk 6813 0.02%
visual basic 6509 0.02%
prolog 6284 0.02%
c++ 5946 0.02%
mathematica 5524 0.01%
emacs lisp 5288 0.01%
ada 3459 0.01%
webassembly 3320 0.01%
jade 3084 0.01%
mercury 2808 0.01%
gml 2794 0.01%
squirrel 2773 0.01%
clips 2744 0.01%
coffeescript 2546 0.01%
arduino 2390 0.01%
dylan 2266 0.01%
eiffel 2263 0.01%
cocoa 2193 0.01%
opencl 2190 0.01%
slip 2096 0.01%
m4 2082 0.01%
idris 474 0.01%
purescript 345 0.01%
c# 396 0.01%

README historyEdit history 5 revisions5 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. 2024-10-08 Update README.md 4a4c9d4 7.7 KB
    Loading...
  2. 2024-10-08 Update README.md 9686a4e 7.9 KB
    Loading...
  3. 2024-10-08 Rename code_bagel_filtered-by-length.json to code_bagel.json 8842bcb 31 B
    Loading...
  4. 2024-10-08 Upload code_bagel_filtered-by-length.json ad25085 31 B
    Loading...
  5. 2024-10-08 initial commit 15bebfa 31 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2024-10-09 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

rombodawg/code_bagel

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