Instructions to use AML-group10/lora-output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AML-group10/lora-output with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("segmind/tiny-sd", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("AML-group10/lora-output") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
End of training
Browse files- 10_lora_config.json +1 -1
- README.md +1 -1
10_lora_config.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"peft_config": {"task_type": null, "peft_type": "LORA", "auto_mapping": null, "peft_version": "0.19.1", "base_model_name_or_path": null, "revision": null, "inference_mode": false, "r": 4, "target_modules": ["query", "to_v", "
|
|
|
|
| 1 |
+
{"peft_config": {"task_type": null, "peft_type": "LORA", "auto_mapping": null, "peft_version": "0.19.1", "base_model_name_or_path": null, "revision": null, "inference_mode": false, "r": 4, "target_modules": ["query", "to_v", "value", "to_q"], "exclude_modules": null, "lora_alpha": 4, "lora_dropout": 0.0, "fan_in_fan_out": false, "bias": "none", "use_rslora": false, "modules_to_save": null, "init_lora_weights": true, "layers_to_transform": null, "layers_pattern": null, "rank_pattern": {}, "alpha_pattern": {}, "megatron_config": null, "megatron_core": "megatron.core", "trainable_token_indices": null, "loftq_config": {}, "eva_config": null, "corda_config": null, "lora_ga_config": null, "use_dora": false, "alora_invocation_tokens": null, "use_qalora": false, "qalora_group_size": 16, "layer_replication": null, "lora_bias": false, "target_parameters": null, "use_bdlora": null, "arrow_config": null, "ensure_weight_tying": false}}
|
README.md
CHANGED
|
@@ -12,7 +12,7 @@ inference: true
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# LoRA text2image fine-tuning - TeddyVDobreva/lora-output
|
| 15 |
-
These are LoRA adaption weights for segmind/tiny-sd. The weights were fine-tuned on the
|
| 16 |
|
| 17 |

|
| 18 |

|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# LoRA text2image fine-tuning - TeddyVDobreva/lora-output
|
| 15 |
+
These are LoRA adaption weights for segmind/tiny-sd. The weights were fine-tuned on the AML-group10/AML_project_preprocessed_dataset dataset. You can find some example images in the following.
|
| 16 |
|
| 17 |

|
| 18 |

|