Instructions to use RyanDev1st/adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use RyanDev1st/adapter with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("google/gemma-3-27b-it", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("RyanDev1st/adapter") prompt = "-" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download adapter_config.json from RyanDev1st/adapter: direct link, hf CLI and curl.
- Browser
- Download file 964 Bytes
-
https://huggingface.co/RyanDev1st/adapter/resolve/main/adapter_config.json
- Command line
-
hf download hf://RyanDev1st/adapter/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/RyanDev1st/adapter/resolve/main/adapter_config.json
964 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": null, | |
| "base_model_name_or_path": "/tmp/base_model_dir/vertex-model-garden-restricted-us/gemma3/gemma-3-27b-it", | |
| "bias": "none", | |
| "corda_config": null, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": null, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 8, | |
| "lora_bias": false, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "qalora_group_size": 16, | |
| "r": 4, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": "model.language_model.layers.[\\d]+.(mlp|cross_attn|self_attn).(up|down|gate|q|k|v|o)_proj", | |
| "target_parameters": [], | |
| "task_type": "CAUSAL_LM", | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |