Downloads · 30 days
15
26% of all-time downloads
sandner/vr-lora-physics-sd15
vr-lora-physics-sd15 is a machine learning model from sandner. 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 diffusers. The card lists the license as apache-2.0.
This repository contains a Visual Reasoning LoRA (VR-LoRA) fine-tuned on runwayml/stable-diffusion-v1-5 to predict the temporal evolution of a 3-body gravitational system.
Downloads · 30 days
15
26% of all-time downloads
All-time downloads
58
Public
Repo size
10.6 GB
Likes
0
Public
Click a slice to open those files.
.safetensors10.4 GB · 99%
From the Hugging Face model README
This repository contains a Visual Reasoning LoRA (VR-LoRA) fine-tuned on runwayml/stable-diffusion-v1-5 to predict the temporal evolution of a 3-body gravitational system.
This model is the primary output of the paper: "Visual Reasoning Transfer: Leveraging Pretrained Visual Models for Physical and Temporal Prediction" (link to paper coming soon).
The model does not generate images. Instead, it acts as a dynamics engine in latent space. When given a latent representation of a physical state (encoded as a "spatial field image"), it predicts the latent representation of the next physical state.
This LoRA was trained for 15,000 steps on a synthetic dataset of 10,000 N-body trajectories.
This LoRA is designed to be used with the evaluation script found in the main research repository. It is not intended for standard text-to-image generation.
# See the evaluate_vr_lora.py script in the main GitHub repo for a full example.
from diffusers import StableDiffusionPipeline
base_model = "runwayml/stable-diffusion-v1-5"
lora_model = "sandner/vr-lora-physics-sd15" # Replace with your repo name
pipeline = StableDiffusionPipeline.from_pretrained(base_model)
pipeline.load_lora_weights(lora_model)
pipeline.to("cuda")
# Now the `pipeline.unet` component is ready for physics simulation.
unet = pipeline.unet
# ...
The model was trained using the train_vr_lora.py script from the project repository. Key hyperparameters:
If you use this model in your research, please cite our paper (BibTeX entry coming soon).