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 / web /node_modules /mkdirp
21.4 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Lorenzob's picture
Lorenzob
Upload folder using huggingface_hub
19605ab verified over 2 years ago
  • bin
    Upload folder using huggingface_hub over 2 years ago
  • examples
    Upload folder using huggingface_hub over 2 years ago
  • test
    Upload folder using huggingface_hub over 2 years ago
  • .travis.yml
    116 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • LICENSE
    1.14 kB
    Upload folder using huggingface_hub over 2 years ago
  • index.js
    2.63 kB
    Upload folder using huggingface_hub over 2 years ago
  • package.json
    699 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • readme.markdown
    2.1 kB
    Upload folder using huggingface_hub over 2 years ago