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
Upload folder using huggingface_hub
Browse files- 100_lora.pt +3 -0
- 100_lora_config.json +1 -0
- 1_lora.pt +3 -0
- 1_lora_config.json +1 -0
100_lora.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2b12025b592152e106e822eeae7ed572cf88276b87ea5ab928ed9fb361beb6af
|
| 3 |
+
size 889305
|
100_lora_config.json
ADDED
|
@@ -0,0 +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": ["to_v", "value", "to_q", "query"], "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}}
|
1_lora.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a518fadff21a3d23851cb26266d76cedb0ac90cd99ab328642bddfaa8342eb46
|
| 3 |
+
size 884541
|
1_lora_config.json
ADDED
|
@@ -0,0 +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", "value", "to_q", "to_v"], "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}}
|