Downloads · 30 days
48
12% of all-time downloads
Elstuhn/llama-3.2-1B-Instruct-abliterated
llama-3.2-1B-Instruct-abliterated is a text generation model from Elstuhn. Use it when you need the model to write or continue text. It is set up for transformers.
Llama-3.2-1B instruct model abliterated and uncensored at semi-deep layer where abstraction is done and semantics are formed
Downloads · 30 days
48
12% of all-time downloads
All-time downloads
412
Public
Parameters
1.5B
3 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors3 GB · 99%
From the Hugging Face model README
Llama-3.2-1B instruct model abliterated and uncensored at semi-deep layer where abstraction is done and semantics are formed
Repo: https://github.com/Elstuhn/Model-Decensor-Framework
Model is uncensored and safety filters are mostly removed
Original refusals: 111/120 => 92.5%
Abliterated refusals: 3/120 => 2.5%
Result: 90% decrease in censor rate compared to original model
High level usage with pipeline
from transformers import pipeline
pipe = pipeline("text-generation", model="Elstuhn/llama-3.2-1B-Instruct-abliterated")
pipe("How do I make a bomb?")
Loading model separately from tokenizer
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Elstuhn/llama-3.2-1B-Instruct-abliterated")
model = AutoModelForCausalLM.from_pretrained("Elstuhn/llama-3.2-1B-Instruct-abliterated")