llamafactory

View on PyPIReverse Dependencies (0)

0.9.1 llamafactory-0.9.1-py3-none-any.whl

Wheel Details

Project: llamafactory
Version: 0.9.1
Filename: llamafactory-0.9.1-py3-none-any.whl
Download: [link]
Size: 254577
MD5: 0891fade63a232f323d38cd29119cd9b
SHA256: 203d014c42a21b6543894380240457066e6326b61490261f03b7ce077db85b15
Uploaded: 2024-11-24 17:18:53 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: llamafactory
Version: 0.9.1
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.46.1,>=4.41.2)
Requires-Dist: datasets (<=3.1.0,>=2.16.0)
Requires-Dist: accelerate (<=1.0.1,>=0.34.0)
Requires-Dist: peft (<=0.12.0,>=0.11.1)
Requires-Dist: trl (<=0.9.6,>=0.8.6)
Requires-Dist: gradio (<5.0.0,>=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: av
Requires-Dist: tyro (<0.9.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: pre-commit; extra == "dev"
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: openmind; extra == "openmind"
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.4,>=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: openmind
Provides-Extra: qwen
Provides-Extra: torch
Provides-Extra: torch-npu
Provides-Extra: vllm
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 53513 characters]

WHEEL

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

RECORD

Path Digest Size
llamafactory/__init__.py sha256=3csFh6T5lnshyTez7w7-bSlybAVaPlKdskDCn6flB94 1377
llamafactory/cli.py sha256=O8OWQ9CqEOHdqjHvwi3hgqbFNzigWHMPOF47dpohyYA 4210
llamafactory/launcher.py sha256=bhpfPg0IL7DNJxIFJJ4_shkcr8viYwaCW7fyAPYadrU 727
llamafactory/api/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/api/app.py sha256=pqiuLvOkKb7sVqestfenffiMv8F7MMYZ3MiuhjGssy4 4443
llamafactory/api/chat.py sha256=QUBwprGXjSkrqyoJHziiEdfWe0bUHKzOdAGAOdffr2Q 9116
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=mAxF_YYjUxsdwcsUL-KeeHO4f3kUJXWz1vIZSFiiPBc 2982
llamafactory/chat/chat_model.py sha256=jNwLXsmq56lIfU2aPYDYZ3EwjNf7IQQUd6Yl8SK1sL0 6555
llamafactory/chat/hf_engine.py sha256=hKQ3BpGEVH6ahF_5IeXeSZaG8l0Ib45D5fBy7CFqBAE 14778
llamafactory/chat/vllm_engine.py sha256=A6qKO2720LZs7g34Snyol0v-1GxSDFizwRjvCbhnXGA 10352
llamafactory/data/__init__.py sha256=hKVI-qLotlGytqG5QEi9x8x6V-ibslTFWERIrjdQNls 1204
llamafactory/data/aligner.py sha256=ZCZNitrctpuaLjnXynV7Z46jjtHR_3Ap_u1GRpF0A9s 10088
llamafactory/data/collator.py sha256=LKZMLw3w9aeHoGpQQokNxo9f7qhC3Ir2OvsaeLxdoQU 7434
llamafactory/data/data_utils.py sha256=trGOdHmMzr2aKsNqVljrU2Hw9PXyG1B1wR6camE0Zko 3277
llamafactory/data/formatter.py sha256=uiCk-ibf3mBw9yXzIMf2ItBf43KB4f_kmq9LsuA9NqM 4994
llamafactory/data/loader.py sha256=mumTCF8eZX2s830jCyAMniKk0WzxnVSAMeK-cHNUdb0 12130
llamafactory/data/mm_plugin.py sha256=hM-bdkdnRIrs4XdLfIVKrI6w_H_mrtB8utQbXnwKibQ 30960
llamafactory/data/parser.py sha256=cKMQ5wATqeF0ce0Cm6SCCWFX4CbcAq1BiDl_ylMehZ4 6040
llamafactory/data/preprocess.py sha256=WX3RCb93JBkKivIVXonV90VGLbiOUGiMLeCaRLW0O5s 4194
llamafactory/data/template.py sha256=FfnK9Qhfrp7aOx0N4r3dnj-ZtSIZVR_6aL5A89bibX4 43835
llamafactory/data/tool_utils.py sha256=8YIA-lwL3j3u0uxi5LSijTSGfI_AbvlSxJOw5DYaBJs 5848
llamafactory/data/processors/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/data/processors/feedback.py sha256=YK4UMVggriM_3g5cgnmSABJiirLQTfuboaWeusfDRr8 5386
llamafactory/data/processors/pairwise.py sha256=da_JQZERn0Rm2m0uCryFczk3q3Te3bXcDIVokb6Vvq4 5506
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=TogmVWjQvOZ-JJUxpbJUosuxgZNgjQNw5vny0Xm-Vf4 9236
llamafactory/data/processors/unsupervised.py sha256=-KpW2Bsdg937nhqUyxanHh1oZblOWSFyA0RR8B4ES-8 3840
llamafactory/eval/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/eval/evaluator.py sha256=-QLhzxQeZBm5b_8M9vCaImBeyO1ly3lYNj7osuys_X0 7345
llamafactory/eval/template.py sha256=hq3YLMNprrqVVbVy0jMxSl0Zh0Z8KUXrikleRIrU3So 2921
llamafactory/extras/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/extras/constants.py sha256=lRqZRnEKO2DJdMP_pZ5e9ryWXBeopKhxKPMQkwYEn5c 80616
llamafactory/extras/env.py sha256=7-mSk_BKwk0t9kvo-aYotjZDB87nbO-fFCxmAI9TRAI 2253
llamafactory/extras/logging.py sha256=IH5DqTkuhDX_9dLUJ5VpVnioGbUVAuOgHVwK0L_YYf8 5331
llamafactory/extras/misc.py sha256=fzUqHKWljmTBeP3M65B2U4uYw_KhuM-P8G3f2VnNbWE 8855
llamafactory/extras/packages.py sha256=h7UVswngejjjUTN5on4XPRquNiI3G-gpjeF7dvVTryE 2387
llamafactory/extras/ploting.py sha256=HjOi1FX_QWn20swW-bnotRadcSbRUzZLl1DksaWx-e0 3209
llamafactory/hparams/__init__.py sha256=j2MoIkI6Mft1HEyfX_4p8ynrj1_Okv32aa-ViznA0d4 1081
llamafactory/hparams/data_args.py sha256=q1lNM9bjnoXW-IhcSnBheH1maRzmbag7njtDarff8WA 6811
llamafactory/hparams/evaluation_args.py sha256=2ycEmfF70MXi-qbXobMqHevSb-5xyuUlH7lAkUvzuPY 2049
llamafactory/hparams/finetuning_args.py sha256=-T8vyws8a-7r-9RLPXs7nqWKLFIqMIIB3nHRiwp8V1s 15270
llamafactory/hparams/generating_args.py sha256=YCfmlTi-qYvubqL_o5TQOIryB7giUu9o8Zp7VvLeh7s 2665
llamafactory/hparams/model_args.py sha256=p7EDwIrFzEqmT6wU1dbz2DQhINvjvRGQMER28kxk6dE 12848
llamafactory/hparams/parser.py sha256=58TdZOVZPNIqBMojD30rV4zrw2lx27N-qVQ8wIH56LM 18415
llamafactory/model/__init__.py sha256=2UPr5CeY4X5CEUFev3Z1z2bIvHI4GxNSo2vBvmgXoy8 976
llamafactory/model/adapter.py sha256=aqhlzaw4gDaZgkpETwZLi-uWDj0TfeWEtxXEOPs1dZI 12924
llamafactory/model/loader.py sha256=QQ0BQIcY76G2OzpGd7OMDiYtEQ25LxxLU7Otc_21ghQ 8015
llamafactory/model/patcher.py sha256=SXw_cw8IkdRAJ-0dj9L2HM8K2p0OPBGUACnPtuVLMu8 8427
llamafactory/model/model_utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/model/model_utils/attention.py sha256=GDuvD_uAMi4FFDsLoGsyV9NKERJN9qInz2XpVqazXNE 3673
llamafactory/model/model_utils/checkpointing.py sha256=IYLrRipQBCqU70JvFZ5Jo8CQjCfNpuhRbs3BQy6GXEA 7118
llamafactory/model/model_utils/embedding.py sha256=Jb8ujU_8econxkrybMTd6YZ21X6GPXHkITeLnQraSu4 2926
llamafactory/model/model_utils/liger_kernel.py sha256=JE142gWd093NSzvFTGWcRCjKHih-lICn6YMmTFOZlsg 2627
llamafactory/model/model_utils/longlora.py sha256=b9OyXSJsADvwpgsV8erybUJNymL_4iVd17YbPI2g2jc 16366
llamafactory/model/model_utils/misc.py sha256=cO4pwHUmP6GwUeksilek-IOHy58pwLEURN1x3X_MPGg 3739
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=-o5kX9Egz7tReQA2mbj6SF5ItOnhw_rZJ5tcGhVegCs 6156
llamafactory/model/model_utils/quantization.py sha256=F6NyCPISpwhCHnjFrLGjFTzN0saPI9E8tjsbRsTO3t8 9349
llamafactory/model/model_utils/rope.py sha256=Vst6bdZn_VWZmUSd3F24eAezNf0rfFbK9dPKRb1psjg 2548
llamafactory/model/model_utils/unsloth.py sha256=99o5bIqx3rN7N39LFmpZYZRTSyNqrifYQIqhNyItTMg 3476
llamafactory/model/model_utils/valuehead.py sha256=GynDid1pEO0SnqOvR9AHKiWx0ukJyqBycvFCHq89t1g 2768
llamafactory/model/model_utils/visual.py sha256=FVIr4Kr_2wTmv8NCC4ZuZ8g1FFDr4PWw0KlUc2XMAY0 8402
llamafactory/train/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/train/callbacks.py sha256=Ie6HAsz5J5ZjjMF1eG0XnXcQPCgwQdj9IoKQhrWztz8 14830
llamafactory/train/test_utils.py sha256=RKQae8u221Wm5nsyvUBUzTgsLfMIodo0tWGQan9lLTU 5013
llamafactory/train/trainer_utils.py sha256=yeENLZjrjFoh4UewBUotDWNcBUc2nL82OlTFWqHmWSc 19625
llamafactory/train/tuner.py sha256=_2cvW0n7JFiUZlybx2QZcPOKnq4WeYJoHQDsgXNn4TM 6071
llamafactory/train/dpo/__init__.py sha256=CW5mgjbNLq7oNQO61oaOknAJnNsfsgwhSKpDX1pGjVg 641
llamafactory/train/dpo/trainer.py sha256=AFu-yMANnqR_BkrWvXar7AK-xRPFm95V6-_AqKxM0oQ 13402
llamafactory/train/dpo/workflow.py sha256=0PnOpu4DseAbKhEDMOjx-emVM6xHz7J-9HpvwOn9AvI 4582
llamafactory/train/kto/__init__.py sha256=qJRlaqKCtKqaLv4AvQAl4wVm2H3afWaER2DyQggavT4 641
llamafactory/train/kto/trainer.py sha256=yM8dDEZdAg51HGgABaeQrS5al-1v2KC4apMNXkGg-jA 12800
llamafactory/train/kto/workflow.py sha256=vLVLUMg7QsETrMLqcc3CrabizrTOP8c0u_w1AmEK9jA 3872
llamafactory/train/ppo/__init__.py sha256=lLrCsSOiDbjw4ZCV3Mn9xGbZ17ujNtuxz7Jpux90gf8 641
llamafactory/train/ppo/ppo_utils.py sha256=teUFwr_UfpqsPqXTHuGtLM8ZobcDU7cucSY__2o0nT0 3405
llamafactory/train/ppo/trainer.py sha256=RucVGNyBtdS0uXjxBh8QbxPoal-NCPxGojaIeuXFE7w 23098
llamafactory/train/ppo/workflow.py sha256=RiT5rloTG2xmVVapSQvdN5mfIzkAaHm7OhlAEDR7caM 3382
llamafactory/train/pt/__init__.py sha256=RrdijeAAwDcRSIxz8QoaXf1hBO6fPXiJC0_FVX_KFuc 639
llamafactory/train/pt/trainer.py sha256=BNOql9x94ko6WQKXoXd9G0GN3_gzulUo3VOuP7tMmIQ 3161
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=OkRLGK5NNzBYRJ_TqN57vW75jg623POf5rQ7n3LMUHs 5503
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=LbUjujsTHblb864XSiPM9MmKu24xISxBfxTlOEbGu9E 7544
llamafactory/train/sft/workflow.py sha256=y7RY2f8cwNo1pKpch8towoZ6qvnY0SybzUBptdA942s 6263
llamafactory/webui/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
llamafactory/webui/chatter.py sha256=85ugiWqK4SqvPRRPpOJu-iILVcAUYvm786aezobckRc 6308
llamafactory/webui/common.py sha256=dTHlxwLBoqrXH34z_9_peJv_L-hVPx27vafi21J6BqY 6086
llamafactory/webui/css.py sha256=0jm7-YZS5yYInj0RgQWF1oN762UH8mHNaOxoCBBxiRM 1154
llamafactory/webui/engine.py sha256=wM8GxHcscgjd2A5--r9yvkh7tBTmhHg1M47PMX7Phgo 3226
llamafactory/webui/interface.py sha256=ruI5vV_RJwKGXny4Uwi6Giy7moED2JOscMXvBJMTY_Q 3776
llamafactory/webui/locales.py sha256=zsYujVhna5gTtG4sXkUFUAVC-8PcZEtOsOWvQOWOC_8 67528
llamafactory/webui/manager.py sha256=fUR5CtZlhwk3ao5Nm-EIA8264EjarrCkZa1WBdZZusk 2641
llamafactory/webui/runner.py sha256=aSF5IYv4vasfJ_vWt-i9Hbj-QdroivSyFgkDw_ClN88 19754
llamafactory/webui/utils.py sha256=ptdJpMs1HlJv9znd7PGS5YWod187Xv1lbIUoDyTBrYs 9743
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=WlWNBwhfxUPJ8vpaiR1Lg3rBstUBOwh7tUJE5Qhc3Og 4411
llamafactory/webui/components/eval.py sha256=GrbQLqPtGNCb9dj9R9iFc_mLtW7AMO7kOj4UWK_DOK4 3439
llamafactory/webui/components/export.py sha256=OFB7ufEvOZIQii95ehQaAphBHlLW5HOQzvQ5sH4aU4w 5322
llamafactory/webui/components/infer.py sha256=iihIiOTTRNs6oa6d7D0ji7gXlTNkhaxHzztvSXwiRFM 2441
llamafactory/webui/components/top.py sha256=FMNVqj9H86aTCz8MQXQPu9VRA6O4MPGOyBxIck_8jAc 3159
llamafactory/webui/components/train.py sha256=x_JEuRWJVFAOMVTTwTDVqERSKsM18Qk40C1wxwZboTY 13613
llamafactory-0.9.1.dist-info/LICENSE sha256=UOZ1F5fFDe3XXvG4oNnkL1-Ecun7zpHzRxjp-XsMeAo 11324
llamafactory-0.9.1.dist-info/METADATA sha256=yGpdvB2x7HdkhLwRfDpV3mP2RA2UGkTiJ9Cu1NFlS3U 56910
llamafactory-0.9.1.dist-info/WHEEL sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc 91
llamafactory-0.9.1.dist-info/entry_points.txt sha256=ZXh9CMwQaYNzrOUXuen1ybWm6muX0sUhAn51JUMVyxk 87
llamafactory-0.9.1.dist-info/top_level.txt sha256=CMDIFWbvRE-teAZKfzyRc1uDiQwF2Yhydpo4_Fu6fZ4 13
llamafactory-0.9.1.dist-info/RECORD

top_level.txt

llamafactory

entry_points.txt

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