├── ICL ├── README.md ├── __init__.py ├── hidden_state │ ├── plot.py │ ├── plot_cluster.py │ └── tsne_all_decoder.png ├── last_time_step_icl.py └── task_vecor.sh ├── README.cn.md ├── README.md ├── TrainScript_CVAE.py ├── data ├── README.md ├── __init__.py ├── florence_detection_dataset.py └── utils │ └── filter_one.py ├── images └── pipeline.jpg ├── model ├── CVAE_design.py ├── README.md ├── VAEdesign.py └── __init__.py ├── requirement.yml ├── test.py ├── train_cvae.sh ├── train_lora ├── README.md └── train_lora_arg.py └── utils ├── NormalizeLora.sh ├── Reconstruct.sh ├── ReconstructLora_cvae.py ├── normalizeLoraWeight_small.py └── reformat_lora_param.py /ICL/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ICL/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ICL/hidden_state/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/ICL/hidden_state/plot.py -------------------------------------------------------------------------------- /ICL/hidden_state/plot_cluster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/ICL/hidden_state/plot_cluster.py -------------------------------------------------------------------------------- /ICL/hidden_state/tsne_all_decoder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/ICL/hidden_state/tsne_all_decoder.png -------------------------------------------------------------------------------- /ICL/last_time_step_icl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/ICL/last_time_step_icl.py -------------------------------------------------------------------------------- /ICL/task_vecor.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/ICL/task_vecor.sh -------------------------------------------------------------------------------- /README.cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/README.cn.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/README.md -------------------------------------------------------------------------------- /TrainScript_CVAE.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/TrainScript_CVAE.py -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/data/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/florence_detection_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/data/florence_detection_dataset.py -------------------------------------------------------------------------------- /data/utils/filter_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/data/utils/filter_one.py -------------------------------------------------------------------------------- /images/pipeline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/images/pipeline.jpg -------------------------------------------------------------------------------- /model/CVAE_design.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/model/CVAE_design.py -------------------------------------------------------------------------------- /model/README.md: -------------------------------------------------------------------------------- 1 | Model design of CVAE -------------------------------------------------------------------------------- /model/VAEdesign.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/model/VAEdesign.py -------------------------------------------------------------------------------- /model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /requirement.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/requirement.yml -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/test.py -------------------------------------------------------------------------------- /train_cvae.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/train_cvae.sh -------------------------------------------------------------------------------- /train_lora/README.md: -------------------------------------------------------------------------------- 1 | This dir including the train script of lora -------------------------------------------------------------------------------- /train_lora/train_lora_arg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/train_lora/train_lora_arg.py -------------------------------------------------------------------------------- /utils/NormalizeLora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/utils/NormalizeLora.sh -------------------------------------------------------------------------------- /utils/Reconstruct.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/utils/Reconstruct.sh -------------------------------------------------------------------------------- /utils/ReconstructLora_cvae.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/utils/ReconstructLora_cvae.py -------------------------------------------------------------------------------- /utils/normalizeLoraWeight_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/utils/normalizeLoraWeight_small.py -------------------------------------------------------------------------------- /utils/reformat_lora_param.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YihuaJerry/ICM-LoRA/HEAD/utils/reformat_lora_param.py --------------------------------------------------------------------------------