Text-to-Image
Diffusers
NeuronStableDiffusionXLPipeline
stable-diffusion
lora
template:sd-lora
Neuron
Inferentia
Run this model with HF Jobs
Run Shekswess/Canopus-Interior-Architecture-0.1-Neuron 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/Shekswess/Canopus-Interior-Architecture-0.1-Neuron. 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/Shekswess/Canopus-Interior-Architecture-0.1-Neuron 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 Shekswess/Canopus-Interior-Architecture-0.1-Neuron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Shekswess/Canopus-Interior-Architecture-0.1-Neuron 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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Shekswess/Canopus-Interior-Architecture-0.1-Neuron") prompt = "Interior room of the house with plants, a chair and candles, space to relax, soft lighting, pastel colors, style of ultrafine detail, high quality photo --ar 2:3 --v 5" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 1,379 Bytes
6735009 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | {
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/text_encoder",
"architectures": [
"CLIPTextModel"
],
"attention_dropout": 0.0,
"bos_token_id": 0,
"dropout": 0.0,
"eos_token_id": 2,
"hidden_act": "quick_gelu",
"hidden_size": 768,
"initializer_factor": 1.0,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 77,
"model_type": "clip_text_model",
"neuron": {
"auto_cast": "matmul",
"auto_cast_type": "bf16",
"compiler_type": "neuronx-cc",
"compiler_version": "2.15.128.0+56dc5a86",
"dynamic_batch_size": false,
"inline_weights_to_neff": true,
"input_names": [
"input_ids"
],
"model_type": "clip-text-model",
"optlevel": "2",
"output_attentions": false,
"output_hidden_states": false,
"output_names": [
"last_hidden_state",
"pooler_output",
"hidden_states"
],
"static_batch_size": 1,
"static_sequence_length": 77
},
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_hidden_states": true,
"pad_token_id": 1,
"projection_dim": 768,
"task": "feature-extraction",
"torch_dtype": "float16",
"torchscript": true,
"transformers_version": "4.43.2",
"vocab_size": 49408
}
|