Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

mlx-community
/
ether0-4bit

Text Generation
MLX
Safetensors
English
mistral
smiles
chemistry
reasoning
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/ether0-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/ether0-4bit with MLX:

    # Make sure mlx-lm is installed
    # pip install --upgrade mlx-lm
    
    # Generate text with mlx-lm
    from mlx_lm import load, generate
    
    model, tokenizer = load("mlx-community/ether0-4bit")
    
    prompt = "Write a story about Einstein"
    messages = [{"role": "user", "content": prompt}]
    prompt = tokenizer.apply_chat_template(
        messages, add_generation_prompt=True
    )
    
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use mlx-community/ether0-4bit with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "mlx-community/ether0-4bit"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "mlx-community/ether0-4bit"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8000/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "mlx-community/ether0-4bit",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
ether0-4bit
14.8 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
warshanks's picture
warshanks
Add files using upload-large-folder tool
ad00e49 verified 11 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 11 months ago
  • README.md
    884 Bytes
    Add files using upload-large-folder tool 11 months ago
  • chat_template.jinja
    903 Bytes
    Add files using upload-large-folder tool 11 months ago
  • config.json
    820 Bytes
    Add files using upload-large-folder tool 11 months ago
  • generation_config.json
    155 Bytes
    Add files using upload-large-folder tool 11 months ago
  • model-00001-of-00003.safetensors
    5.32 GB
    xet
    Add files using upload-large-folder tool 11 months ago
  • model-00002-of-00003.safetensors
    5.32 GB
    xet
    Add files using upload-large-folder tool 11 months ago
  • model-00003-of-00003.safetensors
    4.1 GB
    xet
    Add files using upload-large-folder tool 11 months ago
  • model.safetensors.index.json
    79.4 kB
    Add files using upload-large-folder tool 11 months ago
  • special_tokens_map.json
    21.3 kB
    Add files using upload-large-folder tool 11 months ago
  • tokenizer.json
    17.1 MB
    xet
    Add files using upload-large-folder tool 11 months ago
  • tokenizer_config.json
    199 kB
    Add files using upload-large-folder tool 11 months ago