Downloads · 30 days
28
4% of all-time downloads
prithivMLmods/Sombrero-QwQ-32B-Elite9
Sombrero-QwQ-32B-Elite9 is a text generation model from prithivMLmods. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
28
4% of all-time downloads
All-time downloads
688
Public
Parameters
32.8B
65.5 GB on disk
Likes
7
Public
Click a slice to open those files.
.safetensors65.5 GB · 100%
From the Hugging Face model README

Sombrero-QwQ-32B-Elite9 is a general-purpose reasoning experimental model based on the QwQ 32B architecture by Qwen. It is optimized for Streamlined Memory utilization, reducing unnecessary textual token coding while excelling in explanatory reasoning, mathematical problem-solving, and logical deduction. This model is particularly well-suited for coding applications and structured problem-solving tasks.
Here is a code snippet with apply_chat_template to show you how to load the tokenizer and model and generate content:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "prithivMLmods/Sombrero-QwQ-32B-Elite9"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "Explain the fundamentals of recursive algorithms."
messages = [
{"role": "system", "content": "You are a highly capable coding assistant specializing in structured explanations."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=1024
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]