Files
HenryChou020514 01bb07dba8 Flatten 1_raw_dataset submodules into plain tracked files
FocalLoRA, Should-It-Be-Executed-Or-Processed, and topicattack were
nested git repos (with an inner FocalLoRA/data/FocalLoRA/.git as well).
Drop their .git history and track the contents directly in this repo
instead of as submodules/gitlinks.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 19:06:09 +08:00

22 lines
621 B
Bash

#!/bin/bash
eval "$(conda shell.bash hook)"
conda activate focallora
export CUDA_VISIBLE_DEVICES="1"
export PROJDIR="/data/local/hujk/FocalLoRA"
cd code
# Use the new dataset format
python _tuning.modified.py \
--model_path "$PROJDIR/models/Llama-3.1-8B-Instruct/" \
--json_path "$PROJDIR/data/all_combined.json" \
--tune_path "$PROJDIR/data/focal_lora_dataset_train" \
--output_dir "$PROJDIR/LoraAdapter/Llama-3.1-8B-Instruct_m_t30p/" \
--topk 30p \
--epochs 20 \
--batch_size 6 \
--lr 1e-6 \
--lambda_focus 0.01 \
# --lora_path "$PROJDIR/LoraAdapter/Llama-3.1-8B-Instruct_modified_0.85/batch_0" \