Downloads · 30 days
0
theprint/DevilsAdvocate-7B
DevilsAdvocate-7B is a text generation model from theprint. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as mit.
A fine-tuned Qwen 2.5 7B model, fine tuned for more engaging conversation, encouraging the user to think about different aspects.
Downloads · 30 days
0
Access
Public
Updated Sep 14, 2025
Parameters
7.6B
15.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
A fine-tuned Qwen 2.5 7B model, fine tuned for more engaging conversation, encouraging the user to think about different aspects.
This model is a fine-tuned version of Qwen/Qwen2.5-7B-Instruct using the Unsloth framework with LoRA (Low-Rank Adaptation) for efficient training.
Brainstorming, idea development, general conversation
Quantized GGUF versions are available in the theprint/DevilsAdvocate-7B-GGUF repo.
DevilsAdvocate-7B-f16.gguf (14531.9 MB) - 16-bit float (original precision, largest file)DevilsAdvocate-7B-q3_k_m.gguf (3632.0 MB) - 3-bit quantization (medium quality)DevilsAdvocate-7B-q4_k_m.gguf (4466.1 MB) - 4-bit quantization (medium, recommended for most use cases)DevilsAdvocate-7B-q5_k_m.gguf (5192.6 MB) - 5-bit quantization (medium, good quality)DevilsAdvocate-7B-q6_k.gguf (5964.5 MB) - 6-bit quantization (high quality)DevilsAdvocate-7B-q8_0.gguf (7723.4 MB) - 8-bit quantization (very high quality)This data set was created to limit sycofancy and encourage gentle pushback in language models.
from unsloth import FastLanguageModel
import torch
# Load model and tokenizer
model, tokenizer = FastLanguageModel.from_pretrained(
model_name="theprint/DevilsAdvocate-7B",
max_seq_length=4096,
dtype=None,
load_in_4bit=True,
)
# Enable inference mode
FastLanguageModel.for_inference(model)
# Example usage
inputs = tokenizer(["Your prompt here"], return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"theprint/DevilsAdvocate-7B",
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("theprint/DevilsAdvocate-7B")
# Example usage
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Your question here"}
]
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt", add_generation_prompt=True)
outputs = model.generate(inputs, max_new_tokens=256, temperature=0.7, do_sample=True)
response = tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True)
print(response)
# Download a quantized version (q4_k_m recommended for most use cases)
wget https://huggingface.co/theprint/DevilsAdvocate-7B/resolve/main/gguf/DevilsAdvocate-7B-q4_k_m.gguf
# Run with llama.cpp
./llama.cpp/main -m DevilsAdvocate-7B-q4_k_m.gguf -p "Your prompt here" -n 256
May provide incorrect information.
If you use this model, please cite:
@misc{devilsadvocate_7b,
title={DevilsAdvocate-7B: Fine-tuned Qwen/Qwen2.5-7B-Instruct},
author={theprint},
year={2025},
publisher={Hugging Face},
url={https://huggingface.co/theprint/DevilsAdvocate-7B}
}