| library_name: transformers | |
| This model is an Instruction Tuned version of Llama 3.2 1B. | |
| ### How to use | |
| First, you need to install the latest version of transformers | |
| ``` | |
| pip install -Uq transformers | |
| ``` | |
| You can use this model directly with a pipeline for text generation: | |
| ```python | |
| from transformers import pipeline | |
| llama3_am = pipeline( | |
| "text-generation", | |
| model="meta/Llama-3.2-1B-Instruct", | |
| device_map="auto" | |
| ) | |
| ``` |