language: | |
- en | |
license: mit | |
tags: | |
- nlp | |
- code | |
- mlx | |
- mlx | |
license_link: https://huggingface.co/microsoft/Phi-3-mini-4k-instruct/resolve/main/LICENSE | |
pipeline_tag: text-generation | |
inference: | |
parameters: | |
temperature: 0.0 | |
widget: | |
- messages: | |
- role: user | |
content: Can you provide ways to eat combinations of bananas and dragonfruits? | |
# lmbelo/Phi-3-mini-4k-Function-Calling | |
The Model [lmbelo/Phi-3-mini-4k-Function-Calling](https://huggingface.co/lmbelo/Phi-3-mini-4k-Function-Calling) was converted to MLX format from [lmbelo/Phi-3-mini-4k-instruct](https://huggingface.co/lmbelo/Phi-3-mini-4k-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/Phi-3-mini-4k-Function-Calling") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |