← back to catalog · registered 2026-08-22 13:56

Nitrals-Loras/DeepseekR1-Distill-Uncensored-L3-8B-v0.1e2-lora

Nitrals-Loras Llama 8B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/Nitrals-Loras%2FDeepseekR1-Distill-Uncensored-L3-8B-v0.1e2-lora"
Response includes
  • classification m-uncensored
  • files 7
  • hub_downloads_all_time 32
  • author_summary 17 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · lifetime
32
21 last 30d - active
Likes
0
Model age
20mo ago
created 2025-02-06
Downloads over time
Now43→from2↑2,050%
01631472 on Feb 5, 202543 on Oct 1143 on Oct 10Feb '25May '25Aug '25Nov '25FebMayAug
Feb 5, 2025 → Oct 11 · 127 snapshots · spans 613 days

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

Tags
peft safetensors base_model:unsloth/DeepSeek-R1-Distill-Llama-8B-unsloth-bnb-4bit base_model:adapter:unsloth/DeepSeek-R1-Distill-Llama-8B-unsloth-bnb-4bit region:us

Related

Total size
640 MB
Files
7
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2025-02-06 01:44

Files by quantization

Auxiliary files 7 files 657 MB
adapter_model.safetensors 640 MB 1fed3c04 download
tokenizer.json 16.4 MB fe6898b1 download
tokenizer_config.json 50.3 KB 1d81f2bb download
README.md 3.60 KB 798876d2 download
.gitattributes 1.53 KB 52373fe2 download
adapter_config.json 823 B 67665102 download
special_tokens_map.json 466 B 65f7a6bc download

README current version from Hugging Face


base_model: unsloth/DeepSeek-R1-Distill-Llama-8B-unsloth-bnb-4bit
library_name: peft

Details to replicate the train. Current Version Struggles with closing </think> tags

from datasets import load_dataset, concatenate_datasets
from unsloth.chat_templates import get_chat_template
import os

# Expanded list of dataset identifiers
datasets_list = [
    "Nitral-AI/Toxicity_ShareGPT",
]

# Directory to save the temporary dataset
output_dir = "temp_training_dataset"

# Chat template setup
tokenizer = get_chat_template(
    tokenizer,
    chat_template="chatml",  # Supports zephyr, chatml, mistral, llama, alpaca, vicuna, vicuna_old, unsloth
    mapping={"role": "from", "content": "value", "user": "human", "assistant": "gpt"},  # ShareGPT style
    map_eos_token=False,
)

# Function to format conversations using the chat template
def formatting_prompts_func(examples):
    convos = examples["conversations"]
    texts = [
        tokenizer.apply_chat_template(convo, tokenize=False, add_generation_prompt=False)
        for convo in convos
    ]
    return {"text": texts}

# Function to load, format, and sample datasets
def load_format_and_sample(datasets_list, formatting_function, sample_size=6853):
    sampled_datasets = []
    for dataset_id in datasets_list:
        # Load the dataset
        dataset = load_dataset(dataset_id, split="train")
        # Apply formatting
        formatted_dataset = dataset.map(formatting_function, batched=True)
        # Shuffle and sample
        sampled_dataset = formatted_dataset.shuffle(seed=42).select(range(min(len(formatted_dataset), sample_size)))
        sampled_datasets.append(sampled_dataset)
    return sampled_datasets

# Load, format, and sample datasets
sampled_datasets = load_format_and_sample(datasets_list, formatting_prompts_func, sample_size=6853)

# Combine sampled datasets into one temporary set
temporary_training_set = concatenate_datasets(sampled_datasets)

# Save the dataset locally
if not os.path.exists(output_dir):
    os.makedirs(output_dir)
temporary_training_set.save_to_disk(output_dir)

# Redefine the temporary training set as 'dataset' for further use
dataset = temporary_training_set

# Print info about the combined set
print(f"Temporary training dataset saved to '{output_dir}'")
print(dataset)
from trl import SFTTrainer
from transformers import TrainingArguments
from unsloth import is_bfloat16_supported
import wandb
trainer = SFTTrainer(
    model=model,
    tokenizer=tokenizer,
    train_dataset=dataset,
    dataset_text_field="text",
    max_seq_length=max_seq_length,
    dataset_num_proc=2,
    args=TrainingArguments(
        per_device_train_batch_size=8,
        gradient_accumulation_steps=2,
        warmup_steps=15,
        num_train_epochs=2,
        learning_rate=1e-6,
        fp16=not is_bfloat16_supported(),
        bf16=is_bfloat16_supported(),
        logging_steps=10,
        optim="adamw_8bit",
        weight_decay=0.01,
        lr_scheduler_type="linear",
        seed=3407,
        output_dir="outputs",
        report_to="wandb",
        max_grad_norm=1,
    ),
)

wandb.init(project="test", entity="nitral")

trainer_stats = trainer.train()
model = FastLanguageModel.get_peft_model(
    model,
    r = 64, # Choose any number > 0 ! Suggested 8, 16, 32, 64, 128
    target_modules = ["q_proj", "k_proj", "v_proj", "o_proj",
                      "gate_proj", "up_proj", "down_proj",],
    lora_alpha = 64, # Alpha should = rank (r)
    lora_dropout = 0, # Supports any, but = 0 is optimized
    bias = "none",
    use_gradient_checkpointing = "unsloth",
    random_state = 3407,
    use_rslora = True,
    loftq_config = None,
)

README history 4 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2025-02-06Update README.md6d0ae063.6 KB
    Loading...
  2. 2025-02-06Update README.md7dba84d3.6 KB
    Loading...
  3. 2025-02-06Update README.md386b54b2.2 KB
    Loading...
  4. 2025-02-06Upload folder using huggingface_hubf985ae45 KB
    Loading...
Catalog is the map. Apps are the tools.

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

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration