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

Rand000mGuy
/
ak47

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use Rand000mGuy/ak47 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Rand000mGuy/ak47")
    
    prompt = "UNICODE\u0000\u0000H\u0000y\u0000p\u0000e\u0000r\u0000r\u0000e\u0000a\u0000l\u0000i\u0000s\u0000t\u0000i\u0000c\u0000 \u0000a\u0000r\u0000t\u0000 \u0000o\u0000f\u0000 \u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000A\u0000K\u0000-\u00004\u00007\u0000:\u00001\u0000.\u00005\u0000>\u0000"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
ak47
457 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Rand000mGuy's picture
Rand000mGuy
Add 2 files
c548fb2 verified 7 months ago
  • images
    Add 2 files 7 months ago
  • .gitattributes
    2.31 kB
    initial commit 7 months ago
  • AK-47.safetensors
    456 MB
    xet
    Add 2 files 7 months ago
  • README.md
    547 Bytes
    initial commit 7 months ago