ho22joshua/hep-posttraining
0
HEP post-training adapters
This repository contains standalone PEFT/LoRA adapters for HEP analysis tasks. It deliberately excludes resumable FSDP checkpoints, optimizer states, and training data. Each adapter directory includes adapter_model.safetensors, adapter_config.json, tokenizer assets, and the Qwen chat template.
Adapter catalog
There is currently no finished, standalone TRExFitter-only adapter. Existing TRExFitter-only experiments are incomplete RL checkpoints and are intentionally not published.
Load an adapter
import torch
from peft import PeftModel
from transformers import AutoModelForMultimodalLM, AutoProcessor
base_id = "Qwen/Qwen3.5-4B"
adapter_dir = "ROOT/qwen3.5-4b-lora-r32-e1-lr1e-4"
processor = AutoProcessor.from_pretrained(adapter_dir)
base = AutoModelForMultimodalLM.from_pretrained(
base_id, torch_dtype=torch.bfloat16, device_map="auto"
)
model = PeftModel.from_pretrained(base, adapter_dir).eval()Clone with Git LFS so adapter weights are downloaded:
git lfs install
git clone https://huggingface.co/ho22joshua/hep-posttrainingThe adapter configuration records its required base model. Use the included chat_template.jinja and tokenizer/processor files when constructing prompts.
