data
DATA: Decomposed Attention-based Task Adaptation for Rehearsal-Free Continual Learning
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.6%) to scientific vocabulary
Repository
DATA: Decomposed Attention-based Task Adaptation for Rehearsal-Free Continual Learning
Basic Info
- Host: GitHub
- Owner: Xnhyacinth
- License: apache-2.0
- Language: Python
- Default Branch: master
- Homepage: https://arxiv.org/abs/2502.11482
- Size: 53.5 MB
Statistics
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
DATA
Requirements
Install LLaMA-Factory following LLaMA-Factory.
bash
cd DATA
pip install -e ".[torch,metrics]"
Data
datafolder has 15 tasks of Long Sequence Benchmark.Download the datasets from official websites.
From Google drive: (we unified the formats of the above datasets). Link
Run
shell
bash config/run.sh ${num_gpus} ${gpus} ${model} ${tuning_method} ${bs} ${lr_type} ${lr} ${filter} ${mode} ${select} ${r} ${deepspeed} ${data_rank1} ${data_rank2} ${restore} ${scale} ${adaprompt} ${reinit} ${ortho_mu} ${gap_layers} ${bakebone} ${nomlp} ${project} ${replay}
LLaMA2-7B
LoRA
shell
bash config/run.sh 2 0,1 llama2-7b lora 16 constant 1e-4 0 all 0 8 -1 0 0 0 0 0 0 0 0 0 0 0 0
LoRAReplay
shell
bash config/run.sh 2 0,1 llama2-7b lora 16 constant 1e-4 0 all 0 8 -1 0 0 0 0 0 0 0 0 0 0 0 1
DATA
shell
bash config/run.sh 2 0,1 llama2-7b data 1 constant 1e-4 0 all 0 8 -1 2 8 0 0 8 1 1 4 0 0 0 0
Details
Coming Soon!
Referencing and Citing
If you find our work useful in your research and would like to cite our project, please use the following citation: found this work useful, please consider giving this repository a star and citing our paper as follows:
bibtex
@article{liao2025data,
title={DATA: Decomposed Attention-based Task Adaptation for Rehearsal-Free Continual Learning},
author={Liao, Huanxuan and He, Shizhu and Hao, Yupu and Zhao, Jun and Liu, Kang },
journal={arXiv preprint arXiv:2502.11482},
year={2025}
}
Owner
- Login: Xnhyacinth
- Kind: user
- Repositories: 1
- Profile: https://github.com/Xnhyacinth
GitHub Events
Total
- Issues event: 10
- Watch event: 4
- Issue comment event: 4
- Push event: 10
- Create event: 2
Last Year
- Issues event: 10
- Watch event: 4
- Issue comment event: 4
- Push event: 10
- Create event: 2
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ShristiDasBiswas (7)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- nvcr.io/nvidia/pytorch 24.02-py3 build
- ascendai/cann 8.0.rc1-910b-ubuntu22.04-py3.8 build
- hardandheavy/transformers-rocm 2.2.0 build
- accelerate >=0.30.1,<=0.34.2
- av *
- datasets >=2.16.0,<=2.21.0
- einops *
- fastapi *
- fire *
- fuzzywuzzy *
- gradio >=4.0.0,<5.0.0
- matplotlib >=3.7.0
- numpy <2.0.0
- packaging *
- pandas >=2.0.0
- peft >=0.11.1,<=0.12.0
- protobuf *
- pydantic *
- pyyaml *
- sacrebleu *
- sacremoses *
- scipy *
- sentencepiece *
- sse-starlette *
- thop *
- tiktoken *
- transformers >=4.41.2,<=4.45.2
- trl >=0.8.6,<=0.9.6
- uvicorn *
- absl-py *
- nltk *
- numpy *
- six >=1.14
- absl-py *
- nltk *
- numpy *
- six >=1.14.0
- absl-py *
- nltk *
- numpy *
- six >=1.14
- absl-py *
- nltk *
- numpy *
- six >=1.14.0