Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

muonai
/
PULSE-2B

Text Generation
MLX
Safetensors
English
French
gemma2
pulse
4bit
quantized
fused
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use muonai/PULSE-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use muonai/PULSE-2B 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("muonai/PULSE-2B")
    
    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 Settings
  • LM Studio
  • MLX LM

    How to use muonai/PULSE-2B with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Interactive chat REPL
    mlx_lm.chat --model "muonai/PULSE-2B"
    Run an OpenAI-compatible server
    # Install MLX LM
    uv tool install mlx-lm
    # Start the server
    mlx_lm.server --model "muonai/PULSE-2B"
    # Calling the OpenAI-compatible server with curl
    curl -X POST "http://localhost:8080/v1/chat/completions" \
       -H "Content-Type: application/json" \
       --data '{
         "model": "muonai/PULSE-2B",
         "messages": [
           {"role": "user", "content": "Hello"}
         ]
       }'
  • Atomic Chat
PULSE-2B
1.51 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
muonai's picture
muonai
Update README.md
de145d9 verified 3 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 3 months ago
  • README.md
    2.2 kB
    Update README.md 3 months ago
  • chat_template.jinja
    591 Bytes
    Upload folder using huggingface_hub 3 months ago
  • config.json
    1.11 kB
    Upload folder using huggingface_hub 3 months ago
  • generation_config.json
    187 Bytes
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    1.47 GB
    xet
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors.index.json
    46.7 kB
    Upload folder using huggingface_hub 3 months ago
  • special_tokens_map.json
    636 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    34.4 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.model
    4.24 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • tokenizer_config.json
    46.4 kB
    Upload folder using huggingface_hub 3 months ago