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

  • Log In
  • Sign Up

mlx-community
/
DeepSeek-V4-Flash

Text Generation
MLX
Safetensors
English
deepseek_v4
8-bit precision
Model card Files Files and versions
xet
Community

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

  • Libraries
  • MLX

    How to use mlx-community/DeepSeek-V4-Flash 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")
    
    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 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" --prompt "Once upon a time"
DeepSeek-V4-Flash
1.54 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
RyuichiLT's picture
RyuichiLT
initial commit
1cc96b3 verified 17 days ago
  • .gitattributes
    1.52 kB
    initial commit 17 days ago
  • README.md
    24 Bytes
    initial commit 17 days ago