tfuchs-altermind's picture
Upload folder using huggingface_hub (#1)
376558d verified
|
raw
history blame
956 Bytes
metadata
language:
  - multilingual
license: mit
license_link: >-
  https://huggingface.co/microsoft/Phi-3-medium-128k-instruct/resolve/main/LICENSE
pipeline_tag: text-generation
tags:
  - nlp
  - code
  - mlx
inference:
  parameters:
    temperature: 0.7
widget:
  - messages:
      - role: user
        content: Can you provide ways to eat combinations of bananas and dragonfruits?

mlx-community/My-Phi-3-medium-128k-instruct-4bit

The Model mlx-community/My-Phi-3-medium-128k-instruct-4bit was converted to MLX format from microsoft/Phi-3-medium-128k-instruct using mlx-lm version 0.15.2.

Use with mlx

pip install mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("mlx-community/My-Phi-3-medium-128k-instruct-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)