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

abnormalmapstudio
/
Qwen2.5-Coder-1.5B-Instruct-mxfp4-mlx

Text Generation
MLX
Safetensors
English
code
codeqwen
chat
qwen
qwen-coder
Model card Files Files and versions
xet
Community

Instructions to use abnormalmapstudio/Qwen2.5-Coder-1.5B-Instruct-mxfp4-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use abnormalmapstudio/Qwen2.5-Coder-1.5B-Instruct-mxfp4-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("abnormalmapstudio/Qwen2.5-Coder-1.5B-Instruct-mxfp4-mlx")
    
    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 abnormalmapstudio/Qwen2.5-Coder-1.5B-Instruct-mxfp4-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 "abnormalmapstudio/Qwen2.5-Coder-1.5B-Instruct-mxfp4-mlx" --prompt "Once upon a time"
Qwen2.5-Coder-1.5B-Instruct-mxfp4-mlx
836 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
abnormalmapstudio's picture
abnormalmapstudio
Add files using upload-large-folder tool
291d7ad verified 8 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 8 months ago
  • README.md
    1.11 kB
    Add files using upload-large-folder tool 8 months ago
  • SHA256SUMS
    1.01 kB
    Add files using upload-large-folder tool 8 months ago
  • added_tokens.json
    605 Bytes
    Add files using upload-large-folder tool 8 months ago
  • chat_template.jinja
    2.51 kB
    Add files using upload-large-folder tool 8 months ago
  • config.json
    914 Bytes
    Add files using upload-large-folder tool 8 months ago
  • generation_config.json
    242 Bytes
    Add files using upload-large-folder tool 8 months ago
  • merges.txt
    1.67 MB
    Add files using upload-large-folder tool 8 months ago
  • model.safetensors
    820 MB
    xet
    Add files using upload-large-folder tool 8 months ago
  • model.safetensors.index.json
    37.8 kB
    Add files using upload-large-folder tool 8 months ago
  • special_tokens_map.json
    613 Bytes
    Add files using upload-large-folder tool 8 months ago
  • tokenizer.json
    11.4 MB
    xet
    Add files using upload-large-folder tool 8 months ago
  • tokenizer_config.json
    4.69 kB
    Add files using upload-large-folder tool 8 months ago
  • vocab.json
    2.78 MB
    Add files using upload-large-folder tool 8 months ago