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

  • Log In
  • Sign Up

TensorFold
/
DeepSeek-V4.1-Flash-MLX-2bit-MTP

Text Generation
MLX
Safetensors
deepseek_v41
apple-silicon
deepseek-v41
quantized
2-bit
mtp
experimental
Model card Files Files and versions
xet
Community

Instructions to use TensorFold/DeepSeek-V4.1-Flash-MLX-2bit-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use TensorFold/DeepSeek-V4.1-Flash-MLX-2bit-MTP 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("TensorFold/DeepSeek-V4.1-Flash-MLX-2bit-MTP")
    
    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 TensorFold/DeepSeek-V4.1-Flash-MLX-2bit-MTP with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "TensorFold/DeepSeek-V4.1-Flash-MLX-2bit-MTP" --prompt "Once upon a time"
  • Atomic Chat
DeepSeek-V4.1-Flash-MLX-2bit-MTP / runtime
87 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
ashxhart's picture
ashxhart
Release experimental MLX 2-bit weights with native MTP tensors
802f1a0 verified about 1 month ago
  • README.md
    2.48 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • dspark.py
    6.57 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • encoding.py
    35.3 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • generate.py
    4.22 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • requirements.txt
    58 Bytes
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • runtime.py
    23.7 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • test_dspark.py
    3.13 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • test_generate.py
    1.52 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago
  • test_runtime.py
    9.94 kB
    Release experimental MLX 2-bit weights with native MTP tensors about 1 month ago