| language: | |
| - ko | |
| - en | |
| license: cc-by-sa-3.0 | |
| library_name: transformers | |
| tags: | |
| - mlx | |
| datasets: | |
| - wikimedia/wikipedia | |
| - maywell/korean_textbooks | |
| - nampdn-ai/tiny-codes | |
| - Open-Orca/OpenOrca | |
| inference: false | |
| # sosoai/phi-2-ko-mlx | |
| This model was converted to MLX format from [`daekeun-ml/phi-2-ko-v0.1`](). | |
| Refer to the [original model card](https://huggingface.co/daekeun-ml/phi-2-ko-v0.1) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install mlx-lm | |
| ``` | |
| ```python | |
| from mlx_lm import load, generate | |
| model, tokenizer = load("sosoai/phi-2-ko-mlx") | |
| response = generate(model, tokenizer, prompt="hello", verbose=True) | |
| ``` | |