Instructions to use Eddiepitt/MarketingTechAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Eddiepitt/MarketingTechAI with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Eddiepitt/MarketingTechAI") prompt = "Eddie" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse filesFiles changed (3)
- README.mdAdded+80
- config.yamlAdded+60
- lora.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980---license: otherlicense_name: flux-1-dev-non-commercial-licenselicense_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.mdlanguage:- entags:- flux- diffusers- lora- replicatebase_model: "black-forest-labs/FLUX.1-dev"pipeline_tag: text-to-image# widget:# - text: >-# prompt# output:# url: https://...instance_prompt: Eddie---
# Marketingtechai
<Gallery />
## About this LoRA
This is a [LoRA](https://replicate.com/docs/guides/working-with-loras) for the FLUX.1-dev text-to-image model. It can be used with diffusers or ComfyUI.
It was trained on [Replicate](https://replicate.com/) using AI toolkit: https://replicate.com/ostris/flux-dev-lora-trainer/train
## Trigger words
You should use `Eddie` to trigger the image generation.
## Run this LoRA with an API using Replicate
```pyimport replicate
input = { "prompt": "Eddie", "lora_weights": "https://huggingface.co/Eddiepitt/MarketingTechAI/resolve/main/lora.safetensors"}
output = replicate.run( "black-forest-labs/flux-dev-lora", input=input)for index, item in enumerate(output): with open(f"output_{index}.webp", "wb") as file: file.write(item.read())```
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
```pyfrom diffusers import AutoPipelineForText2Imageimport torch
pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.float16).to('cuda')pipeline.load_lora_weights('Eddiepitt/MarketingTechAI', weight_name='lora.safetensors')image = pipeline('Eddie').images[0]```
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
## Training details
- Steps: 2024- Learning rate: 0.0004- LoRA rank: 16
## Contribute your own examples
You can use the [community tab](https://huggingface.co/Eddiepitt/MarketingTechAI/discussions) to add images that show off what you’ve made with this LoRA.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960job: custom_jobconfig: name: flux_train_replicate process: - type: custom_sd_trainer training_folder: output device: cuda:0 trigger_word: Eddie network: type: lora linear: 16 linear_alpha: 16 save: dtype: float16 save_every: 2025 max_step_saves_to_keep: 1 datasets: - folder_path: input_images caption_ext: txt caption_dropout_rate: 0.05 shuffle_tokens: false cache_latents_to_disk: false cache_latents: true resolution: - 512 - 768 - 1024 train: batch_size: 1 steps: 2024 gradient_accumulation_steps: 1 train_unet: true train_text_encoder: false content_or_style: balanced gradient_checkpointing: false noise_scheduler: flowmatch optimizer: adamw8bit lr: 0.0004 ema_config: use_ema: true ema_decay: 0.99 dtype: bf16 model: name_or_path: FLUX.1-dev is_flux: true quantize: false sample: sampler: flowmatch sample_every: 2025 width: 1024 height: 1024 prompts: [] neg: '' seed: 42 walk_seed: true guidance_scale: 3.5 sample_steps: 28meta: name: flux_train_replicate version: '1.0'123version https://git-lfs.github.com/spec/v1oid sha256:871c9c3ed419faf3e6a0e2a8cf9a227d5595be82fbc984b4ffc8d6606672ff43size 171969416README.mdAdded+80
config.yamlAdded+60
lora.safetensorsAdded+3