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

kythours
/
tok

Text-to-Image
Diffusers
flux
lora
template:sd-lora
fluxgym
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use kythours/tok 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.1-dev", torch_dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("kythours/tok")
    
    prompt = "tok_man"
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
tok
79.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
kythours's picture
kythours
Upload folder using huggingface_hub
6eb1ace verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    652 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • dataset.toml
    252 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • sample_prompts.txt
    27 Bytes
    Upload folder using huggingface_hub about 1 year ago
  • tok-000004.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • tok-000008.safetensors
    39.8 MB
    xet
    Upload folder using huggingface_hub about 1 year ago
  • train.sh
    1.15 kB
    Upload folder using huggingface_hub about 1 year ago