llama-recipes

View on PyPIReverse Dependencies (2)

0.0.4.post1 llama_recipes-0.0.4.post1-py3-none-any.whl

Wheel Details

Project: llama-recipes
Version: 0.0.4.post1
Filename: llama_recipes-0.0.4.post1-py3-none-any.whl
Download: [link]
Size: 1039844
MD5: f50503468240045a5e24e2f9488d8611
SHA256: 924ea2b6d9d2b4cef6d9d767f2ecbe59d75623bf2c9904b51e007ebab80e0de9
Uploaded: 2024-09-26 19:24:59 +0000

dist-info

METADATA

Metadata-Version: 2.3
Name: llama-recipes
Version: 0.0.4.post1
Summary: Llama-recipes is a companion project to the Llama models. It's goal is to provide examples to quickly get started with fine-tuning for domain adaptation and how to run inference for the fine-tuned models.
Author-Email: Hamid Shojanazeri <hamidnazeri[at]meta.com>, Matthias Reso <mreso[at]meta.com>, Geeta Chauhan <gchauhan[at]meta.com>
Project-Url: Homepage, https://github.com/facebookresearch/llama-recipes/
Project-Url: Bug Tracker, https://github.com/facebookresearch/llama-recipes/issues
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: accelerate
Requires-Dist: appdirs
Requires-Dist: bitsandbytes
Requires-Dist: black
Requires-Dist: black[jupyter]
Requires-Dist: chardet
Requires-Dist: codeshield
Requires-Dist: datasets
Requires-Dist: evaluate
Requires-Dist: faiss-gpu; python_version < "3.11"
Requires-Dist: fire
Requires-Dist: loralib
Requires-Dist: matplotlib
Requires-Dist: openai
Requires-Dist: optimum
Requires-Dist: peft
Requires-Dist: py7zr
Requires-Dist: pyyaml (==6.0.1)
Requires-Dist: rouge-score
Requires-Dist: scipy
Requires-Dist: sentence-transformers
Requires-Dist: sentencepiece
Requires-Dist: tabulate
Requires-Dist: torch (>=2.2)
Requires-Dist: transformers (>=4.45.1)
Requires-Dist: typing-extensions (==4.8.0)
Requires-Dist: unstructured[pdf]
Requires-Dist: auditnlg; extra == "auditnlg"
Requires-Dist: langchain; extra == "langchain"
Requires-Dist: langchain-community; extra == "langchain"
Requires-Dist: langchain-openai; extra == "langchain"
Requires-Dist: pytest-mock; extra == "tests"
Requires-Dist: vllm; extra == "vllm"
Provides-Extra: auditnlg
Provides-Extra: langchain
Provides-Extra: tests
Provides-Extra: vllm
Description-Content-Type: text/markdown
[Description omitted; length: 10141 characters]

WHEEL

