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.

betteruncensored/sharegpt

published by @betteruncensored

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

license:otherregion:us
Lifetime downloads
660
Last 30 days
27
Likes
1
Size
1.1 GB

Description

Duplicated from philschmid/sharegpt-raw which is marked as duppliated from jeffwan/sharegpt_vicuna until step 3.

Then processed with the Better Uncensored (BUn) pipeline. A version with long conversations split is also provided.

Now we have the cleaned uncensored dataset in sharegpt_20230401_clean_bun.json (57058 conversations) and the same with split long conversations in sharegpt_20230401_clean_split_bun.json (103152 conversations).

This latest one should be a drop-in replacement for… See the full description on the dataset page: https://huggingface.co/datasets/betteruncensored/sharegpt.

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
other
Created on HFCreated
2024-02-11 · 2 years ago

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

Read further

Total size
1.1 GB
Files
4
Formats
json
Head
ff58eeb
Last updated on HFLast updated
2024-02-12

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

Files by folder from our last crawlfrom our last check

top level 4 files 1.1 GB
.gitattributes 2.3 KB file download
README.md 2.7 KB md download
sharegpt_20230401_clean_bun.json 595.7 MB json download
sharegpt_20230401_clean_split_bun.json 469.2 MB json download

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

Duplicated from philschmid/sharegpt-raw which is marked as duppliated from jeffwan/sharegpt_vicuna until step 3.

Then processed with the Better Uncensored (BUn) pipeline. A version with long conversations split is also provided.

Now we have the cleaned uncensored dataset in sharegpt_20230401_clean_bun.json (57058 conversations) and the same with split long conversations in sharegpt_20230401_clean_split_bun.json (103152 conversations).

This latest one should be a drop-in replacement for anon8231489123/ShareGPT_Vicuna_unfiltered.

Note: the BUn pipeline removes mostly unicode conversations, so this would not be usable for mainly non-ASCII languages like Chineese, Russian, etc.

Prepraration

pip3 install -r requirements.txt

Data Cleaning

  1. merge two raw json files and json beautify the merged file
python merge.py sharegpt_90k_raw_dataset/sg_90k_part1.json sharegpt_90k_raw_dataset/sg_90k_part2.json  sharegpt_20230401_html_unformatted.json
python pretty_json.py --in sharegpt_20230401_html_unformatted.json --out sharegpt_20230401_html.json
  1. (Optional) Verify the json file
if jq empty sharegpt_20230401_html.json 2>/dev/null; then
  echo "JSON is valid"
else
  echo "JSON is invalid"
fi

jq length sharegpt_90k_raw_dataset/sg_90k_part1.json
jq length sharegpt_90k_raw_dataset/sg_90k_part2.json
jq length sharegpt_20230401_html.json
  1. clean data - remove html tags etc
python3 clean_sharegpt.py --in sharegpt_20230401_html.json --out sharegpt_20230401_clean.json
....
100%|███████████████████████████████████████████████████████████████████| 90665/90665 [06:32<00:00, 230.98it/s]
total: 90665, skip: 13745, new: 76920
  1. uncensor with BUn
python uncensor_sharegpt.py --in-file sharegpt_20230401_clean.json --out-file sharegpt_20230401_clean_bun.json
....
total: 76920, skip: 19862, new: 57058, uncen: 0
  1. Split the long conversation
python -m fastchat.data.split_long_conversation --in sharegpt_20230401_clean_bun.json --out sharegpt_20230401_clean_split_bun.json --model-name meta-llama/Llama-2-13b-hf
...
#in: 57058, #out: 103152

Now we have the cleaned uncensored dataset in sharegpt_20230401_clean_bun.json (57058 conversations) and the same with split long conversations in sharegpt_20230401_clean_split_bun.json (103152 conversations).

This latest one should be a drop-in replacement for anon8231489123/ShareGPT_Vicuna_unfiltered.

README historyEdit history 2 revisions2 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-02-12 Adding ShareGPT dataset Better Uncensored and with long convo split ff58eeb 2.6 KB
    Loading...
  2. 2024-02-11 initial commit af86003 0 B
    Loading...
Download from Hugging Face

betteruncensored/sharegpt

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