| language: | |
| - en | |
| license: mit | |
| tags: | |
| - nlp | |
| - code | |
| - mlx | |
| license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE | |
| pipeline_tag: text-generation | |
| # math-phi-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 | |
| git clone https://github.com/ml-explore/mlx-examples.git | |
| cd mlx-examples/llms/hf_llm | |
| python generate.py --model mlx-community/math-phi-v1 --prompt "My name is" | |
| ``` | |