├── README.md ├── eval ├── data │ ├── aime │ │ └── test.jsonl │ ├── amc │ │ └── test.jsonl │ ├── cn_math_2024 │ │ └── test.jsonl │ ├── gaokao │ │ └── test.jsonl │ ├── gpqa │ │ └── test.jsonl │ ├── grade_school_math │ │ └── test.jsonl │ ├── kaoyan │ │ └── test.jsonl │ ├── math │ │ └── test.jsonl │ ├── minerva │ │ └── test.jsonl │ └── olympiadbench │ │ └── test.jsonl ├── eval.py ├── eval.sh ├── eval_model_based.py ├── prompt.txt ├── prompts │ └── qwen-instruct │ │ ├── aime.py │ │ ├── amc.py │ │ ├── gpqa.py │ │ ├── math.py │ │ ├── minerva.py │ │ └── olympiadbench.py ├── readme.md ├── requirements.txt └── utils │ ├── __pycache__ │ ├── grader.cpython-310.pyc │ ├── math_normalization.cpython-310.pyc │ └── parser.cpython-310.pyc │ ├── data_loader.py │ ├── examples.py │ ├── grader.py │ ├── math_normalization.py │ ├── parser.py │ └── utils.py ├── images └── limo.png └── train ├── CITATION.cff ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── README_zh.md ├── assets ├── benchmark.svg ├── logo.png ├── wechat.jpg └── wechat_npu.jpg ├── data ├── README.md ├── README_zh.md ├── alpaca_en_demo.json ├── alpaca_zh_demo.json ├── belle_multiturn │ └── belle_multiturn.py ├── c4_demo.json ├── dataset_info.json ├── dpo_en_demo.json ├── dpo_zh_demo.json ├── glaive_toolcall_en_demo.json ├── glaive_toolcall_zh_demo.json ├── hh_rlhf_en │ └── hh_rlhf_en.py ├── identity.json ├── kto_en_demo.json ├── limo.json ├── mllm_audio_demo.json ├── mllm_demo.json ├── mllm_demo_data │ ├── 1.jpg │ ├── 1.mp3 │ ├── 1.mp4 │ ├── 2.avi │ ├── 2.jpg │ ├── 2.wav │ ├── 3.flac │ ├── 3.jpg │ └── 3.mp4 ├── mllm_video_demo.json ├── ultra_chat │ └── ultra_chat.py └── wiki_demo.txt ├── docker ├── docker-cuda │ ├── Dockerfile │ └── docker-compose.yml ├── docker-npu │ ├── Dockerfile │ └── docker-compose.yml └── docker-rocm │ ├── Dockerfile │ └── docker-compose.yml ├── evaluation ├── ceval │ ├── ceval.py │ ├── ceval.zip │ └── mapping.json ├── cmmlu │ ├── cmmlu.py │ ├── cmmlu.zip │ └── mapping.json └── mmlu │ ├── mapping.json │ ├── mmlu.py │ └── mmlu.zip ├── examples ├── README.md ├── README_zh.md ├── accelerate │ └── fsdp_config.yaml ├── deepspeed │ ├── ds_z0_config.json │ ├── ds_z2_config.json │ ├── ds_z2_offload_config.json │ ├── ds_z3_config.json │ └── ds_z3_offload_config.json ├── extras │ ├── adam_mini │ │ └── qwen2_full_sft.yaml │ ├── apollo │ │ └── llama3_full_sft.yaml │ ├── badam │ │ └── llama3_full_sft.yaml │ ├── fsdp_qlora │ │ ├── llama3_lora_sft.yaml │ │ └── train.sh │ ├── galore │ │ └── llama3_full_sft.yaml │ ├── llama_pro │ │ ├── expand.sh │ │ └── llama3_freeze_sft.yaml │ ├── loraplus │ │ └── llama3_lora_sft.yaml │ ├── mod │ │ └── llama3_full_sft.yaml │ ├── nlg_eval │ │ └── llama3_lora_predict.yaml │ └── pissa │ │ ├── init.sh │ │ └── llama3_lora_sft.yaml ├── inference │ ├── llama3.yaml │ ├── llama3_full_sft.yaml │ ├── llama3_lora_sft.yaml │ ├── llama3_vllm.yaml │ ├── llava1_5.yaml │ └── qwen2_vl.yaml ├── merge_lora │ ├── llama3_gptq.yaml │ ├── llama3_lora_sft.yaml │ └── qwen2vl_lora_sft.yaml ├── train_full │ ├── llama3_full_sft.yaml │ └── qwen2vl_full_sft.yaml ├── train_limo.yaml ├── train_lora │ ├── llama3_lora_dpo.yaml │ ├── llama3_lora_eval.yaml │ ├── llama3_lora_kto.yaml │ ├── llama3_lora_ppo.yaml │ ├── llama3_lora_pretrain.yaml │ ├── llama3_lora_reward.yaml │ ├── llama3_lora_sft.yaml │ ├── llama3_lora_sft_ds3.yaml │ ├── llama3_lora_sft_ray.yaml │ ├── llama3_preprocess.yaml │ ├── llava1_5_lora_sft.yaml │ ├── qwen2vl_lora_dpo.yaml │ └── qwen2vl_lora_sft.yaml └── train_qlora │ ├── llama3_lora_sft_aqlm.yaml │ ├── llama3_lora_sft_awq.yaml │ ├── llama3_lora_sft_bnb_npu.yaml │ ├── llama3_lora_sft_gptq.yaml │ └── llama3_lora_sft_otfq.yaml ├── pyproject.toml ├── requirements.txt ├── scripts ├── api_example │ ├── test_image.py │ └── test_toolcall.py ├── convert_ckpt │ ├── llamafy_baichuan2.py │ └── llamafy_qwen.py ├── llama_pro.py ├── loftq_init.py ├── pissa_init.py ├── stat_utils │ ├── cal_flops.py │ ├── cal_lr.py │ ├── cal_mfu.py │ ├── cal_ppl.py │ └── length_cdf.py └── vllm_infer.py ├── setup.py ├── src ├── api.py ├── llamafactory │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ ├── app.py │ │ ├── chat.py │ │ ├── common.py │ │ └── protocol.py │ ├── chat │ │ ├── __init__.py │ │ ├── base_engine.py │ │ ├── chat_model.py │ │ ├── hf_engine.py │ │ └── vllm_engine.py │ ├── cli.py │ ├── data │ │ ├── __init__.py │ │ ├── aligner.py │ │ ├── collator.py │ │ ├── data_utils.py │ │ ├── formatter.py │ │ ├── loader.py │ │ ├── mm_plugin.py │ │ ├── parser.py │ │ ├── preprocess.py │ │ ├── processors │ │ │ ├── __init__.py │ │ │ ├── feedback.py │ │ │ ├── pairwise.py │ │ │ ├── pretrain.py │ │ │ ├── processor_utils.py │ │ │ ├── supervised.py │ │ │ └── unsupervised.py │ │ ├── template.py │ │ └── tool_utils.py │ ├── eval │ │ ├── __init__.py │ │ ├── evaluator.py │ │ └── template.py │ ├── extras │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── env.py │ │ ├── logging.py │ │ ├── misc.py │ │ ├── packages.py │ │ └── ploting.py │ ├── hparams │ │ ├── __init__.py │ │ ├── data_args.py │ │ ├── evaluation_args.py │ │ ├── finetuning_args.py │ │ ├── generating_args.py │ │ ├── model_args.py │ │ ├── parser.py │ │ └── training_args.py │ ├── launcher.py │ ├── model │ │ ├── __init__.py │ │ ├── adapter.py │ │ ├── loader.py │ │ ├── model_utils │ │ │ ├── __init__.py │ │ │ ├── attention.py │ │ │ ├── checkpointing.py │ │ │ ├── embedding.py │ │ │ ├── liger_kernel.py │ │ │ ├── longlora.py │ │ │ ├── misc.py │ │ │ ├── mod.py │ │ │ ├── moe.py │ │ │ ├── packing.py │ │ │ ├── quantization.py │ │ │ ├── rope.py │ │ │ ├── unsloth.py │ │ │ ├── valuehead.py │ │ │ └── visual.py │ │ └── patcher.py │ ├── train │ │ ├── __init__.py │ │ ├── callbacks.py │ │ ├── dpo │ │ │ ├── __init__.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── kto │ │ │ ├── __init__.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── ppo │ │ │ ├── __init__.py │ │ │ ├── ppo_utils.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── pt │ │ │ ├── __init__.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── rm │ │ │ ├── __init__.py │ │ │ ├── metric.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── sft │ │ │ ├── __init__.py │ │ │ ├── metric.py │ │ │ ├── trainer.py │ │ │ └── workflow.py │ │ ├── test_utils.py │ │ ├── trainer_utils.py │ │ └── tuner.py │ └── webui │ │ ├── __init__.py │ │ ├── chatter.py │ │ ├── common.py │ │ ├── components │ │ ├── __init__.py │ │ ├── chatbot.py │ │ ├── data.py │ │ ├── eval.py │ │ ├── export.py │ │ ├── infer.py │ │ ├── top.py │ │ └── train.py │ │ ├── control.py │ │ ├── css.py │ │ ├── engine.py │ │ ├── interface.py │ │ ├── locales.py │ │ ├── manager.py │ │ └── runner.py ├── train.py └── webui.py └── tests ├── data ├── processors │ ├── test_feedback.py │ ├── test_pairwise.py │ ├── test_processor_utils.py │ ├── test_supervised.py │ └── test_unsupervised.py ├── test_collator.py ├── test_formatter.py ├── test_mm_plugin.py └── test_template.py ├── e2e ├── test_chat.py └── test_train.py ├── eval └── test_eval_template.py ├── model ├── model_utils │ ├── test_attention.py │ ├── test_checkpointing.py │ ├── test_misc.py │ ├── test_packing.py │ └── test_visual.py ├── test_base.py ├── test_freeze.py ├── test_full.py ├── test_lora.py └── test_pissa.py └── train └── test_sft_trainer.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/README.md -------------------------------------------------------------------------------- /eval/data/aime/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/aime/test.jsonl -------------------------------------------------------------------------------- /eval/data/amc/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/amc/test.jsonl -------------------------------------------------------------------------------- /eval/data/cn_math_2024/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/cn_math_2024/test.jsonl -------------------------------------------------------------------------------- /eval/data/gaokao/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/gaokao/test.jsonl -------------------------------------------------------------------------------- /eval/data/gpqa/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/gpqa/test.jsonl -------------------------------------------------------------------------------- /eval/data/grade_school_math/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/grade_school_math/test.jsonl -------------------------------------------------------------------------------- /eval/data/kaoyan/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/kaoyan/test.jsonl -------------------------------------------------------------------------------- /eval/data/math/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/math/test.jsonl -------------------------------------------------------------------------------- /eval/data/minerva/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/minerva/test.jsonl -------------------------------------------------------------------------------- /eval/data/olympiadbench/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/data/olympiadbench/test.jsonl -------------------------------------------------------------------------------- /eval/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/eval.py -------------------------------------------------------------------------------- /eval/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/eval.sh -------------------------------------------------------------------------------- /eval/eval_model_based.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/eval_model_based.py -------------------------------------------------------------------------------- /eval/prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompt.txt -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/aime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/aime.py -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/amc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/amc.py -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/gpqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/gpqa.py -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/math.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/math.py -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/minerva.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/minerva.py -------------------------------------------------------------------------------- /eval/prompts/qwen-instruct/olympiadbench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/prompts/qwen-instruct/olympiadbench.py -------------------------------------------------------------------------------- /eval/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/readme.md -------------------------------------------------------------------------------- /eval/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/requirements.txt -------------------------------------------------------------------------------- /eval/utils/__pycache__/grader.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/__pycache__/grader.cpython-310.pyc -------------------------------------------------------------------------------- /eval/utils/__pycache__/math_normalization.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/__pycache__/math_normalization.cpython-310.pyc -------------------------------------------------------------------------------- /eval/utils/__pycache__/parser.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/__pycache__/parser.cpython-310.pyc -------------------------------------------------------------------------------- /eval/utils/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/data_loader.py -------------------------------------------------------------------------------- /eval/utils/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/examples.py -------------------------------------------------------------------------------- /eval/utils/grader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/grader.py -------------------------------------------------------------------------------- /eval/utils/math_normalization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/math_normalization.py -------------------------------------------------------------------------------- /eval/utils/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/parser.py -------------------------------------------------------------------------------- /eval/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/eval/utils/utils.py -------------------------------------------------------------------------------- /images/limo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/images/limo.png -------------------------------------------------------------------------------- /train/CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/CITATION.cff -------------------------------------------------------------------------------- /train/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/LICENSE -------------------------------------------------------------------------------- /train/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE requirements.txt 2 | -------------------------------------------------------------------------------- /train/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/Makefile -------------------------------------------------------------------------------- /train/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/README.md -------------------------------------------------------------------------------- /train/README_zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/README_zh.md -------------------------------------------------------------------------------- /train/assets/benchmark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/assets/benchmark.svg -------------------------------------------------------------------------------- /train/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/assets/logo.png -------------------------------------------------------------------------------- /train/assets/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/assets/wechat.jpg -------------------------------------------------------------------------------- /train/assets/wechat_npu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/assets/wechat_npu.jpg -------------------------------------------------------------------------------- /train/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/README.md -------------------------------------------------------------------------------- /train/data/README_zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/README_zh.md -------------------------------------------------------------------------------- /train/data/alpaca_en_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/alpaca_en_demo.json -------------------------------------------------------------------------------- /train/data/alpaca_zh_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/alpaca_zh_demo.json -------------------------------------------------------------------------------- /train/data/belle_multiturn/belle_multiturn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/belle_multiturn/belle_multiturn.py -------------------------------------------------------------------------------- /train/data/c4_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/c4_demo.json -------------------------------------------------------------------------------- /train/data/dataset_info.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/dataset_info.json -------------------------------------------------------------------------------- /train/data/dpo_en_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/dpo_en_demo.json -------------------------------------------------------------------------------- /train/data/dpo_zh_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/dpo_zh_demo.json -------------------------------------------------------------------------------- /train/data/glaive_toolcall_en_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/glaive_toolcall_en_demo.json -------------------------------------------------------------------------------- /train/data/glaive_toolcall_zh_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/glaive_toolcall_zh_demo.json -------------------------------------------------------------------------------- /train/data/hh_rlhf_en/hh_rlhf_en.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/hh_rlhf_en/hh_rlhf_en.py -------------------------------------------------------------------------------- /train/data/identity.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/identity.json -------------------------------------------------------------------------------- /train/data/kto_en_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/kto_en_demo.json -------------------------------------------------------------------------------- /train/data/limo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/limo.json -------------------------------------------------------------------------------- /train/data/mllm_audio_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_audio_demo.json -------------------------------------------------------------------------------- /train/data/mllm_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo.json -------------------------------------------------------------------------------- /train/data/mllm_demo_data/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/1.jpg -------------------------------------------------------------------------------- /train/data/mllm_demo_data/1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/1.mp3 -------------------------------------------------------------------------------- /train/data/mllm_demo_data/1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/1.mp4 -------------------------------------------------------------------------------- /train/data/mllm_demo_data/2.avi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/2.avi -------------------------------------------------------------------------------- /train/data/mllm_demo_data/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/2.jpg -------------------------------------------------------------------------------- /train/data/mllm_demo_data/2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/2.wav -------------------------------------------------------------------------------- /train/data/mllm_demo_data/3.flac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/3.flac -------------------------------------------------------------------------------- /train/data/mllm_demo_data/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/3.jpg -------------------------------------------------------------------------------- /train/data/mllm_demo_data/3.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_demo_data/3.mp4 -------------------------------------------------------------------------------- /train/data/mllm_video_demo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/mllm_video_demo.json -------------------------------------------------------------------------------- /train/data/ultra_chat/ultra_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/ultra_chat/ultra_chat.py -------------------------------------------------------------------------------- /train/data/wiki_demo.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/data/wiki_demo.txt -------------------------------------------------------------------------------- /train/docker/docker-cuda/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-cuda/Dockerfile -------------------------------------------------------------------------------- /train/docker/docker-cuda/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-cuda/docker-compose.yml -------------------------------------------------------------------------------- /train/docker/docker-npu/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-npu/Dockerfile -------------------------------------------------------------------------------- /train/docker/docker-npu/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-npu/docker-compose.yml -------------------------------------------------------------------------------- /train/docker/docker-rocm/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-rocm/Dockerfile -------------------------------------------------------------------------------- /train/docker/docker-rocm/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/docker/docker-rocm/docker-compose.yml -------------------------------------------------------------------------------- /train/evaluation/ceval/ceval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/ceval/ceval.py -------------------------------------------------------------------------------- /train/evaluation/ceval/ceval.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/ceval/ceval.zip -------------------------------------------------------------------------------- /train/evaluation/ceval/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/ceval/mapping.json -------------------------------------------------------------------------------- /train/evaluation/cmmlu/cmmlu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/cmmlu/cmmlu.py -------------------------------------------------------------------------------- /train/evaluation/cmmlu/cmmlu.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/cmmlu/cmmlu.zip -------------------------------------------------------------------------------- /train/evaluation/cmmlu/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/cmmlu/mapping.json -------------------------------------------------------------------------------- /train/evaluation/mmlu/mapping.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/mmlu/mapping.json -------------------------------------------------------------------------------- /train/evaluation/mmlu/mmlu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/mmlu/mmlu.py -------------------------------------------------------------------------------- /train/evaluation/mmlu/mmlu.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/evaluation/mmlu/mmlu.zip -------------------------------------------------------------------------------- /train/examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/README.md -------------------------------------------------------------------------------- /train/examples/README_zh.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/README_zh.md -------------------------------------------------------------------------------- /train/examples/accelerate/fsdp_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/accelerate/fsdp_config.yaml -------------------------------------------------------------------------------- /train/examples/deepspeed/ds_z0_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/deepspeed/ds_z0_config.json -------------------------------------------------------------------------------- /train/examples/deepspeed/ds_z2_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/deepspeed/ds_z2_config.json -------------------------------------------------------------------------------- /train/examples/deepspeed/ds_z2_offload_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/deepspeed/ds_z2_offload_config.json -------------------------------------------------------------------------------- /train/examples/deepspeed/ds_z3_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/deepspeed/ds_z3_config.json -------------------------------------------------------------------------------- /train/examples/deepspeed/ds_z3_offload_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/deepspeed/ds_z3_offload_config.json -------------------------------------------------------------------------------- /train/examples/extras/adam_mini/qwen2_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/adam_mini/qwen2_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/apollo/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/apollo/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/badam/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/badam/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/fsdp_qlora/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/fsdp_qlora/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/fsdp_qlora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/fsdp_qlora/train.sh -------------------------------------------------------------------------------- /train/examples/extras/galore/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/galore/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/llama_pro/expand.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/llama_pro/expand.sh -------------------------------------------------------------------------------- /train/examples/extras/llama_pro/llama3_freeze_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/llama_pro/llama3_freeze_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/loraplus/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/loraplus/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/mod/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/mod/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/extras/nlg_eval/llama3_lora_predict.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/nlg_eval/llama3_lora_predict.yaml -------------------------------------------------------------------------------- /train/examples/extras/pissa/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/pissa/init.sh -------------------------------------------------------------------------------- /train/examples/extras/pissa/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/extras/pissa/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/inference/llama3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/llama3.yaml -------------------------------------------------------------------------------- /train/examples/inference/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/inference/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/inference/llama3_vllm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/llama3_vllm.yaml -------------------------------------------------------------------------------- /train/examples/inference/llava1_5.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/llava1_5.yaml -------------------------------------------------------------------------------- /train/examples/inference/qwen2_vl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/inference/qwen2_vl.yaml -------------------------------------------------------------------------------- /train/examples/merge_lora/llama3_gptq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/merge_lora/llama3_gptq.yaml -------------------------------------------------------------------------------- /train/examples/merge_lora/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/merge_lora/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/merge_lora/qwen2vl_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/merge_lora/qwen2vl_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_full/llama3_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_full/llama3_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_full/qwen2vl_full_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_full/qwen2vl_full_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_limo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_limo.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_dpo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_dpo.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_eval.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_eval.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_kto.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_kto.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_ppo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_ppo.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_pretrain.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_pretrain.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_reward.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_reward.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_sft_ds3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_sft_ds3.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_lora_sft_ray.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_lora_sft_ray.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llama3_preprocess.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llama3_preprocess.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/llava1_5_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/llava1_5_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/qwen2vl_lora_dpo.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/qwen2vl_lora_dpo.yaml -------------------------------------------------------------------------------- /train/examples/train_lora/qwen2vl_lora_sft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_lora/qwen2vl_lora_sft.yaml -------------------------------------------------------------------------------- /train/examples/train_qlora/llama3_lora_sft_aqlm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_qlora/llama3_lora_sft_aqlm.yaml -------------------------------------------------------------------------------- /train/examples/train_qlora/llama3_lora_sft_awq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_qlora/llama3_lora_sft_awq.yaml -------------------------------------------------------------------------------- /train/examples/train_qlora/llama3_lora_sft_bnb_npu.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_qlora/llama3_lora_sft_bnb_npu.yaml -------------------------------------------------------------------------------- /train/examples/train_qlora/llama3_lora_sft_gptq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_qlora/llama3_lora_sft_gptq.yaml -------------------------------------------------------------------------------- /train/examples/train_qlora/llama3_lora_sft_otfq.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/examples/train_qlora/llama3_lora_sft_otfq.yaml -------------------------------------------------------------------------------- /train/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/pyproject.toml -------------------------------------------------------------------------------- /train/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/requirements.txt -------------------------------------------------------------------------------- /train/scripts/api_example/test_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/api_example/test_image.py -------------------------------------------------------------------------------- /train/scripts/api_example/test_toolcall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/api_example/test_toolcall.py -------------------------------------------------------------------------------- /train/scripts/convert_ckpt/llamafy_baichuan2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/convert_ckpt/llamafy_baichuan2.py -------------------------------------------------------------------------------- /train/scripts/convert_ckpt/llamafy_qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/convert_ckpt/llamafy_qwen.py -------------------------------------------------------------------------------- /train/scripts/llama_pro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/llama_pro.py -------------------------------------------------------------------------------- /train/scripts/loftq_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/loftq_init.py -------------------------------------------------------------------------------- /train/scripts/pissa_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/pissa_init.py -------------------------------------------------------------------------------- /train/scripts/stat_utils/cal_flops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/stat_utils/cal_flops.py -------------------------------------------------------------------------------- /train/scripts/stat_utils/cal_lr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/stat_utils/cal_lr.py -------------------------------------------------------------------------------- /train/scripts/stat_utils/cal_mfu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/stat_utils/cal_mfu.py -------------------------------------------------------------------------------- /train/scripts/stat_utils/cal_ppl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/stat_utils/cal_ppl.py -------------------------------------------------------------------------------- /train/scripts/stat_utils/length_cdf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/stat_utils/length_cdf.py -------------------------------------------------------------------------------- /train/scripts/vllm_infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/scripts/vllm_infer.py -------------------------------------------------------------------------------- /train/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/setup.py -------------------------------------------------------------------------------- /train/src/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/api.py -------------------------------------------------------------------------------- /train/src/llamafactory/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/api/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/api/app.py -------------------------------------------------------------------------------- /train/src/llamafactory/api/chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/api/chat.py -------------------------------------------------------------------------------- /train/src/llamafactory/api/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/api/common.py -------------------------------------------------------------------------------- /train/src/llamafactory/api/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/api/protocol.py -------------------------------------------------------------------------------- /train/src/llamafactory/chat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/chat/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/chat/base_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/chat/base_engine.py -------------------------------------------------------------------------------- /train/src/llamafactory/chat/chat_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/chat/chat_model.py -------------------------------------------------------------------------------- /train/src/llamafactory/chat/hf_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/chat/hf_engine.py -------------------------------------------------------------------------------- /train/src/llamafactory/chat/vllm_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/chat/vllm_engine.py -------------------------------------------------------------------------------- /train/src/llamafactory/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/cli.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/aligner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/aligner.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/collator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/collator.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/data_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/formatter.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/loader.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/mm_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/mm_plugin.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/parser.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/preprocess.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/feedback.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/pairwise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/pairwise.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/pretrain.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/pretrain.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/processor_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/processor_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/supervised.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/processors/unsupervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/processors/unsupervised.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/template.py -------------------------------------------------------------------------------- /train/src/llamafactory/data/tool_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/data/tool_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/eval/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/eval/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/eval/evaluator.py -------------------------------------------------------------------------------- /train/src/llamafactory/eval/template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/eval/template.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/extras/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/constants.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/env.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/logging.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/misc.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/packages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/packages.py -------------------------------------------------------------------------------- /train/src/llamafactory/extras/ploting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/extras/ploting.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/data_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/data_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/evaluation_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/evaluation_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/finetuning_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/finetuning_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/generating_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/generating_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/model_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/model_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/parser.py -------------------------------------------------------------------------------- /train/src/llamafactory/hparams/training_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/hparams/training_args.py -------------------------------------------------------------------------------- /train/src/llamafactory/launcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/launcher.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/adapter.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/loader.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/attention.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/checkpointing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/checkpointing.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/embedding.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/liger_kernel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/liger_kernel.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/longlora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/longlora.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/misc.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/mod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/mod.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/moe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/moe.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/packing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/packing.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/quantization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/quantization.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/rope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/rope.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/unsloth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/unsloth.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/valuehead.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/valuehead.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/model_utils/visual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/model_utils/visual.py -------------------------------------------------------------------------------- /train/src/llamafactory/model/patcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/model/patcher.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/train/callbacks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/callbacks.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/dpo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/dpo/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/dpo/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/dpo/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/dpo/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/dpo/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/kto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/kto/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/kto/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/kto/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/kto/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/kto/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/ppo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/ppo/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/ppo/ppo_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/ppo/ppo_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/ppo/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/ppo/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/ppo/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/ppo/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/pt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/pt/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/pt/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/pt/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/pt/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/pt/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/rm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/rm/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/rm/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/rm/metric.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/rm/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/rm/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/rm/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/rm/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/sft/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/sft/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/sft/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/sft/metric.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/sft/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/sft/trainer.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/sft/workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/sft/workflow.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/test_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/trainer_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/trainer_utils.py -------------------------------------------------------------------------------- /train/src/llamafactory/train/tuner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/train/tuner.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /train/src/llamafactory/webui/chatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/chatter.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/common.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/__init__.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/chatbot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/chatbot.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/data.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/eval.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/export.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/infer.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/top.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/top.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/components/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/components/train.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/control.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/control.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/css.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/css.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/engine.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/interface.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/locales.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/locales.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/manager.py -------------------------------------------------------------------------------- /train/src/llamafactory/webui/runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/llamafactory/webui/runner.py -------------------------------------------------------------------------------- /train/src/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/train.py -------------------------------------------------------------------------------- /train/src/webui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/src/webui.py -------------------------------------------------------------------------------- /train/tests/data/processors/test_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/processors/test_feedback.py -------------------------------------------------------------------------------- /train/tests/data/processors/test_pairwise.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/processors/test_pairwise.py -------------------------------------------------------------------------------- /train/tests/data/processors/test_processor_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/processors/test_processor_utils.py -------------------------------------------------------------------------------- /train/tests/data/processors/test_supervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/processors/test_supervised.py -------------------------------------------------------------------------------- /train/tests/data/processors/test_unsupervised.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/processors/test_unsupervised.py -------------------------------------------------------------------------------- /train/tests/data/test_collator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/test_collator.py -------------------------------------------------------------------------------- /train/tests/data/test_formatter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/test_formatter.py -------------------------------------------------------------------------------- /train/tests/data/test_mm_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/test_mm_plugin.py -------------------------------------------------------------------------------- /train/tests/data/test_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/data/test_template.py -------------------------------------------------------------------------------- /train/tests/e2e/test_chat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/e2e/test_chat.py -------------------------------------------------------------------------------- /train/tests/e2e/test_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/e2e/test_train.py -------------------------------------------------------------------------------- /train/tests/eval/test_eval_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/eval/test_eval_template.py -------------------------------------------------------------------------------- /train/tests/model/model_utils/test_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/model_utils/test_attention.py -------------------------------------------------------------------------------- /train/tests/model/model_utils/test_checkpointing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/model_utils/test_checkpointing.py -------------------------------------------------------------------------------- /train/tests/model/model_utils/test_misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/model_utils/test_misc.py -------------------------------------------------------------------------------- /train/tests/model/model_utils/test_packing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/model_utils/test_packing.py -------------------------------------------------------------------------------- /train/tests/model/model_utils/test_visual.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/model_utils/test_visual.py -------------------------------------------------------------------------------- /train/tests/model/test_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/test_base.py -------------------------------------------------------------------------------- /train/tests/model/test_freeze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/test_freeze.py -------------------------------------------------------------------------------- /train/tests/model/test_full.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/test_full.py -------------------------------------------------------------------------------- /train/tests/model/test_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/test_lora.py -------------------------------------------------------------------------------- /train/tests/model/test_pissa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/model/test_pissa.py -------------------------------------------------------------------------------- /train/tests/train/test_sft_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GAIR-NLP/LIMO/HEAD/train/tests/train/test_sft_trainer.py --------------------------------------------------------------------------------