Downloads · 30 days
13
31% of all-time downloads
EpistemeAI/gpt-oss-20b-mmlustem
gpt-oss-20b-mmlustem is a text generation model from EpistemeAI. Use it when you need the model to write or continue text. It is set up for peft.
Early experiment on self generated synthetic fine tuning techniques. Specialize with STEM and science for science purpose AI.
Downloads · 30 days
13
31% of all-time downloads
All-time downloads
42
Public
Repo size
43.8 MB
Likes
0
Public
Click a slice to open those files.
.json27.9 MB · 64%
From the Hugging Face model README
Early experiment on self generated synthetic fine tuning techniques. Specialize with STEM and science for science purpose AI.
Specialize with STEM and science for science purpose AI. This idea captures the need to design artificial intelligence systems that aren’t just generalists but are deeply tuned for scientific exploration and problem-solving. By focusing on science, technology, engineering, and mathematics, such AI can move beyond surface-level pattern recognition and instead tackle real challenges in physics, biology, chemistry, and mathematics with rigor. Imagine AI models that assist in discovering new materials, predicting protein folding with precision, optimizing renewable energy systems, or solving abstract mathematical conjectures. These are not applications where shallow training suffices—this requires an AI mindset that mirrors the scientific method: hypothesize, test, refine, and explain. A purpose-built science AI would act less like a chatbot and more like a laboratory collaborator, accelerating the pace of discovery while remaining grounded in evidence and reproducibility.
Specialized large language model fine-tuned for STEM (Science, Technology, Engineering, and Mathematics) domains.
Improved MMLU-STEM performance by 30% through special fine-tuning of GPT-OSS-20B with a self-generated dataset containing reasoning traces and domain-specific multiple-choice questions.
pip install -q --upgrade torch
pip install -q transformers triton==3.4 kernels
pip uninstall -q torchvision torchaudio -y
pip uninstall -y bitsandbytes
pip install -U bitsandbytes
import bitsandbytes as bnb
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("unsloth/gpt-oss-20b-unsloth-bnb-4bit")
model = PeftModel.from_pretrained(base_model, "EpistemeAI/gpt-oss-20b-mmlustem")
| Domain | Baseline GPT-OSS-20B | Fine-Tuned GPT-OSS-20B | Δ Improvement |
|---|---|---|---|
| Mathematics | 52% | 69% | +17% |
| Physics | 48% | 64% | +16% |
| Chemistry | 50% | 66% | +16% |
| Biology | 55% | 70% | +15% |
| Comp. Science | 58% | 72% | +14% |
| Average | 53% | 69% | +16% |
Summary: Fine-tuning with STEM-specialized data produced substantial gains in domain-specific reasoning, particularly in mathematics and physics.
apache
If you use this model in your research, please cite:
@misc{gptoss20b_stem,
author = {Theomas Yiu},
title = {GPT-OSS-20B STEM Fine-Tuned},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/your-username/gpt-oss-20b-stem-finetuned}}
}