From dc801c07cf38b0c495686463e6ca6f871a64440e Mon Sep 17 00:00:00 2001 From: YurenHao0426 Date: Tue, 27 Jan 2026 09:57:37 -0600 Subject: Add collaborativeagents module and update gitignore - Add collaborativeagents subproject with adapters, agents, and evaluation modules - Update .gitignore to exclude large binary files (.whl, .tar), wandb logs, and results Co-Authored-By: Claude Opus 4.5 --- collaborativeagents/training/sft_config.yaml | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 collaborativeagents/training/sft_config.yaml (limited to 'collaborativeagents/training/sft_config.yaml') diff --git a/collaborativeagents/training/sft_config.yaml b/collaborativeagents/training/sft_config.yaml new file mode 100644 index 0000000..52a52d5 --- /dev/null +++ b/collaborativeagents/training/sft_config.yaml @@ -0,0 +1,40 @@ +### LLaMA-Factory SFT Configuration for Session-Level Reflection +### Based on paper's training setup (Table 4) + +### Model +model_name_or_path: /projects/bfqt/users/yurenh2/ml-projects/personalization-user-model/models/llama-3.1-8b-instruct + +### Method +stage: sft +do_train: true +finetuning_type: full + +### Dataset +dataset: session_level_reflection +dataset_dir: /projects/bfqt/users/yurenh2/ml-projects/personalization-user-model/collaborativeagents/training/training_data +template: llama3 +cutoff_len: 32768 +preprocessing_num_workers: 16 + +### Output +output_dir: /projects/bfqt/users/yurenh2/ml-projects/personalization-user-model/collaborativeagents/training/outputs/sft_reflection +logging_steps: 10 +save_steps: 100 +save_total_limit: 3 + +### Training hyperparameters (from paper Table 4) +per_device_train_batch_size: 1 +gradient_accumulation_steps: 64 +learning_rate: 1.0e-6 +num_train_epochs: 4 +lr_scheduler_type: cosine +warmup_ratio: 0.1 +bf16: true + +### Optimization +optim: adamw_torch +weight_decay: 0.01 +max_grad_norm: 1.0 + +### Report +report_to: none -- cgit v1.2.3