Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mlx-community
/
OpenHermes-2.5-Mistral-7B

Text Generation
MLX
English
mlx-llm
mistral
openhermes
Model card Files Files and versions
xet
Community
1

Instructions to use mlx-community/OpenHermes-2.5-Mistral-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/OpenHermes-2.5-Mistral-7B 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("mlx-community/OpenHermes-2.5-Mistral-7B")
    
    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 mlx-community/OpenHermes-2.5-Mistral-7B with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "mlx-community/OpenHermes-2.5-Mistral-7B" --prompt "Once upon a time"
OpenHermes-2.5-Mistral-7B
18.7 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 13 commits
riccardomusmeci's picture
riccardomusmeci
Upload weights_4bit.npz with huggingface_hub
10ce7e1 verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.3 kB
    Update README.md over 2 years ago
  • config.json
    624 Bytes
    Upload config.json over 2 years ago
  • tokenizer.model
    493 kB
    xet
    Upload tokenizer.model over 2 years ago
  • weights.npz

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    14.5 GB
    xet
    Upload weights.npz with huggingface_hub over 2 years ago
  • weights_4bit.npz

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    4.26 GB
    xet
    Upload weights_4bit.npz with huggingface_hub over 2 years ago