├── .gitignore ├── LICENSE ├── README.md ├── eval ├── Logic_Reasoning_Evaluation │ ├── benchmark_tasks │ │ ├── bbeh_boardgame_qa │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_boolean_expressions │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_buggy_tables │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_causal_understanding │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_disambiguation_qa │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_dyck_languages │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_geometric_shapes │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_hyperbaton │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_linguini │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_movie_recommendation │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_multistep_arithmetic │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_nycc │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_object_counting │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_object_properties │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_sarc_triples │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_shuffled_objects │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_spatial_reasoning │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_sportqa │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_temporal_sequence │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_time_arithmetic │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_web_of_lies │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_word_sorting │ │ │ ├── README.md │ │ │ └── task.json │ │ ├── bbeh_zebra_puzzles │ │ │ ├── README.md │ │ │ └── task.json │ │ └── bbeh_zz_mini │ │ │ └── task.json │ ├── evaluate.py │ ├── mini │ │ └── data.json │ ├── run_evaluate.py │ ├── run_evaluation.sh │ └── utils.py ├── Math_Reasoning_Evaluation │ ├── LICENSE │ ├── README.md │ ├── data │ │ ├── aime24 │ │ │ └── test.jsonl │ │ ├── aime25 │ │ │ └── test.jsonl │ │ ├── amc23 │ │ │ └── test.jsonl │ │ ├── gsm8k │ │ │ ├── test.jsonl │ │ │ └── train.jsonl │ │ ├── math-500-validation │ │ │ └── test.jsonl │ │ ├── math-500 │ │ │ └── test.jsonl │ │ ├── math │ │ │ ├── test.jsonl │ │ │ └── train.jsonl │ │ ├── minerva_math │ │ │ ├── README.md │ │ │ └── test.jsonl │ │ ├── olympiadbench │ │ │ ├── test.json │ │ │ └── test.jsonl │ │ └── theoremqa │ │ │ ├── test.json │ │ │ ├── test.jsonl │ │ │ └── trans_format.py │ ├── data_loader.py │ ├── evaluate.py │ ├── examples.py │ ├── grader.py │ ├── latex2sympy │ │ ├── .coveragerc │ │ ├── .gitignore │ │ ├── LICENSE.txt │ │ ├── PS.g4 │ │ ├── README.md │ │ ├── __init__.py │ │ ├── antlr-4.11.1-complete.jar │ │ ├── asciimath_printer.py │ │ ├── description.txt │ │ ├── dev-requirements.in │ │ ├── dev-requirements.txt │ │ ├── gen │ │ │ ├── PS.interp │ │ │ ├── PS.tokens │ │ │ ├── PSLexer.interp │ │ │ ├── PSLexer.py │ │ │ ├── PSLexer.tokens │ │ │ ├── PSListener.py │ │ │ ├── PSParser.py │ │ │ └── __init__.py │ │ ├── icon.png │ │ ├── latex2sympy2.py │ │ ├── requirements.in │ │ ├── requirements.txt │ │ ├── sandbox │ │ │ ├── linalg_equations.py │ │ │ ├── linalg_span.py │ │ │ ├── matrix.py │ │ │ ├── matrix_placeholders.py │ │ │ ├── sandbox.py │ │ │ ├── sandbox_equality.py │ │ │ ├── sectan.py │ │ │ └── vector.py │ │ ├── scripts │ │ │ ├── compile.sh │ │ │ ├── coverage-ci.sh │ │ │ ├── coverage.sh │ │ │ ├── pre-commit │ │ │ ├── pre-push │ │ │ ├── publish.sh │ │ │ ├── setup-hooks.sh │ │ │ ├── setup.sh │ │ │ └── test.sh │ │ ├── setup.cfg │ │ ├── setup.py │ │ └── tests │ │ │ ├── __init__.py │ │ │ ├── abs_test.py │ │ │ ├── all_bad_test.py │ │ │ ├── all_good_test.py │ │ │ ├── atom_expr_test.py │ │ │ ├── binomial_test.py │ │ │ ├── ceil_test.py │ │ │ ├── complex_test.py │ │ │ ├── context.py │ │ │ ├── exp_test.py │ │ │ ├── floor_test.py │ │ │ ├── gcd_test.py │ │ │ ├── greek_test.py │ │ │ ├── grouping_test.py │ │ │ ├── lcm_test.py │ │ │ ├── left_right_cdot_test.py │ │ │ ├── linalg_test.py │ │ │ ├── max_test.py │ │ │ ├── min_test.py │ │ │ ├── mod_test.py │ │ │ ├── overline_test.py │ │ │ ├── pi_test.py │ │ │ ├── trig_test.py │ │ │ └── variable_test.py │ ├── math_eval.py │ ├── math_utils.py │ ├── model_utils.py │ ├── parser.py │ ├── python_executor.py │ ├── register_mimo_in_vllm.py │ ├── requirements.txt │ ├── rm_maj_eval.py │ ├── sample_validation.py │ ├── scripts │ │ ├── evaluate_llama.sh │ │ └── evaluate_qwen.sh │ ├── trajectory.py │ ├── utils.py │ └── utils │ │ └── format_aime25_data.py ├── eval_on_logic_reasoning.sh └── eval_on_math_reasoning.sh ├── ms-swift ├── .dev_scripts │ ├── build_docs.sh │ ├── ci_container_test.sh │ └── dockerci.sh ├── .gitignore ├── .pre-commit-config.yaml ├── .pre-commit-config_local.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CONTRIBUTING_CN.md ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.md ├── README_CN.md ├── asset │ ├── banner.png │ ├── discord_qr.jpg │ └── wechat.png ├── docs │ ├── Makefile │ ├── README.md │ ├── make.bat │ ├── resources │ │ ├── dpo_data.png │ │ ├── grpo.png │ │ ├── grpo_clevr_count.png │ │ ├── grpo_code.png │ │ ├── grpo_countdown.png │ │ ├── grpo_countdown_1.png │ │ ├── grpo_geoqa.png │ │ ├── grpo_openr1_multimodal.png │ │ ├── kto_data.png │ │ ├── web-ui-en.jpg │ │ └── web-ui.jpg │ ├── source │ │ ├── .readthedocs.yaml │ │ ├── BestPractices │ │ │ ├── Embedding训练.md │ │ │ ├── GRPO代码训练.md │ │ │ ├── GRPO多模态训练.md │ │ │ ├── GRPO完整流程.md │ │ │ ├── NPU支持.md │ │ │ ├── 快速训练VL模型.md │ │ │ └── 更多最佳实践.md │ │ ├── Customization │ │ │ ├── 插件化.md │ │ │ ├── 自定义数据集.md │ │ │ └── 自定义模型.md │ │ ├── GetStarted │ │ │ ├── SWIFT安装.md │ │ │ ├── Web-UI.md │ │ │ └── 快速开始.md │ │ ├── Instruction │ │ │ ├── Agent支持.md │ │ │ ├── GRPO.md │ │ │ ├── Megatron-SWIFT训练.md │ │ │ ├── ReleaseNote3.0.md │ │ │ ├── 人类对齐.md │ │ │ ├── 使用tuners.md │ │ │ ├── 命令行参数.md │ │ │ ├── 导出与推送.md │ │ │ ├── 常见问题整理.md │ │ │ ├── 强化微调.md │ │ │ ├── 推理和部署.md │ │ │ ├── 支持的模型和数据集.md │ │ │ ├── 评测.md │ │ │ ├── 采样.md │ │ │ └── 预训练与微调.md │ │ ├── _templates │ │ │ ├── autosummary │ │ │ │ └── class.rst │ │ │ ├── classtemplate.rst │ │ │ └── sobolengine.rst │ │ ├── conf.py │ │ └── index.rst │ └── source_en │ │ ├── .readthedocs.yaml │ │ ├── BestPractices │ │ ├── Embedding.md │ │ ├── GRPO-Code-Training.md │ │ ├── GRPO-Multi-Modal-Training.md │ │ ├── GRPO.md │ │ ├── More-Best-Practices.md │ │ ├── NPU-support.md │ │ └── Rapidly-Training-VL-model.md │ │ ├── Customization │ │ ├── Custom-dataset.md │ │ ├── Custom-model.md │ │ └── Pluginization.md │ │ ├── GetStarted │ │ ├── Quick-start.md │ │ ├── SWIFT-installation.md │ │ └── Web-UI.md │ │ ├── Instruction │ │ ├── Agent-support.md │ │ ├── Command-line-parameters.md │ │ ├── Evaluation.md │ │ ├── Export-and-push.md │ │ ├── Frequently-asked-questions.md │ │ ├── GRPO.md │ │ ├── Inference-and-deployment.md │ │ ├── Megatron-SWIFT-Training.md │ │ ├── Pre-training-and-Fine-tuning.md │ │ ├── RLHF.md │ │ ├── Reinforced-Fine-tuning.md │ │ ├── ReleaseNote3.0.md │ │ ├── Sample.md │ │ ├── Supported-models-and-datasets.md │ │ └── Use-tuners.md │ │ ├── _templates │ │ ├── autosummary │ │ │ └── class.rst │ │ ├── classtemplate.rst │ │ └── sobolengine.rst │ │ ├── conf.py │ │ └── index.rst ├── examples │ ├── README.md │ ├── app │ │ ├── base_url │ │ │ ├── demo.py │ │ │ └── demo.sh │ │ ├── llm.sh │ │ └── mllm.sh │ ├── custom │ │ ├── dataset.py │ │ ├── infer.sh │ │ ├── model.py │ │ └── sft.sh │ ├── deploy │ │ ├── agent │ │ │ ├── client.py │ │ │ └── server.sh │ │ ├── bert │ │ │ ├── client.py │ │ │ └── server.sh │ │ ├── client │ │ │ ├── llm │ │ │ │ ├── base │ │ │ │ │ ├── openai_client.py │ │ │ │ │ └── swift_client.py │ │ │ │ └── chat │ │ │ │ │ ├── openai_client.py │ │ │ │ │ └── swift_client.py │ │ │ └── mllm │ │ │ │ ├── openai_client.py │ │ │ │ └── swift_client.py │ │ ├── lora │ │ │ ├── client.py │ │ │ └── server.sh │ │ ├── reward_model │ │ │ ├── client.py │ │ │ └── server.sh │ │ └── server │ │ │ ├── README.md │ │ │ └── demo.sh │ ├── eval │ │ ├── eval_url │ │ │ ├── demo.py │ │ │ └── eval.sh │ │ ├── llm │ │ │ └── eval.sh │ │ ├── train_eval │ │ │ └── train.sh │ │ └── vlm │ │ │ └── eval.sh │ ├── export │ │ ├── merge_lora.sh │ │ ├── ollama.sh │ │ ├── push_to_hub.sh │ │ └── quantize │ │ │ ├── awq.sh │ │ │ ├── bert │ │ │ ├── bnb.sh │ │ │ └── gptq.sh │ │ │ ├── bnb.sh │ │ │ ├── gptq.sh │ │ │ ├── mllm │ │ │ ├── awq.sh │ │ │ └── gptq.sh │ │ │ ├── moe │ │ │ ├── awq.sh │ │ │ └── gptq.sh │ │ │ ├── omni │ │ │ └── gptq.sh │ │ │ └── reward_model │ │ │ ├── bnb.sh │ │ │ └── gptq.sh │ ├── infer │ │ ├── cli_demo.sh │ │ ├── demo.py │ │ ├── demo_agent.py │ │ ├── demo_bert.py │ │ ├── demo_grounding.py │ │ ├── demo_hf.py │ │ ├── demo_lora.py │ │ ├── demo_mllm.py │ │ ├── demo_reward_model.py │ │ ├── lmdeploy │ │ │ ├── ddp.sh │ │ │ └── mllm_tp.sh │ │ ├── pt │ │ │ ├── batch_ddp.sh │ │ │ ├── bert.sh │ │ │ ├── lora.sh │ │ │ ├── mllm_device_map.sh │ │ │ ├── prm.sh │ │ │ └── reward_model.sh │ │ └── vllm │ │ │ ├── ddp.sh │ │ │ ├── mllm_ddp.sh │ │ │ └── mllm_tp.sh │ ├── notebook │ │ ├── qwen2_5-self-cognition │ │ │ ├── infer.ipynb │ │ │ ├── infer.sh │ │ │ ├── self-cognition-sft.ipynb │ │ │ └── sft.sh │ │ ├── qwen2_5-vl-grounding │ │ │ └── zh.ipynb │ │ └── qwen2vl-ocr │ │ │ ├── infer.ipynb │ │ │ └── ocr-sft.ipynb │ ├── sampler │ │ ├── distill │ │ │ └── distill.sh │ │ └── mcts │ │ │ ├── mcts.py │ │ │ ├── mcts.sh │ │ │ └── system_prompt.txt │ └── train │ │ ├── agent │ │ ├── deepseek_r1.sh │ │ ├── glm4.sh │ │ ├── loss_scale │ │ │ ├── infer_lora.py │ │ │ └── train.sh │ │ └── qwen2_5.sh │ │ ├── all_to_all │ │ ├── infer.sh │ │ └── train.sh │ │ ├── base_to_chat │ │ ├── full.sh │ │ ├── lora.sh │ │ └── lora2.sh │ │ ├── embedding │ │ ├── train_gme.sh │ │ └── train_gte.sh │ │ ├── full │ │ ├── infer.sh │ │ ├── qwen2_5_32b.sh │ │ └── train.sh │ │ ├── grpo │ │ ├── external │ │ │ ├── README.md │ │ │ └── grpo.sh │ │ ├── internal │ │ │ ├── README.md │ │ │ ├── full_lmdeploy.sh │ │ │ ├── full_vllm.sh │ │ │ ├── full_vllm_qwenvl.sh │ │ │ ├── grpo.sh │ │ │ ├── lora_qwenvl72b.sh │ │ │ ├── lora_vllm.sh │ │ │ ├── multi_gpu_agent.sh │ │ │ ├── multi_gpu_mp_colocate.sh │ │ │ ├── train_72b_4gpu.sh │ │ │ └── train_multi_round.sh │ │ ├── multi_node │ │ │ ├── Qwen2_5_32B_full.sh │ │ │ ├── multi_node1.sh │ │ │ ├── multi_node2.sh │ │ │ └── train_dlc.sh │ │ ├── plugin │ │ │ ├── plugin.py │ │ │ └── run_external_rm.sh │ │ ├── prompt.txt │ │ └── qwen2_5_omni │ │ │ ├── grpo.sh │ │ │ └── infer.sh │ │ ├── infer.sh │ │ ├── lazy_tokenize │ │ └── train.sh │ │ ├── liger │ │ └── sft.sh │ │ ├── long_text │ │ ├── liger_kernel.sh │ │ ├── sequence_parallel.sh │ │ └── sequence_parallel_dpo.sh │ │ ├── lora_sft.sh │ │ ├── megatron │ │ ├── base_to_chat.sh │ │ ├── benchmark │ │ │ └── deepspeed.sh │ │ ├── long_text.sh │ │ ├── moe.sh │ │ ├── multi-node │ │ │ ├── node1.sh │ │ │ └── node2.sh │ │ ├── pretrain.sh │ │ ├── qwen3_32b.sh │ │ ├── qwen3_moe.sh │ │ └── sft.sh │ │ ├── moe │ │ ├── llama4.sh │ │ └── qwen2_5_moe.sh │ │ ├── multi-gpu │ │ ├── ddp │ │ │ └── train.sh │ │ ├── ddp_device_map │ │ │ └── train.sh │ │ ├── deepspeed │ │ │ ├── train_zero2.sh │ │ │ └── train_zero3.sh │ │ ├── device_map │ │ │ └── train.sh │ │ └── fsdp_qlora │ │ │ ├── fsdp_offload.json │ │ │ └── train.sh │ │ ├── multi-node │ │ ├── accelerate │ │ │ ├── multi_node.yaml │ │ │ ├── train_node1.sh │ │ │ └── train_node2.sh │ │ ├── deepspeed │ │ │ ├── README.md │ │ │ ├── host.txt │ │ │ └── train.sh │ │ ├── dlc │ │ │ └── train.sh │ │ ├── swift │ │ │ ├── train_node1.sh │ │ │ └── train_node2.sh │ │ └── torchrun │ │ │ ├── train_node1.sh │ │ │ └── train_node2.sh │ │ ├── multimodal │ │ ├── audio.sh │ │ ├── caption.sh │ │ ├── grounding.sh │ │ ├── infer.sh │ │ ├── lora_llm_full_vit │ │ │ ├── custom_plugin.py │ │ │ ├── infer.sh │ │ │ ├── merge_lora.sh │ │ │ └── sft.sh │ │ ├── ocr.sh │ │ ├── omni │ │ │ ├── infer.sh │ │ │ └── sft.sh │ │ ├── rlhf │ │ │ ├── dpo.sh │ │ │ └── kto.sh │ │ └── video.sh │ │ ├── optimizer │ │ └── muon.sh │ │ ├── packing │ │ ├── llm.sh │ │ ├── qwen2_5_omni.sh │ │ ├── qwen2_5_vl.sh │ │ └── streaming.sh │ │ ├── plugins │ │ ├── loss_scale.sh │ │ └── tuner_phi4_mm.sh │ │ ├── predict_with_generate │ │ └── train.sh │ │ ├── pretrain │ │ └── train.sh │ │ ├── qlora │ │ ├── awq.sh │ │ ├── bnb.sh │ │ ├── gptq.sh │ │ └── hqq.sh │ │ ├── rft │ │ ├── math.json │ │ └── rft.py │ │ ├── rlhf │ │ ├── README.md │ │ ├── cpo.sh │ │ ├── dpo │ │ │ ├── full.sh │ │ │ └── lora.sh │ │ ├── kto.sh │ │ ├── orpo.sh │ │ ├── ppo.sh │ │ ├── rm.sh │ │ └── simpo.sh │ │ ├── seq_cls │ │ ├── bert │ │ │ ├── deploy.sh │ │ │ ├── infer.sh │ │ │ └── sft.sh │ │ ├── multi_label │ │ │ └── sft.sh │ │ ├── qwen2_5 │ │ │ ├── deploy.sh │ │ │ ├── infer.sh │ │ │ └── sft.sh │ │ ├── qwen2_vl │ │ │ ├── infer.sh │ │ │ └── sft.sh │ │ └── regression │ │ │ ├── deploy.sh │ │ │ ├── infer.sh │ │ │ └── sft.sh │ │ ├── streaming │ │ └── train.sh │ │ ├── think_model │ │ ├── qwen3_demo1.sh │ │ └── qwen3_demo2.sh │ │ └── tuners │ │ ├── adalora │ │ └── train.sh │ │ ├── adapter │ │ └── train.sh │ │ ├── boft │ │ └── train.sh │ │ ├── bone │ │ └── train.sh │ │ ├── dora │ │ └── train.sh │ │ ├── galore │ │ ├── train_galore.sh │ │ └── train_qgalore.sh │ │ ├── lisa │ │ └── train.sh │ │ ├── llamapro │ │ └── train.sh │ │ ├── longlora │ │ └── train.sh │ │ ├── lora-ga │ │ └── train.sh │ │ ├── lora │ │ └── train.sh │ │ ├── neftune │ │ └── train.sh │ │ ├── olora │ │ └── train.sh │ │ ├── pissa │ │ └── train.sh │ │ ├── qlora │ │ └── train.sh │ │ ├── reft │ │ └── train.sh │ │ └── unsloth │ │ └── train.sh ├── my_requirements.txt ├── requirements.txt ├── requirements │ ├── docs.txt │ ├── eval.txt │ ├── framework.txt │ ├── install_all.sh │ ├── seq_parallel.txt │ ├── swanlab.txt │ └── tests.txt ├── scripts │ ├── benchmark │ │ ├── config │ │ │ └── tuner.json │ │ ├── exp.py │ │ ├── exp_utils.py │ │ └── generate_report.py │ └── utils │ │ ├── plot_loss.py │ │ ├── run_dataset_info.py │ │ ├── run_model_info.py │ │ └── run_template.py ├── setup.cfg ├── setup.py ├── swift │ ├── __init__.py │ ├── cli │ │ ├── __init__.py │ │ ├── _megatron │ │ │ ├── __init__.py │ │ │ ├── main.py │ │ │ ├── pt.py │ │ │ └── sft.py │ │ ├── app.py │ │ ├── deploy.py │ │ ├── eval.py │ │ ├── export.py │ │ ├── infer.py │ │ ├── main.py │ │ ├── merge_lora.py │ │ ├── pt.py │ │ ├── rlhf.py │ │ ├── rollout.py │ │ ├── sample.py │ │ ├── sft.py │ │ └── web_ui.py │ ├── hub │ │ ├── __init__.py │ │ ├── constant.py │ │ └── hub.py │ ├── llm │ │ ├── __init__.py │ │ ├── app │ │ │ ├── __init__.py │ │ │ ├── app.py │ │ │ ├── build_ui.py │ │ │ └── locale.py │ │ ├── argument │ │ │ ├── __init__.py │ │ │ ├── app_args.py │ │ │ ├── base_args │ │ │ │ ├── __init__.py │ │ │ │ ├── base_args.py │ │ │ │ ├── data_args.py │ │ │ │ ├── generation_args.py │ │ │ │ ├── model_args.py │ │ │ │ ├── quant_args.py │ │ │ │ ├── template_args.py │ │ │ │ └── utils.py │ │ │ ├── deploy_args.py │ │ │ ├── eval_args.py │ │ │ ├── export_args.py │ │ │ ├── infer_args.py │ │ │ ├── merge_args.py │ │ │ ├── rlhf_args.py │ │ │ ├── sampling_args.py │ │ │ ├── train_args.py │ │ │ ├── tuner_args.py │ │ │ └── webui_args.py │ │ ├── base.py │ │ ├── data_loader.py │ │ ├── dataset │ │ │ ├── __init__.py │ │ │ ├── data │ │ │ │ └── dataset_info.json │ │ │ ├── dataset │ │ │ │ ├── __init__.py │ │ │ │ ├── llm.py │ │ │ │ └── mllm.py │ │ │ ├── loader.py │ │ │ ├── media.py │ │ │ ├── preprocessor │ │ │ │ ├── __init__.py │ │ │ │ ├── core.py │ │ │ │ └── extra.py │ │ │ ├── register.py │ │ │ └── utils.py │ │ ├── ds_config │ │ │ ├── zero0.json │ │ │ ├── zero1.json │ │ │ ├── zero2.json │ │ │ ├── zero2_offload.json │ │ │ ├── zero3.json │ │ │ └── zero3_offload.json │ │ ├── eval │ │ │ ├── __init__.py │ │ │ ├── eval.py │ │ │ └── utils.py │ │ ├── export │ │ │ ├── __init__.py │ │ │ ├── export.py │ │ │ ├── merge_lora.py │ │ │ ├── ollama.py │ │ │ └── quant.py │ │ ├── infer │ │ │ ├── __init__.py │ │ │ ├── deploy.py │ │ │ ├── infer.py │ │ │ ├── infer_engine │ │ │ │ ├── __init__.py │ │ │ │ ├── base.py │ │ │ │ ├── grpo_vllm_engine.py │ │ │ │ ├── infer_client.py │ │ │ │ ├── infer_engine.py │ │ │ │ ├── lmdeploy_engine.py │ │ │ │ ├── patch.py │ │ │ │ ├── pt_engine.py │ │ │ │ ├── utils.py │ │ │ │ └── vllm_engine.py │ │ │ ├── protocol.py │ │ │ ├── rollout.py │ │ │ └── utils.py │ │ ├── model │ │ │ ├── __init__.py │ │ │ ├── constant.py │ │ │ ├── model │ │ │ │ ├── __init__.py │ │ │ │ ├── baai.py │ │ │ │ ├── baichuan.py │ │ │ │ ├── bert.py │ │ │ │ ├── codefuse.py │ │ │ │ ├── deepseek.py │ │ │ │ ├── gemma.py │ │ │ │ ├── glm.py │ │ │ │ ├── internlm.py │ │ │ │ ├── llama.py │ │ │ │ ├── llava.py │ │ │ │ ├── llm.py │ │ │ │ ├── mamba.py │ │ │ │ ├── microsoft.py │ │ │ │ ├── minicpm.py │ │ │ │ ├── minimax.py │ │ │ │ ├── mistral.py │ │ │ │ ├── mllm.py │ │ │ │ ├── moonshot.py │ │ │ │ ├── mplug.py │ │ │ │ ├── openbuddy.py │ │ │ │ ├── qwen.py │ │ │ │ ├── skywork.py │ │ │ │ ├── stepfun.py │ │ │ │ ├── telechat.py │ │ │ │ ├── valley.py │ │ │ │ └── yi.py │ │ │ ├── model_arch.py │ │ │ ├── patcher.py │ │ │ ├── register.py │ │ │ └── utils.py │ │ ├── sampling │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── distill_sampler.py │ │ │ ├── mcts.py │ │ │ ├── sampling.py │ │ │ ├── utils.py │ │ │ └── vanilla_sampler.py │ │ ├── template │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── constant.py │ │ │ ├── grounding.py │ │ │ ├── register.py │ │ │ ├── template │ │ │ │ ├── __init__.py │ │ │ │ ├── deepseek.py │ │ │ │ ├── emu3.py │ │ │ │ ├── gemma.py │ │ │ │ ├── glm.py │ │ │ │ ├── idefics3.py │ │ │ │ ├── internlm.py │ │ │ │ ├── internvl.py │ │ │ │ ├── llama.py │ │ │ │ ├── llava.py │ │ │ │ ├── llm.py │ │ │ │ ├── megrez.py │ │ │ │ ├── microsoft.py │ │ │ │ ├── minicpm.py │ │ │ │ ├── minimax.py │ │ │ │ ├── mistral.py │ │ │ │ ├── molmo.py │ │ │ │ ├── moonshot.py │ │ │ │ ├── mplug.py │ │ │ │ ├── openbuddy.py │ │ │ │ ├── pixtral.py │ │ │ │ ├── qwen.py │ │ │ │ ├── stepfun.py │ │ │ │ ├── utils.py │ │ │ │ ├── valley.py │ │ │ │ └── yi.py │ │ │ ├── template_inputs.py │ │ │ ├── template_meta.py │ │ │ ├── utils.py │ │ │ └── vision_utils.py │ │ ├── train │ │ │ ├── __init__.py │ │ │ ├── callback.py │ │ │ ├── kto.py │ │ │ ├── pt.py │ │ │ ├── rlhf.py │ │ │ ├── sft.py │ │ │ └── tuner.py │ │ └── utils.py │ ├── megatron │ │ ├── __init__.py │ │ ├── argument │ │ │ ├── __init__.py │ │ │ ├── megatron_args.py │ │ │ └── train_args.py │ │ ├── init.py │ │ ├── model │ │ │ ├── __init__.py │ │ │ ├── config.py │ │ │ ├── constant.py │ │ │ ├── gpt │ │ │ │ ├── __init__.py │ │ │ │ ├── config.py │ │ │ │ ├── hf2mcore.py │ │ │ │ ├── mcore2hf.py │ │ │ │ └── model.py │ │ │ ├── register.py │ │ │ └── rope.py │ │ ├── train │ │ │ ├── __init__.py │ │ │ ├── patcher.py │ │ │ ├── pt.py │ │ │ ├── sft.py │ │ │ └── utils.py │ │ └── utils │ │ │ ├── __init__.py │ │ │ ├── convert.py │ │ │ └── patcher.py │ ├── plugin │ │ ├── __init__.py │ │ ├── agent_template │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── extra.py │ │ │ ├── glm4.py │ │ │ ├── hermes.py │ │ │ ├── llama.py │ │ │ ├── qwen.py │ │ │ ├── react.py │ │ │ └── toolbench.py │ │ ├── callback.py │ │ ├── loss.py │ │ ├── loss_scale │ │ │ ├── __init__.py │ │ │ ├── config │ │ │ │ ├── agentflan.json │ │ │ │ ├── alpha_umi.json │ │ │ │ ├── hermes.json │ │ │ │ ├── ignore_empty_think.json │ │ │ │ ├── qwen.json │ │ │ │ └── react.json │ │ │ ├── loss_scale.py │ │ │ └── utils.py │ │ ├── metric.py │ │ ├── multi_turn.py │ │ ├── optimizer.py │ │ ├── orm.py │ │ ├── prm.py │ │ ├── rm_plugin.py │ │ └── tuner.py │ ├── trainers │ │ ├── __init__.py │ │ ├── arguments.py │ │ ├── callback.py │ │ ├── mixin.py │ │ ├── optimizers │ │ │ ├── __init__.py │ │ │ └── galore │ │ │ │ ├── __init__.py │ │ │ │ ├── adafactor.py │ │ │ │ ├── adamw.py │ │ │ │ ├── adamw8bit.py │ │ │ │ ├── galore_projector.py │ │ │ │ └── utils.py │ │ ├── rlhf_arguments.py │ │ ├── rlhf_trainer │ │ │ ├── __init__.py │ │ │ ├── cpo_trainer.py │ │ │ ├── dpo_trainer.py │ │ │ ├── grpo_trainer.py │ │ │ ├── kto_trainer.py │ │ │ ├── orpo_trainer.py │ │ │ ├── ppo_trainer.py │ │ │ ├── reward_trainer.py │ │ │ ├── rlhf_mixin.py │ │ │ ├── utils.py │ │ │ └── vllm_client.py │ │ ├── sequence_parallel │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── ulysses.py │ │ │ └── xtuner.py │ │ ├── torchacc_mixin.py │ │ ├── trainer_factory.py │ │ ├── trainers.py │ │ └── utils.py │ ├── tuners │ │ ├── __init__.py │ │ ├── adapter.py │ │ ├── base.py │ │ ├── llamapro.py │ │ ├── longlora │ │ │ ├── __init__.py │ │ │ ├── llama.py │ │ │ └── longlora.py │ │ ├── lora.py │ │ ├── lora_layers.py │ │ ├── mapping.py │ │ ├── neftune.py │ │ ├── part.py │ │ ├── peft.py │ │ ├── prompt.py │ │ ├── reft.py │ │ ├── restuning.py │ │ ├── restuning_components.py │ │ ├── scetuning │ │ │ ├── __init__.py │ │ │ ├── scetuning.py │ │ │ └── scetuning_components.py │ │ ├── side.py │ │ └── utils.py │ ├── ui │ │ ├── __init__.py │ │ ├── app.py │ │ ├── base.py │ │ ├── llm_eval │ │ │ ├── __init__.py │ │ │ ├── eval.py │ │ │ ├── llm_eval.py │ │ │ ├── model.py │ │ │ └── runtime.py │ │ ├── llm_export │ │ │ ├── __init__.py │ │ │ ├── export.py │ │ │ ├── llm_export.py │ │ │ ├── model.py │ │ │ └── runtime.py │ │ ├── llm_infer │ │ │ ├── __init__.py │ │ │ ├── generate.py │ │ │ ├── llm_infer.py │ │ │ ├── model.py │ │ │ └── runtime.py │ │ └── llm_train │ │ │ ├── __init__.py │ │ │ ├── advanced.py │ │ │ ├── dataset.py │ │ │ ├── galore.py │ │ │ ├── hyper.py │ │ │ ├── lisa.py │ │ │ ├── llamapro.py │ │ │ ├── llm_train.py │ │ │ ├── lora.py │ │ │ ├── model.py │ │ │ ├── quantization.py │ │ │ ├── report_to.py │ │ │ ├── rlhf.py │ │ │ ├── runtime.py │ │ │ ├── save.py │ │ │ ├── self_cog.py │ │ │ └── utils.py │ ├── utils │ │ ├── __init__.py │ │ ├── constants.py │ │ ├── env.py │ │ ├── import_utils.py │ │ ├── io_utils.py │ │ ├── logger.py │ │ ├── np_utils.py │ │ ├── tb_utils.py │ │ ├── torch_utils.py │ │ ├── torchacc_utils.py │ │ └── utils.py │ └── version.py └── tests │ ├── __init__.py │ ├── app │ └── test_app.py │ ├── deploy │ ├── test_dataset.py │ └── test_logprobs.py │ ├── eval │ └── test_eval.py │ ├── export │ └── test_quant.py │ ├── general │ ├── test_arch.py │ ├── test_dataset.py │ ├── test_model.py │ ├── test_stream.py │ └── test_template.py │ ├── hub │ ├── __init__.py │ └── test_check_model.py │ ├── infer │ ├── test_agent.py │ ├── test_infer.py │ ├── test_logprobs.py │ ├── test_main.py │ ├── test_max_memory.py │ └── test_mllm.py │ ├── llm │ ├── __init__.py │ ├── config │ │ ├── infer.json │ │ └── sft.json │ ├── data │ │ ├── alpaca.csv │ │ ├── alpaca.jsonl │ │ ├── alpaca2.csv │ │ ├── chatml.jsonl │ │ ├── conversations.jsonl │ │ ├── multi_modal_1.jsonl │ │ ├── multi_modal_2.jsonl │ │ ├── multi_modal_3.jsonl │ │ ├── sharegpt.jsonl │ │ ├── swift_multi.json │ │ ├── swift_multi.jsonl │ │ ├── swift_pre.csv │ │ ├── swift_pre.jsonl │ │ ├── swift_single.csv │ │ └── swift_single.jsonl │ ├── load_model.py │ ├── load_template.py │ ├── test_custom.py │ ├── test_dataset.py │ ├── test_ollama_export.py │ ├── test_run.py │ ├── test_run3.py │ ├── test_template.py │ └── test_utils.py │ ├── megatron │ ├── test_align │ │ └── test_llm.py │ ├── test_export.py │ ├── test_model.py │ ├── test_save.py │ └── test_train.py │ ├── model_tag.py │ ├── models │ ├── test_flash_attn.py │ ├── test_llm.py │ └── test_mllm.py │ ├── run.py │ ├── run_config.yaml │ ├── sample │ └── test_client.py │ ├── test_align │ ├── test_cls.py │ ├── test_lmdeploy_vlm.py │ ├── test_padding_side.py │ ├── test_rlhf_loss.py │ ├── test_template │ │ ├── test_agent.py │ │ ├── test_audio.py │ │ ├── test_gene.py │ │ ├── test_llm.py │ │ ├── test_template.py │ │ ├── test_tool.py │ │ ├── test_video.py │ │ └── test_vision.py │ └── test_vllm_vlm.py │ ├── test_utils.py │ ├── train │ ├── test_cls.py │ ├── test_freeze.py │ ├── test_grounding.py │ ├── test_grpo.py │ ├── test_kto.py │ ├── test_liger.py │ ├── test_multilabel.py │ ├── test_packing.py │ ├── test_ppo.py │ ├── test_pt.py │ ├── test_rlhf.py │ ├── test_sample.py │ ├── test_sft.py │ └── test_train_eval.py │ ├── tuners │ ├── __init__.py │ ├── test_extra_state_dict.py │ ├── test_merged_linear.py │ ├── test_neft.py │ ├── test_peft.py │ ├── test_scetuning.py │ ├── test_swift_base.py │ ├── test_swift_device_map.py │ └── test_swift_restuning.py │ └── utils │ ├── __init__.py │ ├── test_file_utils.py │ ├── test_io_utils.py │ ├── test_split_str_parts_by.py │ └── test_torch_utils.py ├── prompts ├── generate_candidate_solutions.py └── generate_teacher_critique.py ├── tools ├── prepare_data.sh └── setup_env.sh └── train ├── Validation ├── start_validate.sh ├── validate_single.sh └── validation.py ├── train_on_logic_reasoning.sh └── train_on_math_reasoning.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/README.md -------------------------------------------------------------------------------- /eval/Logic_Reasoning_Evaluation/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Logic_Reasoning_Evaluation/evaluate.py -------------------------------------------------------------------------------- /eval/Logic_Reasoning_Evaluation/mini/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Logic_Reasoning_Evaluation/mini/data.json -------------------------------------------------------------------------------- /eval/Logic_Reasoning_Evaluation/run_evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Logic_Reasoning_Evaluation/run_evaluate.py -------------------------------------------------------------------------------- /eval/Logic_Reasoning_Evaluation/run_evaluation.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Logic_Reasoning_Evaluation/run_evaluation.sh -------------------------------------------------------------------------------- /eval/Logic_Reasoning_Evaluation/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Logic_Reasoning_Evaluation/utils.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/LICENSE -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/README.md -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/aime24/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/aime24/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/aime25/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/aime25/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/amc23/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/amc23/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/gsm8k/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/gsm8k/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/gsm8k/train.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/gsm8k/train.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/math-500/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/math-500/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/math/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/math/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/math/train.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/math/train.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/minerva_math/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/minerva_math/README.md -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/theoremqa/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/theoremqa/test.json -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data/theoremqa/test.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data/theoremqa/test.jsonl -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/data_loader.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/evaluate.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/examples.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/grader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/grader.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/.coveragerc -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/.gitignore -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/LICENSE.txt -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/PS.g4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/PS.g4 -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/README.md -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/__init__.py: -------------------------------------------------------------------------------- 1 | import latex2sympy -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/description.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/description.txt -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/gen/PS.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/gen/PS.interp -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/gen/PS.tokens: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/gen/PS.tokens -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/gen/PSLexer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/gen/PSLexer.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/gen/PSParser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/gen/PSParser.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/gen/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/icon.png -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/latex2sympy2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/latex2sympy2.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/requirements.in: -------------------------------------------------------------------------------- 1 | sympy 2 | antlr4-python3-runtime 3 | -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/scripts/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/scripts/test.sh -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/setup.cfg: -------------------------------------------------------------------------------- 1 | [pycodestyle] 2 | max-line-length = 120 3 | ignore = E501 4 | -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/latex2sympy/setup.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/latex2sympy/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/math_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/math_eval.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/math_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/math_utils.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/model_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/model_utils.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/parser.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/python_executor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/python_executor.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/register_mimo_in_vllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/register_mimo_in_vllm.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/requirements.txt -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/rm_maj_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/rm_maj_eval.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/sample_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/sample_validation.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/scripts/evaluate_llama.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/scripts/evaluate_llama.sh -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/scripts/evaluate_qwen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/scripts/evaluate_qwen.sh -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/trajectory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/trajectory.py -------------------------------------------------------------------------------- /eval/Math_Reasoning_Evaluation/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/Math_Reasoning_Evaluation/utils.py -------------------------------------------------------------------------------- /eval/eval_on_logic_reasoning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/eval_on_logic_reasoning.sh -------------------------------------------------------------------------------- /eval/eval_on_math_reasoning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/eval/eval_on_math_reasoning.sh -------------------------------------------------------------------------------- /ms-swift/.dev_scripts/build_docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.dev_scripts/build_docs.sh -------------------------------------------------------------------------------- /ms-swift/.dev_scripts/ci_container_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.dev_scripts/ci_container_test.sh -------------------------------------------------------------------------------- /ms-swift/.dev_scripts/dockerci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.dev_scripts/dockerci.sh -------------------------------------------------------------------------------- /ms-swift/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.gitignore -------------------------------------------------------------------------------- /ms-swift/.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.pre-commit-config.yaml -------------------------------------------------------------------------------- /ms-swift/.pre-commit-config_local.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/.pre-commit-config_local.yaml -------------------------------------------------------------------------------- /ms-swift/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /ms-swift/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/CONTRIBUTING.md -------------------------------------------------------------------------------- /ms-swift/CONTRIBUTING_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/CONTRIBUTING_CN.md -------------------------------------------------------------------------------- /ms-swift/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/LICENSE -------------------------------------------------------------------------------- /ms-swift/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/MANIFEST.in -------------------------------------------------------------------------------- /ms-swift/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/Makefile -------------------------------------------------------------------------------- /ms-swift/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/README.md -------------------------------------------------------------------------------- /ms-swift/README_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/README_CN.md -------------------------------------------------------------------------------- /ms-swift/asset/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/asset/banner.png -------------------------------------------------------------------------------- /ms-swift/asset/discord_qr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/asset/discord_qr.jpg -------------------------------------------------------------------------------- /ms-swift/asset/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/asset/wechat.png -------------------------------------------------------------------------------- /ms-swift/docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/Makefile -------------------------------------------------------------------------------- /ms-swift/docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/README.md -------------------------------------------------------------------------------- /ms-swift/docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/make.bat -------------------------------------------------------------------------------- /ms-swift/docs/resources/dpo_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/dpo_data.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_clevr_count.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_clevr_count.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_code.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_countdown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_countdown.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_countdown_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_countdown_1.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_geoqa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_geoqa.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/grpo_openr1_multimodal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/grpo_openr1_multimodal.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/kto_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/kto_data.png -------------------------------------------------------------------------------- /ms-swift/docs/resources/web-ui-en.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/web-ui-en.jpg -------------------------------------------------------------------------------- /ms-swift/docs/resources/web-ui.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/resources/web-ui.jpg -------------------------------------------------------------------------------- /ms-swift/docs/source/.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/.readthedocs.yaml -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/Embedding训练.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/Embedding训练.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/GRPO代码训练.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/GRPO代码训练.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/GRPO多模态训练.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/GRPO多模态训练.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/GRPO完整流程.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/GRPO完整流程.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/NPU支持.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/NPU支持.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/快速训练VL模型.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/快速训练VL模型.md -------------------------------------------------------------------------------- /ms-swift/docs/source/BestPractices/更多最佳实践.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/BestPractices/更多最佳实践.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Customization/插件化.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Customization/插件化.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Customization/自定义数据集.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Customization/自定义数据集.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Customization/自定义模型.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Customization/自定义模型.md -------------------------------------------------------------------------------- /ms-swift/docs/source/GetStarted/SWIFT安装.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/GetStarted/SWIFT安装.md -------------------------------------------------------------------------------- /ms-swift/docs/source/GetStarted/Web-UI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/GetStarted/Web-UI.md -------------------------------------------------------------------------------- /ms-swift/docs/source/GetStarted/快速开始.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/GetStarted/快速开始.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/Agent支持.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/Agent支持.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/GRPO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/GRPO.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/Megatron-SWIFT训练.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/Megatron-SWIFT训练.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/ReleaseNote3.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/ReleaseNote3.0.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/人类对齐.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/人类对齐.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/使用tuners.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/使用tuners.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/命令行参数.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/命令行参数.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/导出与推送.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/导出与推送.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/常见问题整理.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/常见问题整理.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/强化微调.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/强化微调.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/推理和部署.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/推理和部署.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/支持的模型和数据集.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/支持的模型和数据集.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/评测.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/评测.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/采样.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/采样.md -------------------------------------------------------------------------------- /ms-swift/docs/source/Instruction/预训练与微调.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/Instruction/预训练与微调.md -------------------------------------------------------------------------------- /ms-swift/docs/source/_templates/autosummary/class.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/_templates/autosummary/class.rst -------------------------------------------------------------------------------- /ms-swift/docs/source/_templates/classtemplate.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/_templates/classtemplate.rst -------------------------------------------------------------------------------- /ms-swift/docs/source/_templates/sobolengine.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/_templates/sobolengine.rst -------------------------------------------------------------------------------- /ms-swift/docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/conf.py -------------------------------------------------------------------------------- /ms-swift/docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source/index.rst -------------------------------------------------------------------------------- /ms-swift/docs/source_en/.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/.readthedocs.yaml -------------------------------------------------------------------------------- /ms-swift/docs/source_en/BestPractices/Embedding.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/BestPractices/Embedding.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/BestPractices/GRPO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/BestPractices/GRPO.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/BestPractices/NPU-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/BestPractices/NPU-support.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Customization/Custom-dataset.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Customization/Custom-dataset.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Customization/Custom-model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Customization/Custom-model.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Customization/Pluginization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Customization/Pluginization.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/GetStarted/Quick-start.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/GetStarted/Quick-start.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/GetStarted/SWIFT-installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/GetStarted/SWIFT-installation.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/GetStarted/Web-UI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/GetStarted/Web-UI.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/Agent-support.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/Agent-support.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/Evaluation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/Evaluation.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/Export-and-push.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/Export-and-push.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/GRPO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/GRPO.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/RLHF.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/RLHF.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/ReleaseNote3.0.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/ReleaseNote3.0.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/Sample.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/Sample.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/Instruction/Use-tuners.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/Instruction/Use-tuners.md -------------------------------------------------------------------------------- /ms-swift/docs/source_en/_templates/autosummary/class.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/_templates/autosummary/class.rst -------------------------------------------------------------------------------- /ms-swift/docs/source_en/_templates/classtemplate.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/_templates/classtemplate.rst -------------------------------------------------------------------------------- /ms-swift/docs/source_en/_templates/sobolengine.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/_templates/sobolengine.rst -------------------------------------------------------------------------------- /ms-swift/docs/source_en/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/conf.py -------------------------------------------------------------------------------- /ms-swift/docs/source_en/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/docs/source_en/index.rst -------------------------------------------------------------------------------- /ms-swift/examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/README.md -------------------------------------------------------------------------------- /ms-swift/examples/app/base_url/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/app/base_url/demo.py -------------------------------------------------------------------------------- /ms-swift/examples/app/base_url/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/app/base_url/demo.sh -------------------------------------------------------------------------------- /ms-swift/examples/app/llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/app/llm.sh -------------------------------------------------------------------------------- /ms-swift/examples/app/mllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/app/mllm.sh -------------------------------------------------------------------------------- /ms-swift/examples/custom/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/custom/dataset.py -------------------------------------------------------------------------------- /ms-swift/examples/custom/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/custom/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/custom/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/custom/model.py -------------------------------------------------------------------------------- /ms-swift/examples/custom/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/custom/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/deploy/agent/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/agent/client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/agent/server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/agent/server.sh -------------------------------------------------------------------------------- /ms-swift/examples/deploy/bert/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/bert/client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/bert/server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/bert/server.sh -------------------------------------------------------------------------------- /ms-swift/examples/deploy/client/llm/base/swift_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/client/llm/base/swift_client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/client/llm/chat/swift_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/client/llm/chat/swift_client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/client/mllm/openai_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/client/mllm/openai_client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/client/mllm/swift_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/client/mllm/swift_client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/lora/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/lora/client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/lora/server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/lora/server.sh -------------------------------------------------------------------------------- /ms-swift/examples/deploy/reward_model/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/reward_model/client.py -------------------------------------------------------------------------------- /ms-swift/examples/deploy/reward_model/server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/reward_model/server.sh -------------------------------------------------------------------------------- /ms-swift/examples/deploy/server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/server/README.md -------------------------------------------------------------------------------- /ms-swift/examples/deploy/server/demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/deploy/server/demo.sh -------------------------------------------------------------------------------- /ms-swift/examples/eval/eval_url/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/eval/eval_url/demo.py -------------------------------------------------------------------------------- /ms-swift/examples/eval/eval_url/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/eval/eval_url/eval.sh -------------------------------------------------------------------------------- /ms-swift/examples/eval/llm/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/eval/llm/eval.sh -------------------------------------------------------------------------------- /ms-swift/examples/eval/train_eval/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/eval/train_eval/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/eval/vlm/eval.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/eval/vlm/eval.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/merge_lora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/merge_lora.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/ollama.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/ollama.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/push_to_hub.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/push_to_hub.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/awq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/awq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/bert/bnb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/bert/bnb.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/bert/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/bert/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/bnb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/bnb.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/mllm/awq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/mllm/awq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/mllm/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/mllm/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/moe/awq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/moe/awq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/moe/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/moe/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/omni/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/omni/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/reward_model/bnb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/reward_model/bnb.sh -------------------------------------------------------------------------------- /ms-swift/examples/export/quantize/reward_model/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/export/quantize/reward_model/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/cli_demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/cli_demo.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_agent.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_bert.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_grounding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_grounding.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_hf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_hf.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_lora.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_mllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_mllm.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/demo_reward_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/demo_reward_model.py -------------------------------------------------------------------------------- /ms-swift/examples/infer/lmdeploy/ddp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/lmdeploy/ddp.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/lmdeploy/mllm_tp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/lmdeploy/mllm_tp.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/batch_ddp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/batch_ddp.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/bert.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/bert.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/lora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/lora.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/mllm_device_map.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/mllm_device_map.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/prm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/prm.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/pt/reward_model.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/pt/reward_model.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/vllm/ddp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/vllm/ddp.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/vllm/mllm_ddp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/vllm/mllm_ddp.sh -------------------------------------------------------------------------------- /ms-swift/examples/infer/vllm/mllm_tp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/infer/vllm/mllm_tp.sh -------------------------------------------------------------------------------- /ms-swift/examples/notebook/qwen2_5-self-cognition/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/notebook/qwen2_5-self-cognition/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/notebook/qwen2_5-vl-grounding/zh.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/notebook/qwen2_5-vl-grounding/zh.ipynb -------------------------------------------------------------------------------- /ms-swift/examples/notebook/qwen2vl-ocr/infer.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/notebook/qwen2vl-ocr/infer.ipynb -------------------------------------------------------------------------------- /ms-swift/examples/notebook/qwen2vl-ocr/ocr-sft.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/notebook/qwen2vl-ocr/ocr-sft.ipynb -------------------------------------------------------------------------------- /ms-swift/examples/sampler/distill/distill.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/sampler/distill/distill.sh -------------------------------------------------------------------------------- /ms-swift/examples/sampler/mcts/mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/sampler/mcts/mcts.py -------------------------------------------------------------------------------- /ms-swift/examples/sampler/mcts/mcts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/sampler/mcts/mcts.sh -------------------------------------------------------------------------------- /ms-swift/examples/sampler/mcts/system_prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/sampler/mcts/system_prompt.txt -------------------------------------------------------------------------------- /ms-swift/examples/train/agent/deepseek_r1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/agent/deepseek_r1.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/agent/glm4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/agent/glm4.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/agent/loss_scale/infer_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/agent/loss_scale/infer_lora.py -------------------------------------------------------------------------------- /ms-swift/examples/train/agent/loss_scale/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/agent/loss_scale/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/agent/qwen2_5.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/agent/qwen2_5.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/all_to_all/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/all_to_all/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/all_to_all/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/all_to_all/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/base_to_chat/full.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/base_to_chat/full.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/base_to_chat/lora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/base_to_chat/lora.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/base_to_chat/lora2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/base_to_chat/lora2.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/embedding/train_gme.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/embedding/train_gme.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/embedding/train_gte.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/embedding/train_gte.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/full/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/full/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/full/qwen2_5_32b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/full/qwen2_5_32b.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/full/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/full/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/external/README.md -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/external/grpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/external/grpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/README.md -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/full_lmdeploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/full_lmdeploy.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/full_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/full_vllm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/grpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/grpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/lora_qwenvl72b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/lora_qwenvl72b.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/lora_vllm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/lora_vllm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/multi_gpu_agent.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/multi_gpu_agent.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/internal/train_72b_4gpu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/internal/train_72b_4gpu.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/multi_node/multi_node1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/multi_node/multi_node1.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/multi_node/multi_node2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/multi_node/multi_node2.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/multi_node/train_dlc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/multi_node/train_dlc.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/plugin/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/plugin/plugin.py -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/plugin/run_external_rm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/plugin/run_external_rm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/prompt.txt -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/qwen2_5_omni/grpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/qwen2_5_omni/grpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/grpo/qwen2_5_omni/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/grpo/qwen2_5_omni/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/lazy_tokenize/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/lazy_tokenize/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/liger/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/liger/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/long_text/liger_kernel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/long_text/liger_kernel.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/long_text/sequence_parallel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/long_text/sequence_parallel.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/lora_sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/lora_sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/base_to_chat.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/base_to_chat.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/benchmark/deepspeed.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/benchmark/deepspeed.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/long_text.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/long_text.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/moe.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/moe.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/multi-node/node1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/multi-node/node1.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/multi-node/node2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/multi-node/node2.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/pretrain.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/qwen3_32b.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/qwen3_32b.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/qwen3_moe.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/qwen3_moe.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/megatron/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/megatron/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/moe/llama4.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/moe/llama4.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/moe/qwen2_5_moe.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/moe/qwen2_5_moe.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-gpu/ddp/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-gpu/ddp/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-gpu/device_map/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-gpu/device_map/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-gpu/fsdp_qlora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-gpu/fsdp_qlora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/deepspeed/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/deepspeed/README.md -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/deepspeed/host.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/deepspeed/host.txt -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/deepspeed/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/deepspeed/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/dlc/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/dlc/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/swift/train_node1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/swift/train_node1.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multi-node/swift/train_node2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multi-node/swift/train_node2.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/audio.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/audio.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/caption.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/caption.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/grounding.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/grounding.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/ocr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/ocr.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/omni/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/omni/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/omni/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/omni/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/rlhf/dpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/rlhf/dpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/rlhf/kto.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/rlhf/kto.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/multimodal/video.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/multimodal/video.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/optimizer/muon.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/optimizer/muon.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/packing/llm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/packing/llm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/packing/qwen2_5_omni.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/packing/qwen2_5_omni.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/packing/qwen2_5_vl.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/packing/qwen2_5_vl.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/packing/streaming.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/packing/streaming.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/plugins/loss_scale.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/plugins/loss_scale.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/plugins/tuner_phi4_mm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/plugins/tuner_phi4_mm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/predict_with_generate/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/predict_with_generate/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/pretrain/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/pretrain/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/qlora/awq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/qlora/awq.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/qlora/bnb.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/qlora/bnb.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/qlora/gptq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/qlora/gptq.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/qlora/hqq.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/qlora/hqq.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rft/math.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rft/math.json -------------------------------------------------------------------------------- /ms-swift/examples/train/rft/rft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rft/rft.py -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/README.md -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/cpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/cpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/dpo/full.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/dpo/full.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/dpo/lora.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/dpo/lora.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/kto.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/kto.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/orpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/orpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/ppo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/ppo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/rm.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/rm.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/rlhf/simpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/rlhf/simpo.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/bert/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/bert/deploy.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/bert/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/bert/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/bert/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/bert/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/multi_label/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/multi_label/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/qwen2_5/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/qwen2_5/deploy.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/qwen2_5/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/qwen2_5/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/qwen2_5/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/qwen2_5/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/qwen2_vl/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/qwen2_vl/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/qwen2_vl/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/qwen2_vl/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/regression/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/regression/deploy.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/regression/infer.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/regression/infer.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/seq_cls/regression/sft.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/seq_cls/regression/sft.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/streaming/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/streaming/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/think_model/qwen3_demo1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/think_model/qwen3_demo1.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/think_model/qwen3_demo2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/think_model/qwen3_demo2.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/adalora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/adalora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/adapter/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/adapter/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/boft/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/boft/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/bone/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/bone/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/dora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/dora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/galore/train_galore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/galore/train_galore.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/galore/train_qgalore.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/galore/train_qgalore.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/lisa/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/lisa/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/llamapro/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/llamapro/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/longlora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/longlora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/lora-ga/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/lora-ga/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/lora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/lora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/neftune/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/neftune/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/olora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/olora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/pissa/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/pissa/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/qlora/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/qlora/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/reft/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/reft/train.sh -------------------------------------------------------------------------------- /ms-swift/examples/train/tuners/unsloth/train.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/examples/train/tuners/unsloth/train.sh -------------------------------------------------------------------------------- /ms-swift/my_requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/my_requirements.txt -------------------------------------------------------------------------------- /ms-swift/requirements.txt: -------------------------------------------------------------------------------- 1 | -r requirements/framework.txt 2 | -------------------------------------------------------------------------------- /ms-swift/requirements/docs.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/requirements/docs.txt -------------------------------------------------------------------------------- /ms-swift/requirements/eval.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/requirements/eval.txt -------------------------------------------------------------------------------- /ms-swift/requirements/framework.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/requirements/framework.txt -------------------------------------------------------------------------------- /ms-swift/requirements/install_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/requirements/install_all.sh -------------------------------------------------------------------------------- /ms-swift/requirements/seq_parallel.txt: -------------------------------------------------------------------------------- 1 | xtuner 2 | -------------------------------------------------------------------------------- /ms-swift/requirements/swanlab.txt: -------------------------------------------------------------------------------- 1 | swanlab 2 | -------------------------------------------------------------------------------- /ms-swift/requirements/tests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/requirements/tests.txt -------------------------------------------------------------------------------- /ms-swift/scripts/benchmark/config/tuner.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/benchmark/config/tuner.json -------------------------------------------------------------------------------- /ms-swift/scripts/benchmark/exp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/benchmark/exp.py -------------------------------------------------------------------------------- /ms-swift/scripts/benchmark/exp_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/benchmark/exp_utils.py -------------------------------------------------------------------------------- /ms-swift/scripts/benchmark/generate_report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/benchmark/generate_report.py -------------------------------------------------------------------------------- /ms-swift/scripts/utils/plot_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/utils/plot_loss.py -------------------------------------------------------------------------------- /ms-swift/scripts/utils/run_dataset_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/utils/run_dataset_info.py -------------------------------------------------------------------------------- /ms-swift/scripts/utils/run_model_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/utils/run_model_info.py -------------------------------------------------------------------------------- /ms-swift/scripts/utils/run_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/scripts/utils/run_template.py -------------------------------------------------------------------------------- /ms-swift/setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/setup.cfg -------------------------------------------------------------------------------- /ms-swift/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/setup.py -------------------------------------------------------------------------------- /ms-swift/swift/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/swift/cli/_megatron/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/swift/cli/_megatron/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/_megatron/main.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/_megatron/pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/_megatron/pt.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/_megatron/sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/_megatron/sft.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/app.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/deploy.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/eval.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/export.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/infer.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/main.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/merge_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/merge_lora.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/pt.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/rlhf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/rlhf.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/rollout.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/sample.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/sft.py -------------------------------------------------------------------------------- /ms-swift/swift/cli/web_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/cli/web_ui.py -------------------------------------------------------------------------------- /ms-swift/swift/hub/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/hub/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/hub/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/hub/constant.py -------------------------------------------------------------------------------- /ms-swift/swift/hub/hub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/hub/hub.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/app/__init__.py: -------------------------------------------------------------------------------- 1 | from .app import SwiftApp, app_main 2 | -------------------------------------------------------------------------------- /ms-swift/swift/llm/app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/app/app.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/app/build_ui.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/app/build_ui.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/app/locale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/app/locale.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/app_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/app_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/base_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/base_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/data_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/data_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/generation_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/generation_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/model_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/model_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/quant_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/quant_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/template_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/template_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/base_args/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/base_args/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/deploy_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/deploy_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/eval_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/eval_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/export_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/export_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/infer_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/infer_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/merge_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/merge_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/rlhf_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/rlhf_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/sampling_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/sampling_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/train_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/train_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/tuner_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/tuner_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/argument/webui_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/argument/webui_args.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/base.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/data_loader.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/data/dataset_info.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/dataset/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/dataset/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/dataset/llm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/dataset/mllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/dataset/mllm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/loader.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/media.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/media.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/preprocessor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/preprocessor/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/preprocessor/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/preprocessor/core.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/preprocessor/extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/preprocessor/extra.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/register.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/dataset/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/dataset/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero0.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero1.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero2.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero2_offload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero2_offload.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero3.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/ds_config/zero3_offload.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/ds_config/zero3_offload.json -------------------------------------------------------------------------------- /ms-swift/swift/llm/eval/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/eval/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/eval/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/eval/eval.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/eval/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/eval/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/export/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/export/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/export/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/export/export.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/export/merge_lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/export/merge_lora.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/export/ollama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/export/ollama.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/export/quant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/export/quant.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/deploy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/deploy.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/base.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/infer_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/infer_client.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/infer_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/infer_engine.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/lmdeploy_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/lmdeploy_engine.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/patch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/patch.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/pt_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/pt_engine.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/infer_engine/vllm_engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/infer_engine/vllm_engine.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/protocol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/protocol.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/rollout.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/infer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/infer/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/constant.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/baai.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/baai.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/baichuan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/baichuan.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/bert.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/codefuse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/codefuse.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/deepseek.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/deepseek.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/gemma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/gemma.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/glm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/glm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/internlm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/internlm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/llama.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/llava.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/llava.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/llm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/mamba.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/mamba.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/microsoft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/microsoft.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/minicpm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/minicpm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/minimax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/minimax.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/mistral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/mistral.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/mllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/mllm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/moonshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/moonshot.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/mplug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/mplug.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/openbuddy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/openbuddy.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/qwen.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/skywork.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/skywork.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/stepfun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/stepfun.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/telechat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/telechat.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/valley.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/valley.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model/yi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model/yi.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/model_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/model_arch.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/patcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/patcher.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/register.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/model/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/base.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/distill_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/distill_sampler.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/mcts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/mcts.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/sampling.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/sampling/vanilla_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/sampling/vanilla_sampler.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/base.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/constant.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/grounding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/grounding.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/register.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/deepseek.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/deepseek.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/emu3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/emu3.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/gemma.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/gemma.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/glm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/glm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/idefics3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/idefics3.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/internlm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/internlm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/internvl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/internvl.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/llama.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/llava.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/llava.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/llm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/megrez.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/megrez.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/microsoft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/microsoft.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/minicpm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/minicpm.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/minimax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/minimax.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/mistral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/mistral.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/molmo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/molmo.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/moonshot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/moonshot.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/mplug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/mplug.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/openbuddy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/openbuddy.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/pixtral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/pixtral.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/qwen.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/stepfun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/stepfun.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/valley.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/valley.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template/yi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template/yi.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template_inputs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template_inputs.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/template_meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/template_meta.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/template/vision_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/template/vision_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/callback.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/kto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/kto.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/pt.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/rlhf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/rlhf.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/sft.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/train/tuner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/train/tuner.py -------------------------------------------------------------------------------- /ms-swift/swift/llm/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/llm/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/argument/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/argument/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/argument/megatron_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/argument/megatron_args.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/argument/train_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/argument/train_args.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/init.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/config.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/constant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/constant.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/gpt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/gpt/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/gpt/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/gpt/config.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/gpt/hf2mcore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/gpt/hf2mcore.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/gpt/mcore2hf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/gpt/mcore2hf.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/gpt/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/gpt/model.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/register.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/model/rope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/model/rope.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/train/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/train/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/train/patcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/train/patcher.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/train/pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/train/pt.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/train/sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/train/sft.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/train/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/train/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/utils/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/utils/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/utils/convert.py -------------------------------------------------------------------------------- /ms-swift/swift/megatron/utils/patcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/megatron/utils/patcher.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/base.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/extra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/extra.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/glm4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/glm4.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/hermes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/hermes.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/llama.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/qwen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/qwen.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/react.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/react.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/agent_template/toolbench.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/agent_template/toolbench.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/callback.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/config/agentflan.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/config/agentflan.json -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/config/alpha_umi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/config/alpha_umi.json -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/config/hermes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/config/hermes.json -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/config/qwen.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/config/qwen.json -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/config/react.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/config/react.json -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/loss_scale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/loss_scale.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/loss_scale/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/loss_scale/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/metric.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/multi_turn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/multi_turn.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/optimizer.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/orm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/orm.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/prm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/prm.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/rm_plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/rm_plugin.py -------------------------------------------------------------------------------- /ms-swift/swift/plugin/tuner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/plugin/tuner.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/arguments.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/callback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/callback.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/mixin.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/galore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/optimizers/galore/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/galore/adafactor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/optimizers/galore/adafactor.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/galore/adamw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/optimizers/galore/adamw.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/galore/adamw8bit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/optimizers/galore/adamw8bit.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/optimizers/galore/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/optimizers/galore/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_arguments.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/cpo_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/cpo_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/dpo_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/dpo_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/grpo_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/grpo_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/kto_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/kto_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/orpo_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/orpo_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/ppo_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/ppo_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/reward_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/reward_trainer.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/rlhf_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/rlhf_mixin.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/rlhf_trainer/vllm_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/rlhf_trainer/vllm_client.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/sequence_parallel/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/sequence_parallel/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/sequence_parallel/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/sequence_parallel/base.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/sequence_parallel/ulysses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/sequence_parallel/ulysses.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/sequence_parallel/xtuner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/sequence_parallel/xtuner.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/torchacc_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/torchacc_mixin.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/trainer_factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/trainer_factory.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/trainers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/trainers.py -------------------------------------------------------------------------------- /ms-swift/swift/trainers/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/trainers/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/adapter.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/base.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/llamapro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/llamapro.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/longlora/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/tuners/longlora/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/longlora/llama.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/longlora/longlora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/longlora/longlora.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/lora.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/lora_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/lora_layers.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/mapping.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/neftune.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/neftune.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/part.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/part.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/peft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/peft.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/prompt.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/reft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/reft.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/restuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/restuning.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/restuning_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/restuning_components.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/scetuning/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/scetuning/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/scetuning/scetuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/scetuning/scetuning.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/scetuning/scetuning_components.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/scetuning/scetuning_components.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/side.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/side.py -------------------------------------------------------------------------------- /ms-swift/swift/tuners/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/tuners/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/app.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/base.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_eval/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_eval/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_eval/eval.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_eval/llm_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_eval/llm_eval.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_eval/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_eval/model.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_eval/runtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_eval/runtime.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_export/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_export/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_export/export.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_export/llm_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_export/llm_export.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_export/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_export/model.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_export/runtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_export/runtime.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_infer/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_infer/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_infer/generate.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_infer/llm_infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_infer/llm_infer.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_infer/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_infer/model.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_infer/runtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_infer/runtime.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) Alibaba, Inc. and its affiliates. 2 | -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/advanced.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/advanced.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/dataset.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/galore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/galore.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/hyper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/hyper.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/lisa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/lisa.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/llamapro.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/llamapro.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/llm_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/llm_train.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/lora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/lora.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/model.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/quantization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/quantization.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/report_to.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/report_to.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/rlhf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/rlhf.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/runtime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/runtime.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/save.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/save.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/self_cog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/self_cog.py -------------------------------------------------------------------------------- /ms-swift/swift/ui/llm_train/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/ui/llm_train/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/__init__.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/constants.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/env.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/import_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/import_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/io_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/io_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/logger.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/np_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/np_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/tb_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/tb_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/torch_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/torchacc_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/torchacc_utils.py -------------------------------------------------------------------------------- /ms-swift/swift/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/utils/utils.py -------------------------------------------------------------------------------- /ms-swift/swift/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/swift/version.py -------------------------------------------------------------------------------- /ms-swift/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/app/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/app/test_app.py -------------------------------------------------------------------------------- /ms-swift/tests/deploy/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/deploy/test_dataset.py -------------------------------------------------------------------------------- /ms-swift/tests/deploy/test_logprobs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/deploy/test_logprobs.py -------------------------------------------------------------------------------- /ms-swift/tests/eval/test_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/eval/test_eval.py -------------------------------------------------------------------------------- /ms-swift/tests/export/test_quant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/export/test_quant.py -------------------------------------------------------------------------------- /ms-swift/tests/general/test_arch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/general/test_arch.py -------------------------------------------------------------------------------- /ms-swift/tests/general/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/general/test_dataset.py -------------------------------------------------------------------------------- /ms-swift/tests/general/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/general/test_model.py -------------------------------------------------------------------------------- /ms-swift/tests/general/test_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/general/test_stream.py -------------------------------------------------------------------------------- /ms-swift/tests/general/test_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/general/test_template.py -------------------------------------------------------------------------------- /ms-swift/tests/hub/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/hub/test_check_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/hub/test_check_model.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_agent.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_infer.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_logprobs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_logprobs.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_main.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_max_memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_max_memory.py -------------------------------------------------------------------------------- /ms-swift/tests/infer/test_mllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/infer/test_mllm.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/llm/config/infer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/config/infer.json -------------------------------------------------------------------------------- /ms-swift/tests/llm/config/sft.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/config/sft.json -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/alpaca.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/alpaca.csv -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/alpaca.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/alpaca.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/alpaca2.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/alpaca2.csv -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/chatml.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/chatml.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/conversations.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/conversations.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/multi_modal_1.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/multi_modal_1.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/multi_modal_2.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/multi_modal_2.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/multi_modal_3.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/multi_modal_3.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/sharegpt.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/sharegpt.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_multi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_multi.json -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_multi.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_multi.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_pre.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_pre.csv -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_pre.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_pre.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_single.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_single.csv -------------------------------------------------------------------------------- /ms-swift/tests/llm/data/swift_single.jsonl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/data/swift_single.jsonl -------------------------------------------------------------------------------- /ms-swift/tests/llm/load_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/load_model.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/load_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/load_template.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_custom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_custom.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_dataset.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_ollama_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_ollama_export.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_run.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_run3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_run3.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_template.py -------------------------------------------------------------------------------- /ms-swift/tests/llm/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/llm/test_utils.py -------------------------------------------------------------------------------- /ms-swift/tests/megatron/test_align/test_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/megatron/test_align/test_llm.py -------------------------------------------------------------------------------- /ms-swift/tests/megatron/test_export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/megatron/test_export.py -------------------------------------------------------------------------------- /ms-swift/tests/megatron/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/megatron/test_model.py -------------------------------------------------------------------------------- /ms-swift/tests/megatron/test_save.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/megatron/test_save.py -------------------------------------------------------------------------------- /ms-swift/tests/megatron/test_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/megatron/test_train.py -------------------------------------------------------------------------------- /ms-swift/tests/model_tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/model_tag.py -------------------------------------------------------------------------------- /ms-swift/tests/models/test_flash_attn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/models/test_flash_attn.py -------------------------------------------------------------------------------- /ms-swift/tests/models/test_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/models/test_llm.py -------------------------------------------------------------------------------- /ms-swift/tests/models/test_mllm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/models/test_mllm.py -------------------------------------------------------------------------------- /ms-swift/tests/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/run.py -------------------------------------------------------------------------------- /ms-swift/tests/run_config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/run_config.yaml -------------------------------------------------------------------------------- /ms-swift/tests/sample/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/sample/test_client.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_cls.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_lmdeploy_vlm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_lmdeploy_vlm.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_padding_side.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_padding_side.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_rlhf_loss.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_agent.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_audio.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_audio.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_gene.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_gene.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_llm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_llm.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_template.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_tool.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_video.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_template/test_vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_template/test_vision.py -------------------------------------------------------------------------------- /ms-swift/tests/test_align/test_vllm_vlm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_align/test_vllm_vlm.py -------------------------------------------------------------------------------- /ms-swift/tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/test_utils.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_cls.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_freeze.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_freeze.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_grounding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_grounding.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_grpo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_grpo.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_kto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_kto.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_liger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_liger.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_multilabel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_multilabel.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_packing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_packing.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_ppo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_ppo.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_pt.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_rlhf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_rlhf.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_sample.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_sft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_sft.py -------------------------------------------------------------------------------- /ms-swift/tests/train/test_train_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/train/test_train_eval.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_extra_state_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_extra_state_dict.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_merged_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_merged_linear.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_neft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_neft.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_peft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_peft.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_scetuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_scetuning.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_swift_base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_swift_base.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_swift_device_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_swift_device_map.py -------------------------------------------------------------------------------- /ms-swift/tests/tuners/test_swift_restuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/tuners/test_swift_restuning.py -------------------------------------------------------------------------------- /ms-swift/tests/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ms-swift/tests/utils/test_file_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/utils/test_file_utils.py -------------------------------------------------------------------------------- /ms-swift/tests/utils/test_io_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/utils/test_io_utils.py -------------------------------------------------------------------------------- /ms-swift/tests/utils/test_split_str_parts_by.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/utils/test_split_str_parts_by.py -------------------------------------------------------------------------------- /ms-swift/tests/utils/test_torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/ms-swift/tests/utils/test_torch_utils.py -------------------------------------------------------------------------------- /prompts/generate_candidate_solutions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/prompts/generate_candidate_solutions.py -------------------------------------------------------------------------------- /prompts/generate_teacher_critique.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/prompts/generate_teacher_critique.py -------------------------------------------------------------------------------- /tools/prepare_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/tools/prepare_data.sh -------------------------------------------------------------------------------- /tools/setup_env.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/tools/setup_env.sh -------------------------------------------------------------------------------- /train/Validation/start_validate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/train/Validation/start_validate.sh -------------------------------------------------------------------------------- /train/Validation/validate_single.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/train/Validation/validate_single.sh -------------------------------------------------------------------------------- /train/Validation/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/train/Validation/validation.py -------------------------------------------------------------------------------- /train/train_on_logic_reasoning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/train/train_on_logic_reasoning.sh -------------------------------------------------------------------------------- /train/train_on_math_reasoning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TIGER-AI-Lab/One-Shot-CFT/HEAD/train/train_on_math_reasoning.sh --------------------------------------------------------------------------------