C2C
[ICLR'26] The official code implementation for "Cache-to-Cache: Direct Semantic Communication Between Large Language Models"
파일 탐색기
최종 버전 다운로드 (.zip)- fix-qwen-model-paths.yml
- ablation_study.sh
- run_eval.sh
- include_response.sh
- sft_train.sh
- ablation_base.yaml
- unified_eval.yaml
- all_in_one.json
- baseline_config.json
- baseline_lora_config.json
- baseline_partial_config.json
- C2C_0.6+0.5.json
- C2C_ablation.json
- include_response.json
- oracle.json
- logo.png
- multi_stage.py
- ablation_projector.py
- aligner.py
- oracle.py
- projector.py
- sampling.py
- wrapper.py
- __init__.py
- dataset_adapters.py
- model_utils.py
- core.py
- evaluate.py
- matheval.py
- registry.py
- ablation_study.py
- analyze_projector_weights.ipynb
- collect_projector_weights.py
- compute_response_lengths.py
- extract_metrics_enhanced.py
- length_ratio_analysis_with_improvement.png
- plot_length_ratio_accuracy.py
- auto_kv_cache_evaluation.py
- proportion.py
- auto_scaling_experiment.py
- batch_evaluate_checkpoints.py
- batch_evaluate_T2T.py
- scaling_curve.py
- tsne.py
- plot_venn_from_json.py
- venn_config.json
- venn_hf_models.py
- venn_multicard.py
- batch_check_consistency.py
- check_rosetta_consistency.py
- plot_consistency.py
- rosetta_consistency_config.json
- create_dolly.py
- create_gsm8k.py
- create_mmlu.py
- create_openhermes.py
- launch_server.sh
- qwen3_nonthinking.jinja
- run_generation.sh
- save_dataset.py
- kv_cache_evaluate.py
- run_tests.sh
- standard_kvcache_del.py
- unified_evaluator.py
- unified_evaluator_oracle.py
- two_stage_example.py
- two_stage_rosetta_example.py
- gradio_demo.py
- inference_example.py
- live_chat_example.py
- sample_response.py
- sensitivity_test.py
- sensitivity_test_add_cache.py
- baseline_train.py
- generate_configs.py
- oracle_train.py
- oracle_train_kvcache_mse.py
- SFT_train.py
- .gitignore
- environment.yml
- LICENSE
- pyproject.toml
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/thu-nics/C2C
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd C2C
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -e .
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
pip install -e ".[training,evaluation]"
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
