TokenCleaning
[ICML 2025] Official implementation of paper "Token Cleaning: Fine-Grained Data Selection for LLM Supervised Fine-Tuning"
파일 탐색기
최종 버전 다운로드 (.zip)- full_baseline.sh
- random_baseline.sh
- rho_baseline.sh
- calculate_loss.sh
- finetune.sh
- run_eval.py
- run_eval.py
- data.py
- evaluation.py
- execution.py
- run_eval.py
- examplars.py
- run_eval.py
- instructions.py
- instructions_registry.py
- instructions_util.py
- run_eval.py
- examplars.py
- minerva_utils.py
- run_eval.py
- utilities.py
- evaluation.py
- execution.py
- mbpp.py
- run_eval.py
- categories.py
- run_eval.py
- run_eval_backup.py
- run_eval.py
- configs.py
- metrics.py
- presets.py
- run_eval.py
- utilities.py
- run_eval.py
- classify_refusal.py
- run_eval.py
- dispatch_openai_requests.py
- predict.py
- templates.py
- utils.py
- token_cleaning_overivew.jpg
- token_selection_2.0.pdf
- fsdp_config.yaml
- calculate_token_loss.py
- finetune.py
- finetune_trainer.py
- generate_subset.py
- generate_token_label.py
- merge_lora.py
- .gitignore
- fixed_model_cleaning.sh
- get_ref_model.sh
- prepare_eval_data.sh
- read_results.ipynb
- README.md
- requirements.txt
- run_eval.sh
- self_evolving_cleaning.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/UCSC-REAL/TokenCleaning
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd TokenCleaning
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
The tabular results can be printed via the `read_results.ipynb` jupyter notebook.
이 명령어를 터미널에 그대로 입력해 실행하세요.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
