Model Training
A LORA adapter for openai/gpt-oss-20b. This model was trained with SFT using Adaption's AutoScientist on the llm_instruction_tuning_set dataset.

AutoScientist Config
{ "job_id": "35ab6be9-11bf-45c6-848e-5d52ac0a5be9", "training_experiment_id": "9d834e0e-f294-4b2b-b009-1a7339880775", "original_model_name": "openai/gpt-oss-20b", "trained_model_name": "adaption_llm_instruction_tuning_set", "training_method": "sft", "training_type": "lora", "data_format": "chat", "hyperparams": { "lora": "true", "lora_r": 64, "n_evals": 5, "n_epochs": 5, "batch_size": "max", "lora_alpha": 128, "lora_dropout": 0.05, "min_lr_ratio": 0.2, "warmup_ratio": 0.03, "weight_decay": 0.01, "learning_rate": 0.0003, "max_grad_norm": 1, "base_model_size": "20B", "train_on_inputs": "false", "training_method": "sft", "lr_scheduler_type": "cosine", "scheduler_num_cycles": 0.5, "lora_trainable_modules": "q_proj,k_proj,v_proj,o_proj" }}
Training Data
The model was trained on 19,431 rows of adapted data with the following domain distribution: data-analysis-visualization (33%), technology (20%), science (15%), math (8%), code (7%), governance (4%), medical (2%), writing-editing-communication (2%), corporate-business (2%), history (1%), academic-education (1%), how-to (1%), legal (1%), agriculture (1%), personal-finance (0%), market-analysis (0%), marketing (0%), hr (0%), other (0%), news (0%), architecture-design (0%), personal-growth (0%), product-advice (0%), geography (0%), religion (0%), career-workplace (0%), games (0%), music (0%), entertainment (0%), parenting-family (0%), travel (0%), language (0%), roleplay (0%), transportation (0%), sports (0%), fitness-sports (0%), dating (0%), cooking (0%), culture (0%), beauty (0%), animal-nature (0%), art (0%), social (0%), real-estate (0%).
Model Evaluation
The model was evaluated on an in-distribution held-out test set as well as a broader domain-specific test set to measure generalization.

Table with columns: Domain, Win rate vs. base model| Domain | Win rate vs. base model |
|---|
| general | 39% |
How to use
pip install torch transformers peft accelerate
from transformers import AutoModelForCausalLM, AutoTokenizer, pipelinefrom peft import PeftModel BASE = "openai/gpt-oss-20b"ADAPTER = "bngomez/adaption_llm_instruction_tuning_set" base = AutoModelForCausalLM.from_pretrained(BASE, dtype="auto", device_map="auto")# Merge the LoRA weights into the base for faster inferencemodel = PeftModel.from_pretrained(base, ADAPTER).merge_and_unload()model.eval()tokenizer = AutoTokenizer.from_pretrained(BASE) pipe = pipeline("text-generation", model=model, tokenizer=tokenizer) messages = [{"role": "user", "content": "Hello!"}]out = pipe(messages, max_new_tokens=512, do_sample=True, temperature=0.6)print(out[0]["generated_text"][-1]["content"])