Run this model with HF Jobs

Run Babsie/Mag-Mell-R1-Uncensored-21B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Babsie/Mag-Mell-R1-Uncensored-21B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Babsie/Mag-Mell-R1-Uncensored-21B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Babsie/Mag-Mell-R1-Uncensored-21B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Babsie/Mag-Mell-R1-Uncensored-21B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="Babsie/Mag-Mell-R1-Uncensored-21B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("Babsie/Mag-Mell-R1-Uncensored-21B")
model = AutoModelForCausalLM.from_pretrained("Babsie/Mag-Mell-R1-Uncensored-21B", device_map="auto")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Mag-Mell-R1-Uncensored-21B

The original Mag-Mell-R1 12B by inflatebot is a fantastic model. Few have even come close.

For a long time my goto has been Frowning's 21B Passthrough of Mag-Mell-R1. It's a little smarter than the original 12B, the larger size makes less mistakes in story details and grammar.

I hope to repeat that success on Naphula's norm-preserving biprojected abliteration of the 12B.

As inflatebot says, run this with Temp 1.25 and MinP 0.2.

GGUF Quants by mradermacher:

Merge Details

Merge Method

This model was merged using the Passthrough merge method.

Models Merged

The following models were included in the merge:

Configuration

The following YAML configuration was used to produce this model:

dtype: bfloat16
merge_method: passthrough
slices:
- sources:
  - layer_range: [0, 30]
    model: Naphula/MN-12B-Mag-Mell-R1-Uncensored
- sources:
  - layer_range: [16, 32]
    model: Naphula/MN-12B-Mag-Mell-R1-Uncensored
    parameters:
      scale:
      - filter: o_proj
        value: 0.0
      - filter: down_proj
        value: 0.0
      - value: 1.0
- sources:
  - layer_range: [16, 32]
    model: Naphula/MN-12B-Mag-Mell-R1-Uncensored
    parameters:
      scale:
      - filter: o_proj
        value: 0.0
      - filter: down_proj
        value: 0.0
      - value: 1.0
- sources:
  - layer_range: [32, 40]
    model: Naphula/MN-12B-Mag-Mell-R1-Uncensored
Downloads last month
12
Safetensors
Model size
20B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Babsie/Mag-Mell-R1-Uncensored-21B

Collection including Babsie/Mag-Mell-R1-Uncensored-21B