Instructions to use marcel/phi-2-openhermes-30k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use marcel/phi-2-openhermes-30k with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("marcel/phi-2-openhermes-30k") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use marcel/phi-2-openhermes-30k with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "marcel/phi-2-openhermes-30k" --prompt "Once upon a time"
- Atomic Chat
Commit History
-
Adding Evaluation Results (#1)
Verified signature- Adding Evaluation Results (73416ba4672b32b1f81f45f499b1b2c4ab333fce) Co-authored-by: Open LLM Leaderboard PR Bot <leaderboard-pr-bot@users.noreply.huggingface.co>a8bd632
-
Upload folder using huggingface_hub
Verified signaturee09a1fa -
Upload folder using huggingface_hub
Verified signature02ce5c7 -
initial commit
Verified signaturea75d3c0