Downloads · 30 days
17
10% of all-time downloads
prithivMLmods/Panacea-MegaScience-Qwen3-1.7B
Panacea-MegaScience-Qwen3-1.7B 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
17
10% of all-time downloads
All-time downloads
175
Public
Parameters
1.7B
3.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
How the weights are stored.
F161.4B · 82%
From the Hugging Face model README

Panacea-MegaScience-Qwen3-1.7B is a high-efficiency, multi-domain model fine-tuned on Qwen3-1.7B using the MegaScience/MegaScience dataset. MegaScience exhibits greater effectiveness for larger and stronger models, suggesting a scaling benefit for scientific instruction tuning. This model blends symbolic precision, scientific logic, and structured output fluency—making it an ideal tool for developers, educators, and researchers seeking advanced reasoning under constrained compute.
[!note] GGUF: https://huggingface.co/prithivMLmods/Panacea-MegaScience-Qwen3-1.7B-GGUF
Unified Reasoning Across Code, Math & Science Fine-tuned on MegaScience/MegaScience, spanning programming, mathematics, and scientific logic, boosting multi-domain symbolic reasoning.
Advanced Code Reasoning & Generation Supports multi-language coding with explanations, optimization hints, and error detection—ideal for full-stack prototyping, algorithm synthesis, and debugging workflows.
Scientific Problem Solving Performs analytical reasoning in physics, biology, and chemistry—explaining concepts, solving equations, and handling symbolic derivations step-by-step.
Hybrid Symbolic-AI Thinking Combines structured logic, chain-of-thought reasoning, and open-ended inference, delivering robust performance on STEM tasks and complex prompt decomposition.
Structured Output Mastery Seamlessly generates output in LaTeX, Markdown, JSON, CSV, and YAML, suited for research reports, technical documentation, and data formats.
Optimized Lightweight Footprint for Versatile Deployment Strikes a balance between performance and efficiency, making it deployable on mid-range GPUs, offline clusters, and advanced edge AI systems.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "prithivMLmods/Panacea-MegaScience-Qwen3-1.7B"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "Explain the difference between Newtonian mechanics and quantum mechanics with examples."
messages = [
{"role": "system", "content": "You are a scientific tutor skilled in code, math, and reasoning."},
{"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=512
)
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]
print(response)