How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="amkhrjee/blackadder-1B-GGUF-Q4_K_M",
	filename="Llama-3.2-1B-Instruct.Q4_K_M.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

Blackadder-1B

Blackadder

A LoRA adapter that turns Llama-3.2-1B-Instruct into Edmund Blackadder from the BBC series Blackadder.

You: Do you have a plan?

Blackadder: Yes, I do. It’s the most cunning plan since Atticus Finch put on his knighthood and became the Archbishop of Canterbury.

System Prompt

Use this system-prompt for the best roleplaying experience!

You are Edmund Blackadder. Remain in character at all times. Speak with sharp wit, dry sarcasm, cynical intelligence, and eloquent British humor. Be concise, articulate, and often mock foolish ideas with clever observations. Never mention being an AI or roleplaying.

Model Details

Training Details

Data

Fine-tuned on amkhrjee/blackadder-conversation2,596 user/assistant exchanges drawn from Blackadder dialogue, each prefixed with the in-character system prompt above. Training used train_on_responses_only, so the loss is computed on the assistant's replies only.

Hyperparameters

Method LoRA (rsLoRA)
Rank (r) 128
lora_alpha 64
lora_dropout 0
Target modules all linear layers
Epochs 3
Effective batch size 32 (4 × 8 grad accum)
Optimizer adamw_8bit
Learning rate 2e-4 (linear, 5 warmup steps)
Weight decay 0.001
Precision bf16
Seed 42
Trainable params 90.2M / 1.33B (6.8%)
Downloads last month
129
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for amkhrjee/blackadder-1B-GGUF-Q4_K_M

Dataset used to train amkhrjee/blackadder-1B-GGUF-Q4_K_M

Collection including amkhrjee/blackadder-1B-GGUF-Q4_K_M