prince-canuma's picture
8abccc25dd51333ceaa86dc2afd95b91c0da04dc87297374b52fc50a0446ada5
87db4c8 verified
|
raw
history blame
883 Bytes
metadata
language:
  - multilingual
library_name: transformers
license: mit
license_link: https://huggingface.co/microsoft/Phi-3.5-MoE-instruct/resolve/main/LICENSE
pipeline_tag: text-generation
tags:
  - nlp
  - code
  - mlx
widget:
  - messages:
      - role: user
        content: Can you provide ways to eat combinations of bananas and dragonfruits?

mlx-community/Phi-3.5-MoE-instruct-4bit

The Model mlx-community/Phi-3.5-MoE-instruct-4bit was converted to MLX format from microsoft/Phi-3.5-MoE-instruct using mlx-lm version 0.17.1.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/Phi-3.5-MoE-instruct-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)