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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

midnightnow
/
macos-brain-lora-v1

Text Generation
MLX
English
lora
macos
macagent
apple-silicon
Model card Files Files and versions
xet
Community
1

Instructions to use midnightnow/macos-brain-lora-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use midnightnow/macos-brain-lora-v1 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("midnightnow/macos-brain-lora-v1")
    
    prompt = "Once upon a time in"
    text = generate(model, tokenizer, prompt=prompt, verbose=True)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • LM Studio
  • MLX LM

    How to use midnightnow/macos-brain-lora-v1 with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "midnightnow/macos-brain-lora-v1" --prompt "Once upon a time"
macos-brain-lora-v1
17.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
midnightnow's picture
midnightnow
Upload README.md with huggingface_hub
8ed8add verified 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • 0000100_adapters.safetensors
    5.88 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • 0000200_adapters.safetensors
    5.88 MB
    xet
    Upload folder using huggingface_hub 5 months ago
  • README.md
    1.91 kB
    Upload README.md with huggingface_hub 5 months ago
  • adapter_config.json
    941 Bytes
    Upload folder using huggingface_hub 5 months ago
  • adapters.safetensors
    5.88 MB
    xet
    Upload folder using huggingface_hub 5 months ago