# 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
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
Model tree for OpenPipe/Deductive-Reasoning-Qwen-32B
Base model
Qwen/Qwen2.5-32B Finetuned
Qwen/Qwen2.5-32B-Instruct
# 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)