--- language: - code license: llama2 tags: - llama-2 - mlx pipeline_tag: text-generation --- ![Alt text](https://cdn.discordapp.com/attachments/989904887330521099/1201650708961837076/DALLE_Jan_29_Illustration.png?ex=65ca976e&is=65b8226e&hm=4cfd02ccba0f5287b51d2272be63f47c501baac42db9517f56a492c69774ed32&) # mlx-community/CodeLlama-13b-Python-4bit This model was converted to MLX format from [`codellama/CodeLlama-13b-Python-hf`](). Refer to the [original model card](https://huggingface.co/codellama/CodeLlama-13b-Python-hf) for more details on the model. ## Use with mlx ```bash pip install mlx-lm ``` ```python from mlx_lm import load, generate model, tokenizer = load("mlx-community/CodeLlama-13b-Python-4bit") response = generate(model, tokenizer, prompt="hello", verbose=True) ```