Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
textual_inversion
Run this model with HF Jobs
Run janetsw/nem 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/janetsw/nem. 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/janetsw/nem 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 janetsw/nem with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use janetsw/nem with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1-base", dtype=torch.bfloat16, device_map="cuda") pipe.load_textual_inversion("janetsw/nem") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse filesFiles changed (16)
- README.md+8-2
- checkpoint-500/model.safetensors+1-1
- checkpoint-500/optimizer.bin+1-1
- checkpoint-500/random_states_0.pkl+2-2
- feature_extractor/preprocessor_config.json+17
- learned_embeds-steps-500.safetensors+1-1
- learned_embeds.safetensors+1-1
- logs/textual_inversion/1714290408.5770316/events.out.tfevents.1714290408.lambda-6000ada.917987.1Added+3
- logs/textual_inversion/1714290408.5781524/hparams.ymlAdded+49
- logs/textual_inversion/events.out.tfevents.1714290408.lambda-6000ada.917987.0Added+3
- model_index.json+1-1
- scheduler/scheduler_config.json+1-1
- text_encoder/config.json+1-1
- text_encoder/model.safetensors+1-1
- unet/config.json+1-1
- vae/config.json+3-1
12345678910111213---license: creativeml-openrail-mbase_model: stabilityai/stable-diffusion-2-1-basetags:- stable-diffusion- stable-diffusion-diffusers- text-to-image- diffusers- textual_inversioninference: true---12345678910111213141516171819---license: creativeml-openrail-mlibrary_name: diffuserstags:- stable-diffusion- stable-diffusion-diffusers- text-to-image- diffusers- textual_inversion- stable-diffusion- stable-diffusion-diffusers- text-to-image- diffusers- textual_inversion- diffusers-trainingbase_model: stabilityai/stable-diffusion-2-1-baseinference: true---
123version https://git-lfs.github.com/spec/v1oid sha256:862ab36e3054dd5766c2ce01191421c85a3e02b4ba6212fffc305fdd8c39e2e5size 1361600400123version https://git-lfs.github.com/spec/v1oid sha256:16dfdba66dd57ac7e54ea3be11256e6b49dfc176c553c2c0cd207f6317f21a41size 1361600400
123version https://git-lfs.github.com/spec/v1oid sha256:dc90f48ef26453aa28d40c222325d505be6cbbb2d6c35f959bcf2d14bf575f24size 404760546123version https://git-lfs.github.com/spec/v1oid sha256:a8c8f8e76108442fb1918f033f57ce44612e3c1137ea91a5e627073d3c9f4c77size 404760546
123version https://git-lfs.github.com/spec/v1oid sha256:f8815b4980abd3fda2d8cadc39928a8bc599e292d74953d55f00ee9e9d5bd9dbsize 14344123version https://git-lfs.github.com/spec/v1oid sha256:5bbd53bcb6e35b46492974291b73c6b9e9b746925cb2c9fb6380137e23f82683size 14472
1234{"crop_size": {"height": 224,"width": 224123456789101112131415161718192021{"_valid_processor_keys": ["images","do_resize","size","resample","do_center_crop","crop_size","do_rescale","rescale_factor","do_normalize","image_mean","image_std","do_convert_rgb","return_tensors","data_format","input_data_format"],"crop_size": {"height": 224,"width": 224
123version https://git-lfs.github.com/spec/v1oid sha256:14b508f8b4afd5c51a7c7fc614f3f72b54f8c703a4eb56ba5e10430940dc1896size 4208123version https://git-lfs.github.com/spec/v1oid sha256:c86252a1f409c4563abb26b26e59e31d14a33aacf6a221736d7f87904b5b8b63size 4208
123version https://git-lfs.github.com/spec/v1oid sha256:14b508f8b4afd5c51a7c7fc614f3f72b54f8c703a4eb56ba5e10430940dc1896size 4208123version https://git-lfs.github.com/spec/v1oid sha256:c86252a1f409c4563abb26b26e59e31d14a33aacf6a221736d7f87904b5b8b63size 4208
123version https://git-lfs.github.com/spec/v1oid sha256:42592f7eff3bc37860279f397b2df3d91d8fb32a06b0230a8134a65665b709e3size 246612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1.0e-08adam_weight_decay: 0.01allow_tf32: falsecenter_crop: falsecheckpointing_steps: 500checkpoints_total_limit: nulldataloader_num_workers: 0enable_xformers_memory_efficient_attention: falsegradient_accumulation_steps: 4gradient_checkpointing: falsehub_model_id: nullhub_token: nullinitializer_token: skinlearnable_property: objectlearning_rate: 0.008local_rank: -1logging_dir: logslr_num_cycles: 1lr_scheduler: constantlr_warmup_steps: 0max_train_steps: 500mixed_precision: fp16no_safe_serialization: falsenum_train_epochs: 7num_validation_images: 4num_vectors: 1output_dir: /media/janet/long_tail/weights/ti/nemplaceholder_token: <nem-class>pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1-basepush_to_hub: truerepeats: 5report_to: tensorboardresolution: 512resume_from_checkpoint: nullrevision: nullsave_as_full_pipeline: falsesave_steps: 500scale_lr: trueseed: nullsplit_path: /media/janet/long_tail/splits/train_split_temp.csvtokenizer_name: nulltrain_batch_size: 4train_data_dir: /media/janet/long_tail/finalfitz17k/validation_epochs: nullvalidation_prompt: nullvalidation_steps: 100variant: null123version https://git-lfs.github.com/spec/v1oid sha256:c27f88d1b15b17acd3594c444fcd62ebd54907ea9b42a7646737decf8a31ed1asize 166552123456{"_class_name": "StableDiffusionPipeline","_diffusers_version": "0.27.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","feature_extractor": ["transformers",123456{"_class_name": "StableDiffusionPipeline","_diffusers_version": "0.28.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","feature_extractor": ["transformers",
123456{"_class_name": "PNDMScheduler","_diffusers_version": "0.27.0.dev0","beta_end": 0.012,"beta_schedule": "scaled_linear","beta_start": 0.00085,123456{"_class_name": "PNDMScheduler","_diffusers_version": "0.28.0.dev0","beta_end": 0.012,"beta_schedule": "scaled_linear","beta_start": 0.00085,
19 unmodified lines20212223242519 unmodified lines"pad_token_id": 1,"projection_dim": 512,"torch_dtype": "float32","transformers_version": "4.37.2","vocab_size": 49409}19 unmodified lines20212223242519 unmodified lines"pad_token_id": 1,"projection_dim": 512,"torch_dtype": "float32","transformers_version": "4.39.3","vocab_size": 49409}
123version https://git-lfs.github.com/spec/v1oid sha256:862ab36e3054dd5766c2ce01191421c85a3e02b4ba6212fffc305fdd8c39e2e5size 1361600400123version https://git-lfs.github.com/spec/v1oid sha256:16dfdba66dd57ac7e54ea3be11256e6b49dfc176c553c2c0cd207f6317f21a41size 1361600400
123456{"_class_name": "UNet2DConditionModel","_diffusers_version": "0.27.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","act_fn": "silu","addition_embed_type": null,123456{"_class_name": "UNet2DConditionModel","_diffusers_version": "0.28.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","act_fn": "silu","addition_embed_type": null,
12345611 unmodified lines181920212223{"_class_name": "AutoencoderKL","_diffusers_version": "0.27.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","act_fn": "silu","block_out_channels": [11 unmodified lines"force_upcast": true,"in_channels": 3,"latent_channels": 4,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,12345611 unmodified lines1819202122232425{"_class_name": "AutoencoderKL","_diffusers_version": "0.28.0.dev0","_name_or_path": "stabilityai/stable-diffusion-2-1-base","act_fn": "silu","block_out_channels": [11 unmodified lines"force_upcast": true,"in_channels": 3,"latent_channels": 4,"latents_mean": null,"latents_std": null,"layers_per_block": 2,"norm_num_groups": 32,"out_channels": 3,
README.md+8-2
checkpoint-500/model.safetensors+1-1
checkpoint-500/optimizer.bin+1-1
checkpoint-500/random_states_0.pkl+2-2
feature_extractor/preprocessor_config.json+17
learned_embeds-steps-500.safetensors+1-1
learned_embeds.safetensors+1-1
logs/textual_inversion/1714290408.5770316/events.out.tfevents.1714290408.lambda-6000ada.917987.1Added+3
logs/textual_inversion/1714290408.5781524/hparams.ymlAdded+49
logs/textual_inversion/events.out.tfevents.1714290408.lambda-6000ada.917987.0Added+3
model_index.json+1-1
scheduler/scheduler_config.json+1-1
text_encoder/config.json+1-1
text_encoder/model.safetensors+1-1
unet/config.json+1-1
vae/config.json+3-1