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", 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 / LLaMA-Factory /src /llmtuner /data
97 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Lorenzob's picture
Lorenzob
Upload folder using huggingface_hub
9031f04 verified over 2 years ago
  • __pycache__
    Upload folder using huggingface_hub over 2 years ago
  • __init__.py
    235 Bytes
    Upload folder using huggingface_hub over 2 years ago
  • aligner.py
    4.35 kB
    Upload folder using huggingface_hub over 2 years ago
  • formatter.py
    5.08 kB
    Upload folder using huggingface_hub over 2 years ago
  • loader.py
    7.79 kB
    Upload folder using huggingface_hub over 2 years ago
  • parser.py
    4 kB
    Upload folder using huggingface_hub over 2 years ago
  • preprocess.py
    10.7 kB
    Upload folder using huggingface_hub over 2 years ago
  • template.py
    21.7 kB
    Upload folder using huggingface_hub over 2 years ago
  • utils.py
    2.55 kB
    Upload folder using huggingface_hub over 2 years ago