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

Mohak9
/
nikep42

Text-to-Image
Diffusers
diffusers-training
lora
flux2-klein
flux2-klein-diffusers
template:sd-lora
Model card Files Files and versions
xet
Community

Instructions to use Mohak9/nikep42 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Mohak9/nikep42 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-base-9B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Mohak9/nikep42")
    
    prompt = "a photo of nikep42"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
nikep42
33.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Mohak9's picture
Mohak9
End of training
0a171e7 verified about 2 months ago
  • checkpoint-500
    End of training about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    2.13 kB
    End of training about 2 months ago
  • pytorch_lora_weights.safetensors
    8.4 MB
    xet
    End of training about 2 months ago