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

Lorenzob
/
astra

Text Generation
Diffusers
llm
Model card Files Files and versions
xet

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

  • Libraries
  • Diffusers

    How to use Lorenzob/astra with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("Lorenzob/astra", torch_dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "My name is Julien and I like to"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
astra / doc /source /examples
9 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Lorenzob's picture
Lorenzob
Upload folder using huggingface_hub
859a779 verified over 2 years ago
  • apt-cdrom.py
    2.44 kB
    Upload folder using huggingface_hub over 2 years ago
  • cache-packages.py
    502 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • cache-pkgfile.py
    882 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • dpkg-contents.py
    1.9 kB
    Upload folder using huggingface_hub over 2 years ago
  • dpkg-extract.py
    639 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • dpkg-info.py
    480 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • missing-deps.py
    1.64 kB
    Upload folder using huggingface_hub over 2 years ago
  • update-print-uris.py
    531 Bytes
    Upload folder using huggingface_hub over 2 years ago