Run this model with HF Jobs
Run xkronosx/train_prior_test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/xkronosx/train_prior_test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/xkronosx/train_prior_test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use xkronosx/train_prior_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xkronosx/train_prior_test with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xkronosx/train_prior_test", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Iteration 0
Browse filesFiles changed (5)
- checkpoint.tarAdded+3
- model_index.jsonAdded+12
- scheduler/scheduler_config.jsonAdded+20
- unet/config.jsonAdded+47
- unet/diffusion_pytorch_model.safetensorsAdded+3
123version https://git-lfs.github.com/spec/v1oid sha256:c5c75f135cab078a85feaa2c76b847050619065977f4e3ade289a3e0ed0e5c8bsize 127476873123456789101112{ "_class_name": "DDPMPipeline", "_diffusers_version": "0.34.0", "scheduler": [ "diffusers", "DDPMScheduler" ], "unet": [ "diffusers", "UNet2DModel" ]}1234567891011121314151617181920{ "_class_name": "DDPMScheduler", "_diffusers_version": "0.34.0", "beta_end": 0.02, "beta_schedule": "linear", "beta_start": 0.0001, "clip_sample": true, "clip_sample_range": 1.0, "dynamic_thresholding_ratio": 0.995, "frequency_slope": 1.0, "num_train_timesteps": 1000, "prediction_type": "epsilon", "rescale_betas_zero_snr": false, "sample_max_value": 1.0, "steps_offset": 0, "thresholding": false, "timestep_spacing": "leading", "trained_betas": null, "variance_type": "fixed_large"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "_class_name": "UNet2DModel", "_diffusers_version": "0.34.0", "act_fn": "silu", "add_attention": true, "attention_head_dim": 8, "attn_norm_num_groups": null, "block_out_channels": [ 32, 64, 128, 256 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "AttnDownBlock2D", "AttnDownBlock2D", "AttnDownBlock2D" ], "downsample_padding": 1, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 1, "layers_per_block": 2, "mid_block_scale_factor": 1, "mid_block_type": "UNetMidBlock2D", "norm_eps": 1e-05, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 1, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_dim": null, "time_embedding_type": "positional", "up_block_types": [ "AttnUpBlock2D", "AttnUpBlock2D", "AttnUpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:b22a513831ebbf2eabf97c8d7a60a24d8d7564eb257e97a748d2ef0a1d099860size 63608284checkpoint.tarAdded+3
model_index.jsonAdded+12
scheduler/scheduler_config.jsonAdded+20
unet/config.jsonAdded+47
unet/diffusion_pytorch_model.safetensorsAdded+3