Downloads · 30 days
34
5% of all-time downloads
fhnw/2025H2-DPO-BAI-FHNW
2025H2-DPO-BAI-FHNW is a text generation model from fhnw. 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.
This repository contains a Direct Preference Optimization (DPO) variant of the GPT-OSS 20B family, fine-tuned using Unsloth QLoRA for FHNW.
Downloads · 30 days
34
5% of all-time downloads
All-time downloads
672
Public
Parameters
12B
27.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.gguf13.8 GB · 50%
How the weights are stored.
U810.2B · 85%
From the Hugging Face model README
This repository contains a Direct Preference Optimization (DPO) variant of the GPT-OSS 20B family, fine-tuned using Unsloth QLoRA for FHNW.
Exported format(s): GGUF, MXFP4.
Suitable for research, teaching, and applied Generative AI experimentation at FHNW. Not intended for high-risk or safety-critical decision-making.
git lfs install
git clone https://huggingface.co/fhnw/2025H2-DPO-BAI-FHNW
cd fhnw/2025H2-DPO-BAI-FHNW
./main -m model.gguf -p "Explain what GPT-OSS is."
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tokenizer = AutoTokenizer.from_pretrained("fhnw/2025H2-DPO-BAI-FHNW")
model = AutoModelForCausalLM.from_pretrained("fhnw/2025H2-DPO-BAI-FHNW", torch_dtype="auto")
input_ids = tokenizer("Explain GPT-OSS.", return_tensors="pt")
print(tokenizer.decode(model.generate(**input_ids)[0], skip_special_tokens=True))
The model was fine-tuned using Unsloth QLoRA and exported using Unsloth's merged MXFP4 or native GGUF export pipeline, depending on the selected format(s).
Follows the respective licenses of GPT-OSS 20B and Unsloth.