| license: other | |
| tags: | |
| - mlx | |
| - mlx | |
| license_name: apple-sample-code-license | |
| license_link: LICENSE | |
| # lmbelo/OpenELM-270M-Function-Calling | |
| The Model [lmbelo/OpenELM-270M-Function-Calling](https://huggingface.co/lmbelo/OpenELM-270M-Function-Calling) was converted to MLX format from [lmbelo/OpenELM-270M-Instruct](https://huggingface.co/lmbelo/OpenELM-270M-Instruct) using mlx-lm version **0.13.1**. | |
| ## Use with mlx | |
| ```bash | |
| pip install mlx-lm | |
| ``` | |
| ```python | |
| from mlx_lm import load, generate | |
| model, tokenizer = load("lmbelo/OpenELM-270M-Function-Calling") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |