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

  • Log In
  • Sign Up

Deviad
/
DeepSeek-V4-Flash-MLX-Q4Q8

Text Generation
MLX
Safetensors
English
Chinese
deepseek_v4
apple-silicon
deepseek
deepseek-v4
mixture-of-experts
Mixture of Experts
quantized
4-bit precision
8-bit precision
affine
Model card Files Files and versions
xet
Community

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

  • Libraries
  • MLX

    How to use Deviad/DeepSeek-V4-Flash-MLX-Q4Q8 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("Deviad/DeepSeek-V4-Flash-MLX-Q4Q8")
    
    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 Deviad/DeepSeek-V4-Flash-MLX-Q4Q8 with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "Deviad/DeepSeek-V4-Flash-MLX-Q4Q8" --prompt "Once upon a time"
DeepSeek-V4-Flash-MLX-Q4Q8 / encoding /tests
19.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Deviad's picture
Deviad
Add files using upload-large-folder tool
399a4fb verified 9 days ago
  • test_input_1.json
    2.75 kB
    Add files using upload-large-folder tool 9 days ago
  • test_input_2.json
    526 Bytes
    Add files using upload-large-folder tool 9 days ago
  • test_input_3.json
    4.55 kB
    Add files using upload-large-folder tool 9 days ago
  • test_input_4.json
    2.73 kB
    Add files using upload-large-folder tool 9 days ago
  • test_output_1.txt
    2.39 kB
    Add files using upload-large-folder tool 9 days ago
  • test_output_2.txt
    342 Bytes
    Add files using upload-large-folder tool 9 days ago
  • test_output_3.txt
    3.31 kB
    Add files using upload-large-folder tool 9 days ago
  • test_output_4.txt
    2.55 kB
    Add files using upload-large-folder tool 9 days ago