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

mlx-community
/
DeepSeek-V4-Flash-MTP-bf16

Text Generation
MLX
Safetensors
English
deepseek_v4_mtp
mlx-vlm
deepseek-v4
deepseek-v4-flash
mtp
speculative-decoding
draft-model
8-bit precision
Model card Files Files and versions
xet
Community

Instructions to use mlx-community/DeepSeek-V4-Flash-MTP-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/DeepSeek-V4-Flash-MTP-bf16 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/DeepSeek-V4-Flash-MTP-bf16")
    
    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 mlx-community/DeepSeek-V4-Flash-MTP-bf16 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/DeepSeek-V4-Flash-MTP-bf16" --prompt "Once upon a time"
DeepSeek-V4-Flash-MTP-bf16
3.61 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
prince-canuma's picture
prince-canuma
Update MTP block size in model card
109ffa7 verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    1.83 kB
    Update MTP block size in model card 4 days ago
  • config.json
    5.1 kB
    Set MTP block size to 2 4 days ago
  • generation_config.json
    170 Bytes
    Upload DeepSeek V4 Flash MTP bf16 weights 4 days ago
  • model.safetensors
    3.6 GB
    xet
    Upload DeepSeek V4 Flash MTP bf16 weights 4 days ago
  • tokenizer.json
    6.37 MB
    Upload DeepSeek V4 Flash MTP bf16 weights 4 days ago
  • tokenizer_config.json
    801 Bytes
    Upload DeepSeek V4 Flash MTP bf16 weights 4 days ago