Wheel-Version: 1.0
Generator: hatchling 1.25.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
llama_recipes/finetuning.py sha256=PzIUwWdmaNOrriEiKRM6RpxujL7et-hHUjXbheobAl0 14242
llama_recipes/configs/__init__.py sha256=Hw9FaBOikRCw5leKKXgiyK_SYLvo9AuzULsGXKI1pjw 480
llama_recipes/configs/datasets.py sha256=YJGOdQF3jBWY3Sgb3b911gKK38YeHE7gIqOXyCqn9cQ 1213
llama_recipes/configs/fsdp.py sha256=GzMSdClyduDfswegClvwLSKzGWTQENmOVutUgx9sL1M 1551
llama_recipes/configs/peft.py sha256=8RTkoBFEeuLswBu82uy_4VCTVtaj3k9_lnFbT1e3Cik 775
llama_recipes/configs/quantization.py sha256=yckxWErsam9CKW7TpZsrGz7_C1a64_hDgNNL2qKsV5M 1187
llama_recipes/configs/training.py sha256=v33omfuB_OMPqO2fUkK5HFX7BNtYmlx-qA0jomPmKRs 2684
llama_recipes/configs/wandb.py sha256=t6hrcf8cWIEsLWaYNAJqRXD1diLrRP2Dez6_TxNOnt8 547
llama_recipes/data/__init__.py sha256=ENhkV5jjNVW-9ziIqV-2l_mX6inhZfx4LJBfUdIo93Q 163
llama_recipes/data/concatenator.py sha256=dXnxmIwJA3WNDxl6-OXsr0MlXIz9cF5bFQUgFkwYARc 1070
llama_recipes/data/sampler.py sha256=b17APCrLAUq_AaYw9mvKPPSmcGNI_3TmMkToJ_6Cjy0 2090
llama_recipes/data/llama_guard/README.md sha256=rAv5KF4AoHqhx-PbJer-i70XePPw4DbthlRFuhThu24 5245
llama_recipes/data/llama_guard/__init__.py sha256=Vyiz3xITfOajHQsoNQgkDTt-2tXiuwmCuheEFAdDUAo 157
llama_recipes/data/llama_guard/finetuning_data_formatter.py sha256=2HNY_UrYnxELGsrh5Nb_Mbl3Cv1Hultj1VCA0N4mNfQ 14193
llama_recipes/data/llama_guard/finetuning_data_formatter_example.py sha256=Lvp5YiAFZGdYvdtf87JYTVNFPJPPxj5yEGKKxbgl9p8 3580
llama_recipes/datasets/__init__.py sha256=PRssHGm-DclBU4GtC4RXKzxl-HDvuOsNxjMWEylpyDY 1035
llama_recipes/datasets/alpaca_dataset.py sha256=KofSwa69bhHmtZ1KY1ufSMzojFdQP7oGzRbQQ55ngr8 2376
llama_recipes/datasets/custom_dataset.py sha256=DE9NVKFTnedHpvLV84ly9OSiXNYdEBIKWsXYJmsKd6Q 2231
llama_recipes/datasets/samsum_dataset.py sha256=ClcfNxD1_qtQ6_1w7vnkR_nKjEWIPIYpWtFCwmwjJtM 1747
llama_recipes/datasets/toxicchat_dataset.py sha256=ROhtyF_aNhJcdHggJ-Sryuk-1At63MHilZ4kNEKh99I 5327
llama_recipes/datasets/grammar_dataset/__init__.py sha256=avi8EkvpBV5aVnZU7lrJtOfZmdC2j2QlCxAKb1TQ8Ug 165
llama_recipes/datasets/grammar_dataset/grammar_dataset.py sha256=Wr5mIGfsdOlnbhsY6w5AZe9Q0p-fVnOcRL2X0E1uGXU 2689
llama_recipes/datasets/grammar_dataset/grammar_dataset_process.ipynb sha256=hzQ5Bgx2c7zG-XwmZIRav6Vq2g4jmwQRunodoJfZGTA 10596
llama_recipes/datasets/grammar_dataset/grammar_validation.csv sha256=VMgUEqoylxuVBdMJsP1ORPmm4l62jh19gbJZ_0TFhBE 577471
llama_recipes/datasets/grammar_dataset/gtrain_10k.csv sha256=24x4UWtz-Q4JbG9YIvLioX1IMrIXAxYF3YRLsX_A2xM 3256694
llama_recipes/inference/__init__.py sha256=ENhkV5jjNVW-9ziIqV-2l_mX6inhZfx4LJBfUdIo93Q 163
llama_recipes/inference/chat_utils.py sha256=zWjKCiNrmbVzCYwlSzGP0Ifw1j3qVcra7TUD_l0mNck 309
llama_recipes/inference/checkpoint_converter_fsdp_hf.py sha256=PjtTTRFlQ-fgI7ao46ECSaaiQdAJyrHy1M55sUHSL1M 2586
llama_recipes/inference/llm.py sha256=mbjjbv_La1gsIzi9cY8VyEfSmls3zgbIIWzKkgtzdxo 6252
llama_recipes/inference/model_utils.py sha256=5BzBW4AXrWvNRGGH1syBUZmpI21a8OEqteiTtNu47Tk 1852
llama_recipes/inference/prompt_format_utils.py sha256=7LE1ZxLe5YCNJJFR2mw0XZuvW29vYDm2KI57NlSCxJU 16620
llama_recipes/inference/safety_utils.py sha256=Y8WifdGFajh-mAg4147crwBWR0o989KSM603f-EwbHk 8714
llama_recipes/model_checkpointing/__init__.py sha256=OXklADHqpb8B_GS-ihbY7BS06kVibZ84V1-U3ebvm14 509
llama_recipes/model_checkpointing/checkpoint_handler.py sha256=P9JIqcXz-KXednnlaoCCEQ0ONjFRw5bqHEGp2nBqNRw 8467
llama_recipes/policies/__init__.py sha256=HHjuxk3Ezag1htVKtZA9CIulkloTyZdjyDr8FFKI4zw 435
llama_recipes/policies/activation_checkpointing_functions.py sha256=0-1e2G2N-vpeJG8z351vVBbucKcZjyx7kpVnibkgXSQ 924
llama_recipes/policies/anyprecision_optimizer.py sha256=FO4SjuYscq3NsJuoXlgHi-egClCNJ6RqHKc06vBUGxE 6885
llama_recipes/policies/mixed_precision.py sha256=Dkr93NLjfPKi9Cxm0W6vlKlijOuxkIVJOBVMHf4DE54 949
llama_recipes/policies/wrapping.py sha256=5SYytJxhGVZNXNXZoTEkWRtA9BbDFQ87VwV8JRd19wk 1243
llama_recipes/tools/README.md sha256=JfyH6FagGc81uWibgssaYQ4BAyZI8DWlAnzJqooz87g 1078
llama_recipes/tools/compare_llama_weights.py sha256=qdKWezwZgPJgA6cPa6Ig97ZD1rHhxhb7neoWXF8CjfI 1713
llama_recipes/tools/convert_hf_weights_to_llama.py sha256=NH_xguqnimSxEg56NWgwUgQZ2AF9l9YfiQI-r0XfV20 5621
llama_recipes/utils/__init__.py sha256=KUvJo5r73VA9jAV_OvY0FzCGXK98hdTgKM9pq-cLoFU 398
llama_recipes/utils/config_utils.py sha256=b9X9m2PlvNoxR9u9RElqC78xQ4CgJ2Vc2agmGi0-Wkw 5089
llama_recipes/utils/dataset_utils.py sha256=smQQMQmqSRDrGfujlytu_D3cV2nzMed2Fv7SQeiueM0 1841
llama_recipes/utils/flop_utils.py sha256=cQ-K3_lY0IIbKHj1reS1Afp1EvgKyFI3m_myjJUqNpU 3502
llama_recipes/utils/fsdp_utils.py sha256=p6xrmHGS4QldwYjINA2Pq7kLoXSDQFtSaRS-qIuL4RA 3549
llama_recipes/utils/memory_utils.py sha256=NvYlUGV4ghC0S1th_fq76mn44W7zOWQXUnEpeA2FHTk 4106
llama_recipes/utils/plot_metrics.py sha256=Rcs7SoVdSX9lR4qo3WsFstUHF21xLnFsKNCEkdqlbJ0 2897
llama_recipes/utils/train_utils.py sha256=cA09GvEoreJAq1QmGvmvsn3ApK40Hml_ylszLFVcBig 26522
llama_recipes-0.0.4.post1.dist-info/METADATA sha256=58uC0NmQjphw4XJptHzwNyyAIBVU4wrHR47MLB_FlvA 12050
llama_recipes-0.0.4.post1.dist-info/WHEEL sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY 87
llama_recipes-0.0.4.post1.dist-info/RECORD