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

tokenizer = AutoTokenizer.from_pretrained("OpenPipe/Deductive-Reasoning-Qwen-32B")
model = AutoModelForCausalLM.from_pretrained("OpenPipe/Deductive-Reasoning-Qwen-32B")
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

Deductive-Reasoning-Qwen-32B

image/png

Deductive Reasoning Qwen 32B is a reinforcement fine-tune of Qwen 2.5 32B Instruct to solve challenging deduction problems from the Temporal Clue dataset, trained by OpenPipe!

Here are some additional resources to check out:

If you're interested in training your own models with reinforcement learning or just chatting, feel free to reach out or email Kyle directly at kyle@openpipe.ai!

Downloads last month
17
Safetensors
Model size
33B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with OpenPipe/Deductive-Reasoning-Qwen-32B.

Model tree for OpenPipe/Deductive-Reasoning-Qwen-32B

Base model

Qwen/Qwen2.5-32B
Finetuned
(1217)
this model
Finetunes
1 model
Merges
3 models
Quantizations
7 models