lmbelo's picture
40b179af0d115fdf6e9e4d7abb3cce2525116ea96b2324a7973e0b713a82508e
33c4cbf verified
|
raw
history blame
No virus
890 Bytes
---
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)
```