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

mlx-community
/
DeepSeek-R1-Distill-Qwen-14B-MLX

Text Generation
MLX
Safetensors
English
chat
conversations
Model card Files Files and versions
xet
Community
2

Instructions to use mlx-community/DeepSeek-R1-Distill-Qwen-14B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mlx-community/DeepSeek-R1-Distill-Qwen-14B-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("mlx-community/DeepSeek-R1-Distill-Qwen-14B-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 mlx-community/DeepSeek-R1-Distill-Qwen-14B-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 "mlx-community/DeepSeek-R1-Distill-Qwen-14B-MLX" --prompt "Once upon a time"
DeepSeek-R1-Distill-Qwen-14B-MLX / DeepSeek-R1-Distill-Qwen-14B-float16
29.6 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
sealad886's picture
sealad886
Add files using upload-large-folder tool
9774084 verified over 1 year ago
  • config.json
    715 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • model-00001-of-00006.safetensors
    5.27 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00002-of-00006.safetensors
    5.36 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00003-of-00006.safetensors
    5.36 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00004-of-00006.safetensors
    5.24 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00005-of-00006.safetensors
    5.36 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00006-of-00006.safetensors
    2.94 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model.safetensors.index.json
    49.8 kB
    Add files using upload-large-folder tool over 1 year ago
  • special_tokens_map.json
    485 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer.json
    11.4 MB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer_config.json
    6.77 kB
    Add files using upload-large-folder tool over 1 year ago