|
--- |
|
language: |
|
- en |
|
license: mit |
|
tags: |
|
- convAI |
|
- conversational |
|
- mlx |
|
license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE |
|
widget: |
|
- text: Hello who are you? |
|
example_title: Identity |
|
- text: What can you do? |
|
example_title: Capabilities |
|
- text: Create a fastapi endpoint to retrieve the weather given a zip code. |
|
example_title: Coding |
|
pipeline_tag: text-generation |
|
--- |
|
|
|
# mitkox/phi-2-super-OpenHermes-2.5-moe-mlx |
|
This model is a MoE merger of [`abacaj/phi-2-super`]() with [`g-ronimo/phi-2-OpenHermes-2.5`]() |
|
## Use with mlx |
|
|
|
```bash |
|
pip install mlx-lm |
|
``` |
|
|
|
```python |
|
from mlx_lm import load, generate |
|
|
|
model, tokenizer = load("mitkox/phi-2-super-OpenHermes-2.5-moe-mlx") |
|
response = generate(model, tokenizer, prompt="hello", verbose=True) |
|
``` |
|
|