BoLT
Code for "Reasoning to Learn from Latent Thoughts"
파일 탐색기
최종 버전 다운로드 (.zip)- __init__.py
- anthropic_utils.py
- cache_utils.py
- chunk_gen.py
- cpt_ckpt_utils.py
- dummy.py
- gen_sync.py
- interface_utils.py
- misc_utils.py
- openai_batch.py
- openai_utils.py
- stats.py
- __init__.py
- eval.py
- finetune.py
- gen_latents.py
- generate.py
- latent_bootstrap.py
- prepare_data.py
- train.py
- transformer.py
- __init__.py
- paradigm_illustration.jpg
- bootstrap_fixed_data.sh
- slurm.sh
- synth_data_method_compare.sh
- install_requirements.sh
- prepare_data.sh
- prepare_hf_ckpts.sh
- prepare_hf_datasets.sh
- run_bootstrap_latents.sh
- run_finetune_eval.sh
- run_gen_latents.sh
- run_train_bootstrap.sh
- run_train_warmstart.sh
- finemath_4plus_final_2b_separated_bootstrap_split_cached.json
- finemath_4plus_final_500m_warmstart_split_cached.json
- finemath_4plus_final_fixed_val_split_cached.json
- finemath_4plus_raw.json
- gsm8k_cot_alt.yaml
- gsm8k_cot_synthetic_alt.yaml
- latent_gsm8k_cot_alt.yaml
- latent_gsm8k_cot_synthetic_alt.yaml
- hendrycks_math_cot.yaml
- hendrycks_math_cot_algebra.yaml
- hendrycks_math_cot_counting_and_prob.yaml
- hendrycks_math_cot_geometry.yaml
- hendrycks_math_cot_intermediate_algebra.yaml
- hendrycks_math_cot_num_theory.yaml
- hendrycks_math_cot_prealgebra.yaml
- hendrycks_math_cot_precalc.yaml
- hendrycks_math_cot_synthetic.yaml
- hendrycks_math_cot_synthetic_algebra.yaml
- hendrycks_math_cot_synthetic_counting_and_prob.yaml
- hendrycks_math_cot_synthetic_geometry.yaml
- hendrycks_math_cot_synthetic_intermediate_algebra.yaml
- hendrycks_math_cot_synthetic_num_theory.yaml
- hendrycks_math_cot_synthetic_prealgebra.yaml
- hendrycks_math_cot_synthetic_precalc.yaml
- latent_hendrycks_math_cot.yaml
- latent_hendrycks_math_cot_algebra.yaml
- latent_hendrycks_math_cot_counting_and_prob.yaml
- latent_hendrycks_math_cot_geometry.yaml
- latent_hendrycks_math_cot_intermediate_algebra.yaml
- latent_hendrycks_math_cot_num_theory.yaml
- latent_hendrycks_math_cot_prealgebra.yaml
- latent_hendrycks_math_cot_precalc.yaml
- latent_hendrycks_math_cot_synthetic.yaml
- latent_hendrycks_math_cot_synthetic_algebra.yaml
- latent_hendrycks_math_cot_synthetic_counting_and_prob.yaml
- latent_hendrycks_math_cot_synthetic_geometry.yaml
- latent_hendrycks_math_cot_synthetic_intermediate_algebra.yaml
- latent_hendrycks_math_cot_synthetic_num_theory.yaml
- latent_hendrycks_math_cot_synthetic_prealgebra.yaml
- latent_hendrycks_math_cot_synthetic_precalc.yaml
- utils.py
- _latent_mmlu_cot_flan.yaml
- _latent_mmlu_cot_flan_other.yaml
- _latent_mmlu_cot_flan_social_sciences.yaml
- _latent_mmlu_cot_flan_stem.yaml
- _latent_mmlu_cot_flan_stem_humanities.yaml
- _latent_mmlu_cot_flan_template.yaml
- latent_mmlu_cot_flan_abstract_algebra.yaml
- latent_mmlu_cot_flan_anatomy.yaml
- latent_mmlu_cot_flan_astronomy.yaml
- latent_mmlu_cot_flan_business_ethics.yaml
- latent_mmlu_cot_flan_clinical_knowledge.yaml
- latent_mmlu_cot_flan_college_biology.yaml
- latent_mmlu_cot_flan_college_chemistry.yaml
- latent_mmlu_cot_flan_college_computer_science.yaml
- latent_mmlu_cot_flan_college_mathematics.yaml
- latent_mmlu_cot_flan_college_medicine.yaml
- latent_mmlu_cot_flan_college_physics.yaml
- latent_mmlu_cot_flan_computer_security.yaml
- latent_mmlu_cot_flan_conceptual_physics.yaml
- latent_mmlu_cot_flan_econometrics.yaml
- latent_mmlu_cot_flan_electrical_engineering.yaml
- latent_mmlu_cot_flan_elementary_mathematics.yaml
- latent_mmlu_cot_flan_formal_logic.yaml
- latent_mmlu_cot_flan_global_facts.yaml
- latent_mmlu_cot_flan_high_school_biology.yaml
- latent_mmlu_cot_flan_high_school_chemistry.yaml
- latent_mmlu_cot_flan_high_school_computer_science.yaml
- latent_mmlu_cot_flan_high_school_european_history.yaml
- latent_mmlu_cot_flan_high_school_geography.yaml
- latent_mmlu_cot_flan_high_school_government_and_politics.yaml
- latent_mmlu_cot_flan_high_school_macroeconomics.yaml
- latent_mmlu_cot_flan_high_school_mathematics.yaml
- latent_mmlu_cot_flan_high_school_microeconomics.yaml
- latent_mmlu_cot_flan_high_school_physics.yaml
- latent_mmlu_cot_flan_high_school_psychology.yaml
- latent_mmlu_cot_flan_high_school_statistics.yaml
- latent_mmlu_cot_flan_high_school_us_history.yaml
- latent_mmlu_cot_flan_high_school_world_history.yaml
- latent_mmlu_cot_flan_human_aging.yaml
- latent_mmlu_cot_flan_human_sexuality.yaml
- latent_mmlu_cot_flan_international_law.yaml
- latent_mmlu_cot_flan_jurisprudence.yaml
- latent_mmlu_cot_flan_logical_fallacies.yaml
- latent_mmlu_cot_flan_machine_learning.yaml
- latent_mmlu_cot_flan_management.yaml
- latent_mmlu_cot_flan_marketing.yaml
- latent_mmlu_cot_flan_medical_genetics.yaml
- latent_mmlu_cot_flan_miscellaneous.yaml
- latent_mmlu_cot_flan_moral_disputes.yaml
- latent_mmlu_cot_flan_moral_scenarios.yaml
- latent_mmlu_cot_flan_nutrition.yaml
- latent_mmlu_cot_flan_philosophy.yaml
- latent_mmlu_cot_flan_prehistory.yaml
- latent_mmlu_cot_flan_professional_accounting.yaml
- latent_mmlu_cot_flan_professional_law.yaml
- latent_mmlu_cot_flan_professional_medicine.yaml
- latent_mmlu_cot_flan_professional_psychology.yaml
- latent_mmlu_cot_flan_public_relations.yaml
- latent_mmlu_cot_flan_security_studies.yaml
- latent_mmlu_cot_flan_sociology.yaml
- latent_mmlu_cot_flan_us_foreign_policy.yaml
- latent_mmlu_cot_flan_virology.yaml
- latent_mmlu_cot_flan_world_religions.yaml
- _latent_mmlu_cot_synthetic.yaml
- _latent_mmlu_cot_synthetic_other.yaml
- _latent_mmlu_cot_synthetic_social_sciences.yaml
- _latent_mmlu_cot_synthetic_stem.yaml
- _latent_mmlu_cot_synthetic_stem_humanities.yaml
- _latent_mmlu_cot_synthetic_template.yaml
- latent_mmlu_cot_synthetic_abstract_algebra.yaml
- latent_mmlu_cot_synthetic_anatomy.yaml
- latent_mmlu_cot_synthetic_astronomy.yaml
- latent_mmlu_cot_synthetic_business_ethics.yaml
- latent_mmlu_cot_synthetic_clinical_knowledge.yaml
- latent_mmlu_cot_synthetic_college_biology.yaml
- latent_mmlu_cot_synthetic_college_chemistry.yaml
- latent_mmlu_cot_synthetic_college_computer_science.yaml
- latent_mmlu_cot_synthetic_college_mathematics.yaml
- latent_mmlu_cot_synthetic_college_medicine.yaml
- latent_mmlu_cot_synthetic_college_physics.yaml
- latent_mmlu_cot_synthetic_computer_security.yaml
- latent_mmlu_cot_synthetic_conceptual_physics.yaml
- latent_mmlu_cot_synthetic_econometrics.yaml
- latent_mmlu_cot_synthetic_electrical_engineering.yaml
- latent_mmlu_cot_synthetic_elementary_mathematics.yaml
- latent_mmlu_cot_synthetic_formal_logic.yaml
- latent_mmlu_cot_synthetic_global_facts.yaml
- latent_mmlu_cot_synthetic_high_school_biology.yaml
- latent_mmlu_cot_synthetic_high_school_chemistry.yaml
- latent_mmlu_cot_synthetic_high_school_computer_science.yaml
- latent_mmlu_cot_synthetic_high_school_european_history.yaml
- latent_mmlu_cot_synthetic_high_school_geography.yaml
- latent_mmlu_cot_synthetic_high_school_government_and_politics.yaml
- latent_mmlu_cot_synthetic_high_school_macroeconomics.yaml
- latent_mmlu_cot_synthetic_high_school_mathematics.yaml
- latent_mmlu_cot_synthetic_high_school_microeconomics.yaml
- latent_mmlu_cot_synthetic_high_school_physics.yaml
- latent_mmlu_cot_synthetic_high_school_psychology.yaml
- latent_mmlu_cot_synthetic_high_school_statistics.yaml
- latent_mmlu_cot_synthetic_high_school_us_history.yaml
- latent_mmlu_cot_synthetic_high_school_world_history.yaml
- latent_mmlu_cot_synthetic_human_aging.yaml
- latent_mmlu_cot_synthetic_human_sexuality.yaml
- latent_mmlu_cot_synthetic_international_law.yaml
- latent_mmlu_cot_synthetic_jurisprudence.yaml
- latent_mmlu_cot_synthetic_logical_fallacies.yaml
- latent_mmlu_cot_synthetic_machine_learning.yaml
- latent_mmlu_cot_synthetic_management.yaml
- latent_mmlu_cot_synthetic_marketing.yaml
- latent_mmlu_cot_synthetic_medical_genetics.yaml
- latent_mmlu_cot_synthetic_miscellaneous.yaml
- latent_mmlu_cot_synthetic_moral_disputes.yaml
- latent_mmlu_cot_synthetic_moral_scenarios.yaml
- latent_mmlu_cot_synthetic_nutrition.yaml
- latent_mmlu_cot_synthetic_philosophy.yaml
- latent_mmlu_cot_synthetic_prehistory.yaml
- latent_mmlu_cot_synthetic_professional_accounting.yaml
- latent_mmlu_cot_synthetic_professional_law.yaml
- latent_mmlu_cot_synthetic_professional_medicine.yaml
- latent_mmlu_cot_synthetic_professional_psychology.yaml
- latent_mmlu_cot_synthetic_public_relations.yaml
- latent_mmlu_cot_synthetic_security_studies.yaml
- latent_mmlu_cot_synthetic_sociology.yaml
- latent_mmlu_cot_synthetic_us_foreign_policy.yaml
- latent_mmlu_cot_synthetic_virology.yaml
- latent_mmlu_cot_synthetic_world_religions.yaml
- _mmlu_cot_flan.yaml
- _mmlu_cot_flan_other.yaml
- _mmlu_cot_flan_social_sciences.yaml
- _mmlu_cot_flan_stem.yaml
- _mmlu_cot_flan_stem_humanities.yaml
- _mmlu_cot_flan_template.yaml
- mmlu_cot_flan_abstract_algebra.yaml
- mmlu_cot_flan_anatomy.yaml
- mmlu_cot_flan_astronomy.yaml
- mmlu_cot_flan_business_ethics.yaml
- mmlu_cot_flan_clinical_knowledge.yaml
- mmlu_cot_flan_college_biology.yaml
- mmlu_cot_flan_college_chemistry.yaml
- mmlu_cot_flan_college_computer_science.yaml
- mmlu_cot_flan_college_mathematics.yaml
- mmlu_cot_flan_college_medicine.yaml
- mmlu_cot_flan_college_physics.yaml
- mmlu_cot_flan_computer_security.yaml
- mmlu_cot_flan_conceptual_physics.yaml
- mmlu_cot_flan_econometrics.yaml
- mmlu_cot_flan_electrical_engineering.yaml
- mmlu_cot_flan_elementary_mathematics.yaml
- mmlu_cot_flan_formal_logic.yaml
- mmlu_cot_flan_global_facts.yaml
- mmlu_cot_flan_high_school_biology.yaml
- mmlu_cot_flan_high_school_chemistry.yaml
- mmlu_cot_flan_high_school_computer_science.yaml
- mmlu_cot_flan_high_school_european_history.yaml
- mmlu_cot_flan_high_school_geography.yaml
- mmlu_cot_flan_high_school_government_and_politics.yaml
- mmlu_cot_flan_high_school_macroeconomics.yaml
- mmlu_cot_flan_high_school_mathematics.yaml
- mmlu_cot_flan_high_school_microeconomics.yaml
- mmlu_cot_flan_high_school_physics.yaml
- mmlu_cot_flan_high_school_psychology.yaml
- mmlu_cot_flan_high_school_statistics.yaml
- mmlu_cot_flan_high_school_us_history.yaml
- mmlu_cot_flan_high_school_world_history.yaml
- mmlu_cot_flan_human_aging.yaml
- mmlu_cot_flan_human_sexuality.yaml
- mmlu_cot_flan_international_law.yaml
- mmlu_cot_flan_jurisprudence.yaml
- mmlu_cot_flan_logical_fallacies.yaml
- mmlu_cot_flan_machine_learning.yaml
- mmlu_cot_flan_management.yaml
- mmlu_cot_flan_marketing.yaml
- mmlu_cot_flan_medical_genetics.yaml
- mmlu_cot_flan_miscellaneous.yaml
- mmlu_cot_flan_moral_disputes.yaml
- mmlu_cot_flan_moral_scenarios.yaml
- mmlu_cot_flan_nutrition.yaml
- mmlu_cot_flan_philosophy.yaml
- mmlu_cot_flan_prehistory.yaml
- mmlu_cot_flan_professional_accounting.yaml
- mmlu_cot_flan_professional_law.yaml
- mmlu_cot_flan_professional_medicine.yaml
- mmlu_cot_flan_professional_psychology.yaml
- mmlu_cot_flan_public_relations.yaml
- mmlu_cot_flan_security_studies.yaml
- mmlu_cot_flan_sociology.yaml
- mmlu_cot_flan_us_foreign_policy.yaml
- mmlu_cot_flan_virology.yaml
- mmlu_cot_flan_world_religions.yaml
- _mmlu_cot_synthetic.yaml
- _mmlu_cot_synthetic_other.yaml
- _mmlu_cot_synthetic_social_sciences.yaml
- _mmlu_cot_synthetic_stem.yaml
- _mmlu_cot_synthetic_stem_humanities.yaml
- _mmlu_cot_synthetic_template.yaml
- mmlu_cot_synthetic_abstract_algebra.yaml
- mmlu_cot_synthetic_anatomy.yaml
- mmlu_cot_synthetic_astronomy.yaml
- mmlu_cot_synthetic_business_ethics.yaml
- mmlu_cot_synthetic_clinical_knowledge.yaml
- mmlu_cot_synthetic_college_biology.yaml
- mmlu_cot_synthetic_college_chemistry.yaml
- mmlu_cot_synthetic_college_computer_science.yaml
- mmlu_cot_synthetic_college_mathematics.yaml
- mmlu_cot_synthetic_college_medicine.yaml
- mmlu_cot_synthetic_college_physics.yaml
- mmlu_cot_synthetic_computer_security.yaml
- mmlu_cot_synthetic_conceptual_physics.yaml
- mmlu_cot_synthetic_econometrics.yaml
- mmlu_cot_synthetic_electrical_engineering.yaml
- mmlu_cot_synthetic_elementary_mathematics.yaml
- mmlu_cot_synthetic_formal_logic.yaml
- mmlu_cot_synthetic_global_facts.yaml
- mmlu_cot_synthetic_high_school_biology.yaml
- mmlu_cot_synthetic_high_school_chemistry.yaml
- mmlu_cot_synthetic_high_school_computer_science.yaml
- mmlu_cot_synthetic_high_school_european_history.yaml
- mmlu_cot_synthetic_high_school_geography.yaml
- mmlu_cot_synthetic_high_school_government_and_politics.yaml
- mmlu_cot_synthetic_high_school_macroeconomics.yaml
- mmlu_cot_synthetic_high_school_mathematics.yaml
- mmlu_cot_synthetic_high_school_microeconomics.yaml
- mmlu_cot_synthetic_high_school_physics.yaml
- mmlu_cot_synthetic_high_school_psychology.yaml
- mmlu_cot_synthetic_high_school_statistics.yaml
- mmlu_cot_synthetic_high_school_us_history.yaml
- mmlu_cot_synthetic_high_school_world_history.yaml
- mmlu_cot_synthetic_human_aging.yaml
- mmlu_cot_synthetic_human_sexuality.yaml
- mmlu_cot_synthetic_international_law.yaml
- mmlu_cot_synthetic_jurisprudence.yaml
- mmlu_cot_synthetic_logical_fallacies.yaml
- mmlu_cot_synthetic_machine_learning.yaml
- mmlu_cot_synthetic_management.yaml
- mmlu_cot_synthetic_marketing.yaml
- mmlu_cot_synthetic_medical_genetics.yaml
- mmlu_cot_synthetic_miscellaneous.yaml
- mmlu_cot_synthetic_moral_disputes.yaml
- mmlu_cot_synthetic_moral_scenarios.yaml
- mmlu_cot_synthetic_nutrition.yaml
- mmlu_cot_synthetic_philosophy.yaml
- mmlu_cot_synthetic_prehistory.yaml
- mmlu_cot_synthetic_professional_accounting.yaml
- mmlu_cot_synthetic_professional_law.yaml
- mmlu_cot_synthetic_professional_medicine.yaml
- mmlu_cot_synthetic_professional_psychology.yaml
- mmlu_cot_synthetic_public_relations.yaml
- mmlu_cot_synthetic_security_studies.yaml
- mmlu_cot_synthetic_sociology.yaml
- mmlu_cot_synthetic_us_foreign_policy.yaml
- mmlu_cot_synthetic_virology.yaml
- mmlu_cot_synthetic_world_religions.yaml
- cpt_eval.yaml
- gsm8k_finetune_vllm.yaml
- math_finetune_vllm.yaml
- bootstrap_latents_cpt.yaml
- gpt_latent_thoughts.yaml
- wrap_baseline.yaml
- wrap_cot.yaml
- tinyllama_1B_cpt.yaml
- __init__.py
- args.py
- checkpoint.py
- data.py
- distributed.py
- float8.py
- logger.py
- metrics.py
- optim.py
- probe.py
- profiling.py
- stool.py
- tokenizer.py
- transformer.py
- plot_bootstrap_fix_data.ipynb
- plot_finetune_eval_results.ipynb
- plot_synth_data_method_compare.ipynb
- plot_utils.py
- convert_consolidated_lingua_ckpt_to_hf.py
- download_cached_datasets.py
- download_hf_ckpt.py
- download_hf_data.py
- .gitignore
- environment.yaml
- LICENSE
- README.md
- requirements.txt
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/ryoungj/BoLT
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd BoLT
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
pip install -r requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
jupyter notebook
브라우저에서 노트북(.ipynb) 파일들을 열람하고 실행할 수 있는 Jupyter 화면을 켭니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
