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

graelo
/
Devstral-Small-2507-6bits

Text Generation
MLX
Safetensors
mistral
vllm
6-bit
Model card Files Files and versions
xet
Community

Instructions to use graelo/Devstral-Small-2507-6bits with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use graelo/Devstral-Small-2507-6bits 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("graelo/Devstral-Small-2507-6bits")
    
    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 graelo/Devstral-Small-2507-6bits with MLX LM:

    Generate or start a chat session
    # Install MLX LM
    uv tool install mlx-lm
    # Generate some text
    mlx_lm.generate --model "graelo/Devstral-Small-2507-6bits" --prompt "Once upon a time"
Devstral-Small-2507-6bits
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
graelo's picture
graelo
Add files using upload-large-folder tool
b63f3fb verified 9 months ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool 9 months ago
  • README.md
    1.18 kB
    Add files using upload-large-folder tool 9 months ago
  • config.json
    846 Bytes
    Add files using upload-large-folder tool 9 months ago
  • generation_config.json
    132 Bytes
    Add files using upload-large-folder tool 9 months ago
  • model-00001-of-00004.safetensors
    5.37 GB
    xet
    Add files using upload-large-folder tool 9 months ago
  • model-00002-of-00004.safetensors
    5.29 GB
    xet
    Add files using upload-large-folder tool 9 months ago
  • model-00003-of-00004.safetensors
    5.28 GB
    xet
    Add files using upload-large-folder tool 9 months ago
  • model-00004-of-00004.safetensors
    3.21 GB
    xet
    Add files using upload-large-folder tool 9 months ago
  • model.safetensors.index.json
    79.4 kB
    Add files using upload-large-folder tool 9 months ago
  • tekken.json
    19.4 MB
    xet
    Add files using upload-large-folder tool 9 months ago