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="td-builder/DeepSeek-R1-Distill-Qwen-32B-number-2")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("td-builder/DeepSeek-R1-Distill-Qwen-32B-number-2")
model = AutoModelForCausalLM.from_pretrained("td-builder/DeepSeek-R1-Distill-Qwen-32B-number-2", 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=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

huihui-ai/DeepSeek-R1-Distill-Qwen-32B-abliterated

This is an uncensored version of deepseek-ai/DeepSeek-R1-Distill-Qwen-32B created with abliteration (see remove-refusals-with-transformers to know more about it).
This is a crude, proof-of-concept implementation to remove refusals from an LLM model without using TransformerLens.

If "<think>" does not appear or refuses to respond, you can first provide an example to guide, and then ask your question.
For instance:

  How many 'r' characters are there in the word "strawberry"?

Use with ollama

You can use huihui_ai/deepseek-r1-abliterated directly

ollama run huihui_ai/deepseek-r1-abliterated:32b

Donation

Your donation helps us continue our further development and improvement, a cup of coffee can do it.
  • bitcoin:
  bc1qqnkhuchxw0zqjh2ku3lu4hq45hc6gy84uk70ge
Downloads last month
7
Safetensors
Model size
33B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for td-builder/DeepSeek-R1-Distill-Qwen-32B-number-2

Finetuned
(88)
this model