Downloads · 30 days
0
MalikAyaanAhmed1123/Air_waves_homo_1
Air_waves_homo_1 is a machine learning model from MalikAyaanAhmed1123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Airwaveshomo1 is an open, extensible repository scaffold for training a trillion-parameter image generation model based on latent diffusion (VAE + UNet + conditional text encoder). It is built to be trainable and fine…
Downloads · 30 days
0
Access
Public
Updated Oct 10, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.py22.6 KB · 72%
From the Hugging Face model README
Air_waves_homo_1 is an open, extensible repository scaffold for training a trillion-parameter image generation model based on latent diffusion (VAE + UNet + conditional text encoder). It is built to be trainable and finetunable by the community using DeepSpeed / FSDP and adapter/LoRA methods.
⚠️ This repository contains architecture, training code, and recipes only — no pretrained weights.
git clone https://huggingface.co/your-username/Air_waves_homo_1
cd Air_waves_homo_1
pip install -r requirements.txt
## Way of Using
2. Inference (Text to image)
from diffusers import DiffusionPipeline
import torch
pipe = DiffusionPipeline.from_pretrained("your-username/Air_waves_homo_1", torch_dtype=torch.float16)
pipe.to("cuda")
prompt = "A futuristic desert city with glowing crystal towers"
image = pipe(prompt).images[0]
image.save("sample_output.png")
## Training and finetuning
3.Finetune model
accelerate launch train.py \
--config config.json \
--dataset /content/my_custom_dataset \
--epochs 5 \
--batch_size 2 \
--lr 2e-5 \
--resume_from_checkpoint ./base_checkpoint \
--use_lora True
## Pushing model
4.Push model to hub
huggingface-cli login
git add .
git commit -m "Added fine-tuned Air_waves_homo_1"
git push
## App
5.deployment
import gradio as gr
from diffusers import DiffusionPipeline
import torch
pipe = DiffusionPipeline.from_pretrained("your-username/Air_waves_homo_1", torch_dtype=torch.float16)
pipe.to("cuda")
def generate(prompt):
return pipe(prompt).images[0]
gr.Interface(
fn=generate,
inputs="text",
outputs="image",
title="🌊 Air_waves_homo_1 - Trillion-Parameter Image Generator",
description="Enter any text prompt and generate stunning images!"
).launch()