| license: cc-by-sa-4.0 | |
| tags: | |
| - code | |
| - mlx | |
| metrics: | |
| - accuracy | |
| pipeline_tag: text-generation | |
| # ucalyptus/llama-3-sqlcoder-8b-MLX | |
| This model was converted to MLX format from [`defog/llama-3-sqlcoder-8b`](). | |
| Refer to the [original model card](https://huggingface.co/defog/llama-3-sqlcoder-8b) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install mlx-lm | |
| ``` | |
| ```python | |
| from mlx_lm import load, generate | |
| model, tokenizer = load("ucalyptus/llama-3-sqlcoder-8b-MLX") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |