Instructions to use Hemanth-thunder/stable_diffusion_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Hemanth-thunder/stable_diffusion_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Hemanth-thunder/stable_diffusion_lora", dtype=torch.bfloat16, device_map="cuda") prompt = "hmat" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download autotrain-advanced/docs/source/param_choice.mdx from Hemanth-thunder/stable_diffusion_lora: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/Hemanth-thunder/stable_diffusion_lora/resolve/main/autotrain-advanced/docs/source/param_choice.mdx
- Command line
-
hf download hf://Hemanth-thunder/stable_diffusion_lora/autotrain-advanced/docs/source/param_choice.mdx
-
curl -L -o param_choice.mdx https://huggingface.co/Hemanth-thunder/stable_diffusion_lora/resolve/main/autotrain-advanced/docs/source/param_choice.mdx
1.49 kB
| # Parameter Choice | |
| Just like model choice, you can choose the parameters for your job in two ways: AutoTrain and Manual. | |
| ## AutoTrain Mode | |
| In the AutoTrain mode, the parameters for your task-model pair will be chosen automagically. | |
| If you choose "AutoTrain" as model choice, you get the AutoTrain mode as the only option. | |
| If you choose "HuggingFace Hub" as model choice, you get the the option to choose between AutoTrain and Manual mode for parameter choice. | |
| An example of AutoTrain mode for a text classification task is shown below: | |
|  | |
| For most of the tasks in AutoTrain parameter selection mode, you will get "Number of Models" as the only parameter to choose. Some tasks like test-classification might ask you about the language of the dataset. | |
| The more the number of models, the better the final results might be but it might be more expensive too! | |
| ## Manual Mode | |
| Manual model can be used only when you choose "HuggingFace Hub" as model choice. In this mode, you can choose the parameters for your task-model pair manually. | |
| An example of Manual mode for a text classification task is shown below: | |
|  | |
| In the manual mode, you have to add the jobs on your own. So, carefully select your parameters, click on "Add Job" and 💥. |