llamafactory

View on PyPIReverse Dependencies (0)

0.9.0 llamafactory-0.9.0-py3-none-any.whl

Wheel Details

Project: llamafactory
Version: 0.9.0
Filename: llamafactory-0.9.0-py3-none-any.whl
Download: [link]
Size: 245842
MD5: 8d7179de60272efb58ce26f57b834114
SHA256: 6e34230b3ea09285b35faf71bd234fe21e478e3d7b41e25e3368f6aa2d0563a9
Uploaded: 2024-09-08 17:14:47 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: llamafactory
Version: 0.9.0
Summary: Easy-to-use LLM fine-tuning framework
Author: hiyouga
Author-Email: hiyouga[at]buaa.edu.cn
Home-Page: https://github.com/hiyouga/LLaMA-Factory
License: Apache 2.0 License
Keywords: LLaMA,BLOOM,Falcon,LLM,ChatGPT,transformer,pytorch,deep learning
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8.0
Requires-Dist: transformers (<=4.45.0,>=4.41.2)
Requires-Dist: datasets (<=2.21.0,>=2.16.0)
Requires-Dist: accelerate (<=0.33.0,>=0.30.1)
Requires-Dist: peft (<=0.12.0,>=0.11.1)
Requires-Dist: trl (<=0.9.6,>=0.8.6)
Requires-Dist: gradio (>=4.0.0)
Requires-Dist: pandas (>=2.0.0)
Requires-Dist: scipy
Requires-Dist: einops
Requires-Dist: sentencepiece
Requires-Dist: tiktoken
Requires-Dist: protobuf
Requires-Dist: uvicorn
Requires-Dist: pydantic
Requires-Dist: fastapi
Requires-Dist: sse-starlette
Requires-Dist: matplotlib (>=3.7.0)
Requires-Dist: fire
Requires-Dist: packaging
Requires-Dist: pyyaml
Requires-Dist: numpy (<2.0.0)
Requires-Dist: adam-mini; extra == "adam-mini"
Requires-Dist: aqlm[gpu] (>=1.1.0); extra == "aqlm"
Requires-Dist: autoawq; extra == "awq"
Requires-Dist: badam (>=1.2.1); extra == "badam"
Requires-Dist: bitsandbytes (>=0.39.0); extra == "bitsandbytes"
Requires-Dist: deepspeed (<=0.14.4,>=0.10.0); extra == "deepspeed"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: eetq; extra == "eetq"
Requires-Dist: galore-torch; extra == "galore"
Requires-Dist: optimum (>=1.17.0); extra == "gptq"
Requires-Dist: auto-gptq (>=0.5.0); extra == "gptq"
Requires-Dist: hqq; extra == "hqq"
Requires-Dist: liger-kernel; extra == "liger-kernel"
Requires-Dist: nltk; extra == "metrics"
Requires-Dist: jieba; extra == "metrics"
Requires-Dist: rouge-chinese; extra == "metrics"
Requires-Dist: modelscope; extra == "modelscope"
Requires-Dist: transformers-stream-generator; extra == "qwen"
Requires-Dist: torch (>=1.13.1); extra == "torch"
Requires-Dist: torch (==2.1.0); extra == "torch-npu"
Requires-Dist: torch-npu (==2.1.0.post3); extra == "torch-npu"
Requires-Dist: decorator; extra == "torch-npu"
Requires-Dist: vllm (<=0.6.0,>=0.4.3); extra == "vllm"
Provides-Extra: adam-mini
Provides-Extra: aqlm
Provides-Extra: awq
Provides-Extra: badam
Provides-Extra: bitsandbytes
Provides-Extra: deepspeed
Provides-Extra: dev
Provides-Extra: eetq
Provides-Extra: galore
Provides-Extra: gptq
Provides-Extra: hqq
Provides-Extra: liger-kernel
Provides-Extra: metrics
Provides-Extra: modelscope
Provides-Extra: qwen
Provides-Extra: torch
Provides-Extra: torch-npu
Provides-Extra: vllm
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 50361 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (74.1.2)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
llamafactory/__init__.py sha256=q0-8SRlu7cpIuhq7EWXk9ZGKrvlcknAY_9X9zA51A0g 1346
llamafactory/cli.py sha256=12B-eu5_tnuE1dacg9tUUMukAhGJZ4Lx3LPaXAyRCCw 4245
llamafactory/launcher.py sha256=bhpfPg0IL7DNJxIFJJ4_shkcr8viYwaCW7fyAPYadrU 727
llamafactory/api/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/api/app.py sha256=rexKL2ImIrhb5HYGsxgxltR1tH5vlg_1fCzZC__jaCk 4482
llamafactory/api/chat.py sha256=rUttBDxnRvHZkb0mK8RIprH6pxBqlgNcHQL6fvneX8M 9061
llamafactory/api/common.py sha256=G98ce2y1nUADEolADSU8SYmEALG1UAlyei7whzhwFVM 1167
llamafactory/api/protocol.py sha256=-VsdZpmO7C7l7GxFQQUKA_w0sUpX71o7I3bkdHb_VOs 3833
llamafactory/chat/__init__.py sha256=CKlySyO3fvKmjNMnomcbAlpO2DmJco9AjoJXVLXzrTc 697
llamafactory/chat/base_engine.py sha256=3edWV9Qcg3nClFGb2p35jcrKNOVDe2Ad0ln6BL0W0hw 2938
llamafactory/chat/chat_model.py sha256=5pVWxiB2-zOHzta3dfybHMdBHkpQFpKkMcoYbsvgoXk 6467
llamafactory/chat/hf_engine.py sha256=xKnk6c3D0l-AMVV2R3ua22regOALY8l3CPMFRdNMFO8 14425
llamafactory/chat/vllm_engine.py sha256=Qnwv_7rfGTN2qV0XL3LqCJAopkRoooFzopE0rHyUUZI 9711
llamafactory/data/__init__.py sha256=hKVI-qLotlGytqG5QEi9x8x6V-ibslTFWERIrjdQNls 1204
llamafactory/data/aligner.py sha256=bWZpOoYE3EW2xz1y2nXrkv0xuDksSR6KDIh0mtEA2YU 9899
llamafactory/data/collator.py sha256=GfE72nGK33gvub8Alf5ZKZarLDqNml8Zy0y4oK9ZMDI 7283
llamafactory/data/data_utils.py sha256=XSzOaubNoqXO3OmYaGTf5lBJv1ECi02TYKc0JFnQfRQ 3278
llamafactory/data/formatter.py sha256=LmGZ93IH-YHZGesg1hS7AwfsbMFhqP1uIeJS_IDUYxY 4853
llamafactory/data/loader.py sha256=N77-0EF_Zcfhe-fX_IsnNdNlPdlAPaNyecFS8NwlC3o 11818
llamafactory/data/mm_plugin.py sha256=OJhY5vDyxTvlXq1oECzCtOiI_KoU6chkAwi62flVT48 13954
llamafactory/data/parser.py sha256=wUBRQpNT9QGN3KADLMq7t8ivBPuABpmOMmf1S6FA7vY 5677
llamafactory/data/preprocess.py sha256=WX3RCb93JBkKivIVXonV90VGLbiOUGiMLeCaRLW0O5s 4194
llamafactory/data/template.py sha256=cdeJxC_KdPNh3MTBOWxagTwDCG0yn8LAGFrpnjgnXUQ 36840
llamafactory/data/tool_utils.py sha256=qQASNjiEx_7CnzWxxUWMp4hNj9buUyLWuIaITukiuYc 5856
llamafactory/data/processors/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/data/processors/feedback.py sha256=9YwlJjmEVkMGpngt8TCaP5lKF80cBBMAoKdR6Ghh6JI 5347
llamafactory/data/processors/pairwise.py sha256=8XHjF2jiXZwsY-pWWMhMO5bdKmjdz4xti3Ivg52Vdgc 5489
llamafactory/data/processors/pretrain.py sha256=UDM7Yw3hsnoi9YswDwRtJVsi0jgHIgU1_jpn_cr-8W8 2414
llamafactory/data/processors/processor_utils.py sha256=ze3DsuQC2dsWRSMg5GeZM6Nz4-4gROLTTsYXeZ86a6g 2365
llamafactory/data/processors/supervised.py sha256=OeGTRpAZrgTaEqazRSzs5w4IXcbbh2i2LGezJqohbL4 9179
llamafactory/data/processors/unsupervised.py sha256=KMeAxPCA95dvRNbSA5n2hV4KbjmQMb4Rn1LOdWVf8jU 3807
llamafactory/eval/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/eval/evaluator.py sha256=KlUxXXXhyEElYr7vEPRmav9oR5C_cCPIexLKVdiV3rw 7360
llamafactory/eval/template.py sha256=c_zkFiZqpm82aG-yDgNKOf0NkIRzh8rCzVHYdtqrQ-E 2929
llamafactory/extras/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/extras/constants.py sha256=FuFqsjXmnrNJRC6wkqwZap0cM1UKWN7-pQTEKP4iZoU 59672
llamafactory/extras/env.py sha256=OrLDk4Tm4pO78zgbdXPCidtS1krp5fzpCeEYrTPx-cg 2263
llamafactory/extras/logging.py sha256=xnvRnZpIW3NJzkQR7MSD6NAMShV3dnHEPA8uPFBBvWM 3896
llamafactory/extras/misc.py sha256=zN9SnuDT3soLvUMSGQboj5kGwio-pX6Tzt2CHdlDSQY 8012
llamafactory/extras/packages.py sha256=VFq-wsuDNueGS8fC05M9eIOEkb-l0pVcxu7vN_WG2ak 2221
llamafactory/extras/ploting.py sha256=o__gQiXCirnnFG7e9pVmxpm6w8Q23OP1iOCsWn0Ydlc 3220
llamafactory/hparams/__init__.py sha256=j2MoIkI6Mft1HEyfX_4p8ynrj1_Okv32aa-ViznA0d4 1081
llamafactory/hparams/data_args.py sha256=ZGrzfROST6DySvEpZ5TRTS0gZKSuNBISgyLYHRRFcxk 6332
llamafactory/hparams/evaluation_args.py sha256=2ycEmfF70MXi-qbXobMqHevSb-5xyuUlH7lAkUvzuPY 2049
llamafactory/hparams/finetuning_args.py sha256=VZ4jcdPXQY7hBnE7_FFF3pWZ4IcLOj5714QyqlcrU6k 15101
llamafactory/hparams/generating_args.py sha256=YCfmlTi-qYvubqL_o5TQOIryB7giUu9o8Zp7VvLeh7s 2665
llamafactory/hparams/model_args.py sha256=B3okOAxPSUzlBMhNnokUX59GY7OgE5LxnsobsQ_2QKs 12392
llamafactory/hparams/parser.py sha256=yCqOTaBEu3gDDBVYTF8YsrBj00d3RjGGVz9fz7NA4Dc 18346
llamafactory/model/__init__.py sha256=2UPr5CeY4X5CEUFev3Z1z2bIvHI4GxNSo2vBvmgXoy8 976
llamafactory/model/adapter.py sha256=TpmFYpZS72SHpzxb-z_t1Pg2AcrX4EGkHM7K7i0egCY 12887
llamafactory/model/loader.py sha256=zmXN7lYohUlJzlGTO-ptm_0fm9D_n8tyHjc49MTWx0c 8140
llamafactory/model/patcher.py sha256=zvAbY0PmYIUzTz_RGEux0u0otFeEk-zDLK1X197Zr2I 7507
llamafactory/model/model_utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/model/model_utils/attention.py sha256=l9H1Yyx5jNdeV2jYl22JFP5zeHnzC8CDFpNnR25S-M0 3560
llamafactory/model/model_utils/checkpointing.py sha256=_m8ZT-cYYJqvMta8CPIBJRi_plLyuQrtFd9alRofkdc 7210
llamafactory/model/model_utils/embedding.py sha256=NeIPb1aOuq_L-aD8_4c1cMMAaks5R_pJ_oNkRz6t4kw 2933
llamafactory/model/model_utils/liger_kernel.py sha256=kEuUcZPDLAj8yqCoZDjC6tr0U3nBcUUsxMd6eFzSdvM 2138
llamafactory/model/model_utils/longlora.py sha256=7JbWVcNitSUbtKLIBs-tFkZbt4BblBSxzdjodrn8hZI 16389
llamafactory/model/model_utils/misc.py sha256=SnCjVyHaLPKjphTKwIPELX_6rT27xW8yavxK6jC3QqM 3602
llamafactory/model/model_utils/mod.py sha256=EyjczSOs7lP6PPCGL4tya-2UbBr4CiWcCjSctCOztz0 1419
llamafactory/model/model_utils/moe.py sha256=3rmqN3LjltSRJ9aLDJG7kHyZCrXEc1aDHqZgVWDc9VU 3040
llamafactory/model/model_utils/packing.py sha256=xUrTMNjQbVTQnFPgZ39V2OfXbT5HRIRHEBF-OxHVtLY 6155
llamafactory/model/model_utils/quantization.py sha256=iObQ4O0RwpxKgjkHr92vOXSv016O4ReQOfJY208kqfM 9358
llamafactory/model/model_utils/rope.py sha256=TQk3sMyqDbqF1GuI0zoaeEuPul1GB5XS3TMbgeobTI8 2571
llamafactory/model/model_utils/unsloth.py sha256=DY5cKHIZqhncOavOzKYj5PcGph53v_WCr2bBc52gCCQ 3473
llamafactory/model/model_utils/valuehead.py sha256=6577BGgyrFoiJJDSLMnSGio8I1a27pjWv1ikL5AGAq0 2769
llamafactory/model/model_utils/visual.py sha256=qIV3vn8Qa32fNm11lmmCqb4e0DhLCz6EYCySZiAqiQY 7239
llamafactory/train/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/train/callbacks.py sha256=F2sVzNLXkaoIv4baW_p5SN3HK4KIPYDMWtl4ClAp0ls 14933
llamafactory/train/test_utils.py sha256=a3nq6BveN5UOfnNdoSXNtyUxBtkznzyzLlsAJO_VVhs 4989
llamafactory/train/trainer_utils.py sha256=77N19oaS83WbCyXonpXZzXKvwE7WTfBvitaJgzUVI8Q 19610
llamafactory/train/tuner.py sha256=JJhj14j-7eTnUmmz0IK-X4HFJpdXy8kTgesPtwRM0is 6181
llamafactory/train/dpo/__init__.py sha256=CW5mgjbNLq7oNQO61oaOknAJnNsfsgwhSKpDX1pGjVg 641
llamafactory/train/dpo/trainer.py sha256=czZjRetiB-Dr-olqXMIEURWWU0sm32oj8vOy59MFPCE 11384
llamafactory/train/dpo/workflow.py sha256=LKqfO__CGAdrYtTCzbZciPrZNRGR0qgWyuF0TLXkNlA 3987
llamafactory/train/kto/__init__.py sha256=qJRlaqKCtKqaLv4AvQAl4wVm2H3afWaER2DyQggavT4 641
llamafactory/train/kto/trainer.py sha256=1P4d6x7Q5SBxiB9LfaW-PS4IumAIK7bYt3HIF7s3lXQ 9744
llamafactory/train/kto/workflow.py sha256=Tobsgpm18ytNLYhS3T2w6eA-TopWl783ICv1YfXCWY8 3878
llamafactory/train/ppo/__init__.py sha256=lLrCsSOiDbjw4ZCV3Mn9xGbZ17ujNtuxz7Jpux90gf8 641
llamafactory/train/ppo/ppo_utils.py sha256=nDojNyCJZZ6ouYohFH9ihFGRkUu-rRDvDid1qYfkILc 3415
llamafactory/train/ppo/trainer.py sha256=f0fLnrxwdPDbpsUWDIsF_AYZXtcia9E8K0jtMR54Xdk 23151
llamafactory/train/ppo/workflow.py sha256=RiT5rloTG2xmVVapSQvdN5mfIzkAaHm7OhlAEDR7caM 3382
llamafactory/train/pt/__init__.py sha256=RrdijeAAwDcRSIxz8QoaXf1hBO6fPXiJC0_FVX_KFuc 639
llamafactory/train/pt/trainer.py sha256=yMhw3RVCW__H2vNFxkiJaV_D9grD6xszHnRW_1AOwGQ 2420
llamafactory/train/pt/workflow.py sha256=_Sk0-mgYobvhkUXrbXuJyXW0cEmEyQoyrxq74tbWw2U 3239
llamafactory/train/rm/__init__.py sha256=fS9jbyQjhCgnwS177pRpbjJ-57nMRfCe9bRf1RfvL10 639
llamafactory/train/rm/metric.py sha256=hv0w0IKf1ulI93t1nbg5dfXw27UP51BNTtApaE7YnK4 1772
llamafactory/train/rm/trainer.py sha256=4s1nY15q4GGmyiFpGyWY3TUMXT2yuiJpEi0ljKBy2sk 5201
llamafactory/train/rm/workflow.py sha256=nQTGCxyGUv0Ft7McSjpDXaVRuP-w2Tti7rPxQBrNwYw 3817
llamafactory/train/sft/__init__.py sha256=uQFKxqop4XWnRjOpbCtUoTw7a8I8abF7mOGW2sCVfH8 641
llamafactory/train/sft/metric.py sha256=bm7MrTRWvrL0xBJzLr8z4ncr83tNH1Ju8pLlLlJ2Yxs 4985
llamafactory/train/sft/trainer.py sha256=87K1vi8MWt_64YD_wxrAiTwhCvj90R74wHl8NANxpSU 6727
llamafactory/train/sft/workflow.py sha256=NA_nAvw5KQ_QeZWpP4K2a2OH_mZ_T7Bi5-Megn-sBMs 5769
llamafactory/webui/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/webui/chatter.py sha256=rneEMrokwFCEceDH5FXiUW7sMqe1yh_49LCSAEdWA5o 6167
llamafactory/webui/common.py sha256=76TVoFs92ljP3XilHAgW-07rwpZ0IErn8TYdzcbGMX4 6115
llamafactory/webui/css.py sha256=0jm7-YZS5yYInj0RgQWF1oN762UH8mHNaOxoCBBxiRM 1154
llamafactory/webui/engine.py sha256=KIHgEwgCXHY_ZR-Xxvb-dib6IKzAq-Zdwwplvk0DHxU 3250
llamafactory/webui/interface.py sha256=o7v-Ah8yytM5iRjnJUEBVKz2ytKzi3BfjWowwqkPL-U 3596
llamafactory/webui/locales.py sha256=K2KvSx_OmAsjcAyerkffgVxKoLp2Aagil0ocqgOyqZU 67818
llamafactory/webui/manager.py sha256=iNxdZ6_L_x2OCpt7Gua4HcC8vxqK9f-LFIxAEAUylyU 2651
llamafactory/webui/runner.py sha256=xyfdXkGNinv3W2uYwMT4hI5viKcrk30pkSQ2ZiR4pPQ 19405
llamafactory/webui/utils.py sha256=EkJAzZim6X9AToxuXhfBbqwxq8zxP3V7nkuoF5br3mU 9805
llamafactory/webui/components/__init__.py sha256=Oxr-rlx5A4aRSjy6Q3XjXKbNPDwq4cdtfTLSXG7p_mg 949
llamafactory/webui/components/chatbot.py sha256=uzMo78T1TZ5j-9uA5Z1LpDgDmlPFBuELDwWJZFQnT2g 3207
llamafactory/webui/components/data.py sha256=nPT5ZzHkUNELB-sgVAbcVsX79h6vYlVzpm-uWAlY9lE 4426
llamafactory/webui/components/eval.py sha256=jE5zJWqvkk22QpS4_yt5oZlZFH3nCYSIJe0-dxNqpKY 3438
llamafactory/webui/components/export.py sha256=OFB7ufEvOZIQii95ehQaAphBHlLW5HOQzvQ5sH4aU4w 5322
llamafactory/webui/components/infer.py sha256=iihIiOTTRNs6oa6d7D0ji7gXlTNkhaxHzztvSXwiRFM 2441
llamafactory/webui/components/top.py sha256=zj_SgShO-yPvAhBxZTFyhB1zyPxYsqOhbAb5NDed1tc 3269
llamafactory/webui/components/train.py sha256=iMEHDFSO1y8x8cEPPtpLT52fpXucIOSgzQUaOvsWMj4 13579
llamafactory-0.9.0.dist-info/LICENSE sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo 11324
llamafactory-0.9.0.dist-info/METADATA sha256=xsww67jLQgqK7yVZuii6qxVkii13O4UfT5NdHMe_TUw 53598
llamafactory-0.9.0.dist-info/WHEEL sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY 91
llamafactory-0.9.0.dist-info/entry_points.txt sha256=ZXh9CMwQaYNzrOUXuen1ybWm6muX0sUhAn51JUMVyxk 87
llamafactory-0.9.0.dist-info/top_level.txt sha256=CMDIFWbvRE-teAZKfzyRc1uDiQwF2Yhydpo4_Fu6fZ4 13
llamafactory-0.9.0.dist-info/RECORD

top_level.txt

llamafactory

entry_points.txt

llamafactory-cli = llamafactory.cli:main
lmf = llamafactory.cli:main