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

babkasotona
/
2b

Diffusers
Safetensors
Model card Files Files and versions
xet
Community

Instructions to use babkasotona/2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use babkasotona/2b with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("babkasotona/2b", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
2b
5.91 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
recoilme's picture
recoilme
init
a65b54e 21 days ago
  • scheduler
    init 21 days ago
  • text_encoder
    Upload folder using huggingface_hub about 1 month ago
  • tokenizer
    Upload folder using huggingface_hub about 1 month ago
  • transformer
    init 21 days ago
  • vae
    Upload folder using huggingface_hub about 1 month ago
  • .gitattributes
    1.75 kB
    init 21 days ago
  • .gitignore
    157 Bytes
    init 21 days ago
  • Untitled.ipynb
    5.11 kB
    Upload folder using huggingface_hub about 1 month ago
  • dataset-sdxs2b-1152.py
    10.6 kB
    init 21 days ago
  • dataset-sdxs2b-640.py
    10.3 kB
    init 21 days ago
  • dataset-sdxs2b.py
    10.6 kB
    Upload folder using huggingface_hub 29 days ago
  • dataset.py
    10.6 kB
    Upload folder using huggingface_hub about 1 month ago
  • dataset_sample.ipynb
    8.19 kB
    xet
    init 21 days ago
  • model_index.json
    448 Bytes
    Upload folder using huggingface_hub about 1 month ago
  • pipeline_sdxs.py
    10.2 kB
    init 21 days ago
  • pipeline_sdxs_t5.py
    12.7 kB
    Upload folder using huggingface_hub about 1 month ago
  • refined.jpg
    104 kB
    xet
    init 21 days ago
  • t.py
    5.4 kB
    Upload folder using huggingface_hub about 1 month ago
  • test.ipynb
    18.1 MB
    xet
    init 21 days ago
  • train-Copy1.py
    36.4 kB
    Upload folder using huggingface_hub about 1 month ago
  • train-new.py
    36.5 kB
    Upload folder using huggingface_hub 29 days ago
  • train-sdxs2b.py
    39.1 kB
    init 21 days ago