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 / LLaMA-Factory /tests
24.6 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
  • cal_flops.py
    1.24 kB
    Upload folder using huggingface_hub over 2 years ago
  • cal_lr.py
    2.63 kB
    Upload folder using huggingface_hub over 2 years ago
  • llamafy_baichuan2.py
    3.78 kB
    Upload folder using huggingface_hub over 2 years ago
  • llamafy_internlm2.py
    5.05 kB
    Upload folder using huggingface_hub over 2 years ago
  • llamafy_qwen.py
    6.53 kB
    Upload folder using huggingface_hub over 2 years ago
  • loftq_init.py
    3.15 kB
    Upload folder using huggingface_hub over 2 years ago
  • test_toolcall.py
    2.17 kB
    Upload folder using huggingface_hub over 2 years ago