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

balllvin
/
Inkling-2-Mini-MLX

Text Generation
MLX
apple-silicon
metal-4
m5
Mixture of Experts
nvfp4
mxfp8
speculative-decoding
inkling-2-mini
Model card Files Files and versions
xet
Community

Instructions to use balllvin/Inkling-2-Mini-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use balllvin/Inkling-2-Mini-MLX 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("balllvin/Inkling-2-Mini-MLX")
    
    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 balllvin/Inkling-2-Mini-MLX with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "balllvin/Inkling-2-Mini-MLX" --prompt "Once upon a time"
  • Atomic Chat
Inkling-2-Mini-MLX / src /inkling_mlx
1.54 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
balllvin's picture
balllvin
Initial release: Inkling 2 Mini MLX and Metal 4 inference engine
00c0e18 verified 1 day ago
  • native
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • __init__.py
    79 Bytes
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • cli.py
    3.91 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • config.py
    5.74 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • engine.py
    69.5 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • fused.py
    64.2 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • kernels.py
    77.1 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • model.py
    48.2 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • moe_kernels.py
    80.2 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • mtp.py
    32.1 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • native_decode.py
    66.5 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • native_mtp.py
    18.8 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • parser.py
    19 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago
  • serve.py
    17.9 kB
    Initial release: Inkling 2 Mini MLX and Metal 4 inference engine 1 day ago