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

Duplicated from  unsloth/FLUX.2-klein-4B-GGUF

biali
/
flux-2-klein-4b

Image-to-Image
Diffusers
Safetensors
GGUF
Diffusion Single File
English
ggml
text-to-image
unsloth
image-editing
flux
Model card Files Files and versions
xet
Community

Instructions to use biali/flux-2-klein-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusion Single File

    How to use biali/flux-2-klein-4b with Diffusion Single File:

    # No code snippets available yet for this library.
    
    # To use this model, check the repository files and the library's documentation.
    
    # Want to help? PRs adding snippets are welcome at:
    # https://github.com/huggingface/huggingface.js
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use biali/flux-2-klein-4b with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for biali/flux-2-klein-4b to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for biali/flux-2-klein-4b to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for biali/flux-2-klein-4b to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="biali/flux-2-klein-4b",
        max_seq_length=2048,
    )
flux-2-klein-4b
2 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 20 commits
biali's picture
biali
Upload diffusion_pytorch_model.safetensors
17eb464 verified 11 days ago
  • .gitattributes
    2.66 kB
    Duplicate from unsloth/FLUX.2-klein-4B-GGUF 11 days ago
  • LICENSE.md
    9.58 kB
    Duplicate from unsloth/FLUX.2-klein-4B-GGUF 11 days ago
  • README.md
    11.2 kB
    Duplicate from unsloth/FLUX.2-klein-4B-GGUF 11 days ago
  • diffusion_pytorch_model.safetensors

    Pickle imports

    • No problematic imports detected

    What is a pickle import?

    168 MB
    xet
    Upload diffusion_pytorch_model.safetensors 11 days ago
  • flux-2-klein-4b-Q2_K.gguf
    1.83 GB
    xet
    Duplicate from unsloth/FLUX.2-klein-4B-GGUF 11 days ago