phi-2-bash-v1 / README.md
ba8im's picture
Upload folder using huggingface_hub
868946c verified
---
language:
- en
license: mit
tags:
- nlp
- code
- mlx
license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE
pipeline_tag: text-generation
---
# ba8im/phi-2-bash-v1
This model was converted to MLX format from [`microsoft/phi-2`]().
Refer to the [original model card](https://huggingface.co/microsoft/phi-2) for more details on the model.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("ba8im/phi-2-bash-v1")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```