================ torchtune.models ================ .. currentmodule:: torchtune.models llama3 ------ All models from the `Llama3 family `_. .. code-block:: bash tune download meta-llama/Meta-Llama-3-8B --hf-token .. autosummary:: :toctree: generated/ :nosignatures: llama3.llama3_8b llama3.lora_llama3_8b llama3.qlora_llama3_8b llama2 ------ All models from the `Llama2 family `_. Pre-trained models can be downloaded from the Hugging Face Hub with the following command: .. code-block:: bash tune download meta-llama/Llama-2-7b-hf --hf-token .. autosummary:: :toctree: generated/ :nosignatures: llama2.llama2_7b llama2.lora_llama2_7b llama2.qlora_llama2_7b llama2.llama2_13b llama2.lora_llama2_13b llama2.qlora_llama2_13b llama2.llama2_70b llama2.lora_llama2_70b mistral ------- All models from `Mistral AI family `_. Pre-trained models can be downloaded from the Hugging Face Hub with the following command: .. code-block:: bash tune download mistralai/Mistral-7B-v0.1 .. autosummary:: :toctree: generated/ :nosignatures: mistral.mistral_7b mistral.lora_mistral_7b mistral.qlora_mistral_7b gemma ----- All models from the `Gemma family `_. Pre-trained models can be downloaded from the Hugging Face Hub with the following command: .. code-block:: bash tune download google/gemma-2b --hf-token --ignore-patterns "" .. autosummary:: :toctree: generated/ :nosignatures: gemma.gemma_2b