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

Daizee
/
Dirty-Calla-4B-mlx

Text Generation
Safetensors
MLX
mlx-lm
gemma3
apple-silicon
instruction-tuned
Model card Files Files and versions
xet
Community

Instructions to use Daizee/Dirty-Calla-4B-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use Daizee/Dirty-Calla-4B-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("Daizee/Dirty-Calla-4B-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 Daizee/Dirty-Calla-4B-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 "Daizee/Dirty-Calla-4B-mlx" --prompt "Once upon a time"
Dirty-Calla-4B-mlx / mlx /int8
4.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Daizee's picture
Daizee
Upload MLX variant: int8
fd47002 verified 6 months ago
  • README.md
    81 Bytes
    Upload MLX variant: int8 6 months ago
  • chat_template.jinja
    1.53 kB
    Upload MLX variant: int8 6 months ago
  • config.json
    2.7 kB
    Upload MLX variant: int8 6 months ago
  • generation_config.json
    151 Bytes
    Upload MLX variant: int8 6 months ago
  • model.safetensors
    4.12 GB
    xet
    Upload MLX variant: int8 6 months ago
  • model.safetensors.index.json
    79.8 kB
    Upload MLX variant: int8 6 months ago
  • special_tokens_map.json
    1.89 kB
    Upload MLX variant: int8 6 months ago
  • tokenizer.json
    33.4 MB
    xet
    Upload MLX variant: int8 6 months ago
  • tokenizer_config.json
    1.17 MB
    Upload MLX variant: int8 6 months ago