Run this model with HF Jobs

Run Setpember/sft_gpt2_large on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Setpember/sft_gpt2_large. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Setpember/sft_gpt2_large on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Setpember/sft_gpt2_large. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Setpember/sft_gpt2_large. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from the
Use from the
PEFT library
from peft import PeftModel
from transformers import AutoModelForCausalLM

base_model = AutoModelForCausalLM.from_pretrained("openai-community/gpt2-large")
model = PeftModel.from_pretrained(base_model, "Setpember/sft_gpt2_large")

sft_gpt2_large

Supervised fine-tuning (SFT). This is the starting point for the DPO runs.

Base model openai-community/gpt2-large (GPT-2 Large, 774M)
Data truthy-dpo-v0.1
Privacy None (SFT step)
Paper PROPS: Progressively Private Self-alignment of Large Language Models (TMLR 2025)
Code FTian-UArizona/PROPS

How to load

This is a LoRA adapter.

from peft import AutoPeftModelForCausalLM
from transformers import AutoTokenizer

model = AutoPeftModelForCausalLM.from_pretrained("Setpember/sft_gpt2_large")
tokenizer = AutoTokenizer.from_pretrained("openai-community/gpt2-large")

Intended use

Research on privacy-preserving alignment. These are small research models. They are not tuned for safety and should not be used in products.

Author

Fengwei Tian, University of Arizona (GitHub)

Downloads last month
31
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Setpember/sft_gpt2_large

Adapter
(83)
this model

Dataset used to train Setpember/sft_gpt2_large

Collection including Setpember/sft_gpt2_large

Paper for Setpember/sft_gpt2_large